List locations
Lists the gallery's managed locations with cursor pagination. Filter by `q` (name/address/notes substring), `kind`, `parent_id` (direct children of a location), or `is_active`.
Lists the gallery's managed locations with cursor pagination. Filter by q (name/address/notes substring), kind, parent_id (direct children of a location), or is_active.
Authorization
bearerAuth locations:readA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: locations:read
Query Parameters
Page size. Defaults to 20; the maximum is 100.
1 <= value <= 10020Opaque cursor from the previous page's next_cursor. Omit for the first page.
Free-text search over the resource's searchable fields.
length <= 200Filter to the given kind; the schema's enum lists the values.
1 <= items <= 13Filter to the given parent id.
Filter by active state.
Filter to the given tag id.
1 <= items <= 10Sort by one of: name, created, updated (default created).
Value in
- "name"
- "created"
- "updated"
Sort direction (default desc).
Value in
- "asc"
- "desc"
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "data": [ { "id": "string", "name": "string", "kind": "gallery", "parent_id": "string", "contact_id": "string", "address": "string", "notes": "string", "is_active": true, "metadata": { "property1": "string", "property2": "string" }, "created_at": "string", "updated_at": "string" } ], "next_cursor": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}