Skip to main content
GET
/
gallery
/
artist
/
{artistId}
/
paginated
Get Artist Gallery Photos (Paginated)
curl --request GET \
  --url http://localhost:3000/api/gallery/artist/{artistId}/paginated
{
  "photos": [
    {
      "id": "<string>",
      "artistId": "<string>",
      "artistName": "<string>",
      "url": "<string>",
      "source": "instagram",
      "order": 123,
      "uploadedAt": 123,
      "isVisible": true,
      "artistUsername": "<string>",
      "thumbnailUrl": "<string>",
      "sourceData": {
        "instagramId": "<string>",
        "permalink": "<string>",
        "caption": "<string>",
        "mediaType": "IMAGE",
        "urlRefreshedAt": 123,
        "originalFileName": "<string>",
        "fileSize": 123,
        "storageRef": "<string>",
        "originalUrl": "<string>"
      },
      "tags": [
        "<string>"
      ]
    }
  ],
  "hasMore": true,
  "total": 123,
  "nextCursor": "<string>"
}

Path Parameters

artistId
string
required

The ID of the artist

Query Parameters

limit
integer

Number of photos per page

Required range: 1 <= x <= 50
cursor
string

Pagination cursor

Response

200 - application/json

Gallery photos retrieved successfully

photos
object[]
required

Array of gallery photos

hasMore
boolean
required

Whether there are more photos available

total
number
required

Total number of photos in the current page

nextCursor
string

Cursor for fetching the next page