publishing
List publications
Every publish, rollback and unpublish, newest first, with the current generation.
GET/v1/sites/{site_id}/publications
Requires sites:read. kind is publish, rollback or unpublish. The generation of the list is the value to send as expected_generation.
Authorizations
Authorizationbearerin headerrequired
Path parameters
site_idstringrequired
The site's id, or its slug (the address before .atelier201.page).
dataobjectrequired
Show child attributes
data.publicationsobject[]required
Show child attributes
data.publications.idstringrequired
data.publications.generationintegerrequiredrange: -9007199254740991–9007199254740991
data.publications.kindenum<string>requiredone of: publish, rollback, unpublish
data.publications.build_idstringnullrequired
data.publications.previous_build_idstringnullrequired
data.publications.authorstringrequired
data.publications.created_atstringrequired
data.generationintegerrequiredrange: -9007199254740991–9007199254740991
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>