Library

Introduction

Through the endpoints included in the Library section, you will be able to:

  • Retrieve all the available images from the library

  • Retrieve an image from the library

  • Add an image to the library

Endpoints

Show library

get

This API endpoint retrieves a list of all images from your library

Authorizations
AuthorizationstringRequired
Responses
200

OK

application/json
get
/library

Show an image from the library

get

This API endpoint retrieves an images from your library

Authorizations
AuthorizationstringRequired
Path parameters
imagestringRequired

The ID of the image.

Responses
200

OK

application/json
get
/library/{image}

Post a new image to the library

post

This API endpoint allows you to upload a new image to your library

Authorizations
AuthorizationstringRequired
Header parameters
Acceptstring · enumRequired

Media type(s) that is/are acceptable for the response

Default: application/jsonPossible values:
Body
file_namestringRequired
urlstringRequired
Responses
200

OK

application/json
post
/library

Last updated