content
List entries of a collection
Entries with their title, draft flag, hash and where they appear on the site.
GET/v1/sites/{site_id}/content/{collection}
Requires sites:read. collection is a name from the content model, for example blog.
Authorizations
Authorizationbearerin headerrequired
Path parameters
site_idstringrequired
The site's id, or its slug (the address before .atelier201.page).
List entries of a collection
dataobjectrequired
Show child attributes
data.collectionstringrequired
data.revisionstring | nullrequired
data.countsobjectrequired
How many entries, and how many are drafts (hidden from visitors).
Show child attributes
data.counts.totalintegerrequiredrange: -9007199254740991–9007199254740991
data.counts.publishedintegerrequiredrange: -9007199254740991–9007199254740991
data.counts.draftintegerrequiredrange: -9007199254740991–9007199254740991
data.entriesobject[]required
Show child attributes
data.entries.slugstringrequired
data.entries.pathstringrequired
data.entries.titlestringrequired
data.entries.draftbooleanrequired
data.entries.hashstringrequired
data.entries.preview_pathstringnullrequired
Possible codes: invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: insufficient_credits
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: insufficient_scope, feature_not_available, admin_required
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: resource_not_found
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: conflict, result_not_ready, idempotency_key_reused
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: result_expired
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: request_too_large
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: request_too_large_for_plan
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: rate_limited
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: internal_error
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>
Possible codes: service_unavailable
errorobjectrequired
Show child attributes
error.messagestringrequired
error.docs_urlstringrequired
error.action_urlstring<uri>
error.detailsRecord<string, object>