List Newsroom Galleries
List accessible newsroom galleries and inspect pagination.
Personal token scopes: sites:read. Your account must also have access to the requested data. Authentication
Sorting
Supported sort-order:
idtitlestatuscreated_atupdated_at
See Ordering Resullts for details.
Filters
Supported filters are:
statusimages_number
Personal access tokens: sites:read. Every listed scope is required; the token owner's permissions, feature availability and newsroom access still apply.
API_keyAuthorizationBearer <token>Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.
newsroom_id*stringNewsroom UUID or ID
1 <= lengthquery?stringA JSON-formatted string of a Prezly Query Language object for filtering items
offset?integerNumber of records to skip (for pagination)
limit?integerNumber of records to fetch
1 <= value <= 100020sort?stringSee Ordering Results
[-+]?(\w+\.)*\w+scope?stringJSON Query
OK
application/json- response
galleries*array<>pagination*sort*Sort OrderSort order to return records in.
[+-]?(\w+\.)*\w+curl -X GET 'https://api.prezly.com/v2/newsrooms/string/galleries'{ "galleries": [ { "id": 0, "uuid": "string", "title": "string", "status": "private", "created_at": "string", "updated_at": "string", "uploadcare_group_uuid": "string", "content": "string", "images_number": 0, "images": [ { "id": 0, "caption": "string", "created_at": "string", "updated_at": "string", "uploadcare_image": { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "version": 0, "filename": "string", "mime_type": "string", "size": 0, "original_width": 0, "original_height": 0, "effects": [ "string" ] } } ], "name": "string", "thumbnail_image": "string", "description": "string", "url": "string", "modified_at": "string", "creator": { "id": 0, "email": "http://example.com", "name": "string", "display_name": "string", "first_name": "string", "last_name": "string", "avatar_url": "http://example.com" }, "type": "image", "videos_number": 0, "is_demo": true, "size": 0 } ], "pagination": { "offset": 0, "limit": 0, "matched_records_number": 0, "total_records_number": 0 }, "sort": "+display_name"}