Delivery API (Clients) Site & Discovery
Get public site metadata
/delivery/v1/site Returns the read-only public projection of the default site (slug, name, baseUrl, defaultLocale, locales). Cached with ETag and Surrogate-Key headers.
Authentication
- Bearer token
BearerApiKeyoptionalOptional scoped API key (
Authorization: Bearer ocms_...) withdelivery:readscope. Required only whenOVERTCMS_DELIVERY_REQUIRE_API_KEY=true.
Headers
-
If-None-MatchstringConditional GET validator matching a previously receivedETag. Returns304 Not Modifiedwhen unchanged.
Responses
-
200 Public site metadata.
application/json
-
baseUrlstring, uri requiredExample https://example.com
-
defaultLocalestring requiredExample en
-
localesarray of string required -
namestring requiredExample OvertCMS Docs Blog
-
slugstring requiredExample default
-
-
304 Not Modified — client cached ETag matches the current response.
-
401 Missing or invalid Delivery API key when OVERTCMS_DELIVERY_REQUIRE_API_KEY=true.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-
-
403 API key lacks delivery:read scope or site access.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-