Skip to main content
GET
/
services
/
{serviceId}
/
photos
List photos for a service
curl --request GET \
  --url https://api.guile.app/services/{serviceId}/photos \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "photo": {
        "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>"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "sortOrder": 1
    }
  ],
  "count": 1
}

Path Parameters

serviceId
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Response

Ok. The operation succeeded.

A list of photo assignments.

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