Read a release
GET
One release: its product, revision, tag, commit, notes, whether it is major, who cut it and when, and its withdrawal (who, when, why) once withdrawn; meta.outputs says where its files stand (still being planned, rendering, done or failed, with counts of those you may read), for a client to show progress and poll while they are under way. Needs the content.read permission.
bearerheader
AuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
releaseId*stringThe release’s ID (a UUID). One that names no release, malformed or not, is 404.
Format
uuidapplication/vnd.api+json- response
data*curl -X GET 'http://localhost:3000/releases/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "data": { "type": "Release", "id": "string", "attributes": { "product": "string", "productFacet": "string", "revision": "string", "tag": "string", "tagObject": "string", "commit": "string", "notes": "string", "notesByLanguage": { "property1": "string", "property2": "string" }, "major": true, "publishedBy": { "kind": "user", "id": "string" }, "publishedAt": "2019-08-24T14:15:22Z", "withdrawal": { "by": { "kind": "user", "id": "string" }, "at": "2019-08-24T14:15:22Z", "reason": "string" } }, "meta": { "outputs": { "state": "planning", "total": 0, "queued": 0, "rendering": 0, "done": 0, "failed": 0, "refused": { "reason": "too-many-outputs", "wanted": 0, "max": 0 }, "queue": { "ahead": 0, "releases": 0 } } } }}