changesets
Abandon a changeset
Discards what was staged. The site does not change.
POST/v1/sites/{site_id}/changesets/{changeset_id}/abandon
Authorizations
Authorizationbearerin headerrequired
Path parameters
site_idstringrequired
The site's id, or its slug (the address before .atelier201.page).
changeset_idstringrequired
dataobjectrequired
Show child attributes
data.stateenum<string>requiredone of: committed, abandoned
data.revisionstring | null
data.changesobject[]
Show child attributes
data.changes.pathstringrequired
data.changes.actionstringrequired
data.buildobject | null
The build this change started (or joined): the preview follows it. No build_site call needed.
Show child attributes
data.build.idstringrequired
data.build.statestringrequired
data.build.next_actionstringrequired
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>