Skip to main content
GET
/
photos
List photos
curl --request GET \
  --url https://api.guile.app/photos \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "contentType": "image/gif",
      "binarySize": 123,
      "dimensions": {
        "width": 2,
        "height": 2
      },
      "url": "<string>",
      "state": "uploaded",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "thumbnail_URL": "<string>"
    }
  ],
  "count": 1
}

Query Parameters

state
enum<string>[]

Filter photos by state. When included, returns only photos with any of these states. When excluded, returns photos in all states.

The state of an uploaded photo.

Available options:
uploaded,
inReview,
approved,
rejected

Response

Ok. The operation succeeded.

A list of photos.

items
object[]
required
count
integer<int16>
required
Required range: x >= 0