Skip to content

Get the delivered schema bundle

GET
/content/delivery/v1/schemas
curl --request GET \
--url https://api.ebitex.io/content/delivery/v1/schemas \
--header 'Authorization: Bearer <token>'

One JSON Schema (draft 2020-12) document describing what delivery returns for every contract published in the key’s environment, keyed {contractId}@{version} under $defs. It describes the published shape, not the one being edited, and $refs only resolve inside the same document.

content-sdk-codegen from @ebitex/content-sdk turns it into TypeScript types for your own content model. The bundle describes server-resolved responses, as a request with ctx gets them.

Key: a delivery key (content.delivery.read).

OK

missing_api_key or invalid_api_key: no key was sent, or it is unknown, revoked or expired.

scope_denied: the key lacks this route’s scope. origin_denied or ip_denied: a browser-safe key was used from an origin or address outside its restrictions. app_not_available: Content is not enabled for the organization.

Quota exceeded; Retry-After says how long to wait. too_many_failed_authentications: too many bad keys from this address.