The site's collections (blog, services, team…) and singletons (business details, theme, navigation), each with its JSON Schema. Read this before writing content: every write is validated against it.
Requires sites:read. Read this before you write content: every write is validated against it.
The model comes from the latest build, so a site must have been built once. See Content model and media.
Authorizations
Authorizationbearerin headerrequired
Path parameters
site_idstringrequired
The site's id, or its slug (the address before .atelier201.page).
Response
application/json
Read the content model
dataobjectrequired
Show child attributes
data.versionnumberrequired
data.build_idstringrequired
data.revisionstringrequiredlength: 40–40 chars
A Git commit id (40 hex characters) of the site's repository.
data.draft_revisionstring | nullrequired
The draft's revision now. It differs from revision once content was saved since that build, which is fine.
data.stalebooleanrequired
True when the files the model is built from changed since this build: writes are then refused (stale_content_model) until the draft is built. Agents never see it true: the call waits for that build.