API referenceLibrary
Get Theme Readiness
Whether the theme is ready: its newest validation record for the
target profile at min_validator_version or later, held against the
theme's current content hash. A record is versioned and stored outside
the theme's content, so any edit to the theme makes it stale. A theme
in another project is a 404. Requires the read scope.
Authorization
apiKey AuthorizationBearer <token>
First-party API key (sbk_live_…), presented as a Bearer token.
In: header
Path Parameters
theme_id*Theme Id
Format
uuidQuery Parameters
target_profile?Target Profile
The target profile the theme must be ready for.
Length
1 <= length <= 64Default
"default"min_validator_version?Min Validator Version
The validator version the caller requires: a record of an earlier version never satisfies, however unchanged the content.
Range
1 <= valueDefault
1Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/themes/497f6eca-6276-4993-bfeb-53cbbbba6f08/readiness"{ "status": "satisfied", "current_digest": "string", "record": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8", "content_digest": "string", "target_profile": "string", "validator_version": 0, "checks": [ "string" ], "verdict": "ready", "findings": [ { "code": "string", "message": "string", "severity": "required", "source": "library" } ], "created_at": "2019-08-24T14:15:22Z" }}