Public API
Media library
1 endpoint.
GET
/api/v1/public/media_libraryGet the business media library (good photos, best-first)
The business's best good photos with CDN URLs, dimensions, alt, hero-grade flag, and the website_photos slot each already fills (if any). Quality-filtered, best-first, capped at ``limit`` (default 60) — a creative palette for the whole site; consumers curate further per context (e.g. the gallery renders fewer).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | default 60 |
X-API-Key | header | string | null |
Responses
200Successful Responseapplication/jsonSuccessResponse_PublicMediaLibrary_| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request_idrequired | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
success | true | default true | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
datarequired | PublicMediaLibrary | PublicMediaLibrary fields
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metadata | ResponseMetadata | null | ResponseMetadata fields
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
meta | ResponseMeta | null | ResponseMeta fields
|
400Bad request401Unauthorized403Forbidden404Not found422Validation error500Internal server error503Service unavailable
Error bodies: ErrorResponse. See Errors.