Get Gallery
Get a gallery with its media items.
Read this detail before editing the gallery so that existing fields and relationships can be preserved.
Behaviour
The localized name, description and item captions are translated to lang; omit lang to get the full { language: text } maps instead — the items upsert stores an item exactly as sent, so editing one caption language means sending the others back with it.
Requires the galleries:read scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Gallery identifier (GALL-).
GALL-123e4567-e89b-12d3-a456-426614174000Pattern: ^GALL-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Language code to translate localized fields to (falls back if unavailable).
enSuccessful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
Resource not found.
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
GET /v1/galleries/{galleryId} HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"galleryId": "GALL-123e4567-e89b-12d3-a456-426614174000",
"name": "Chair",
"numberOfItems": 1,
"createdAt": "text",
"modifiedAt": "text",
"description": "Chair",
"numColumns": "text",
"items": [
{
"id": "text",
"mediaType": "IMAGE",
"mediaSource": "CUSTOM",
"caption": "Chair",
"fileId": "text",
"filePath": "text",
"url": "text",
"loop": true,
"autoplay": true
}
]
}
}Last updated
Was this helpful?