List releases
Releases, newest first, withdrawn ones too (attributes.withdrawal): each a product revision tagged on the whole of main at one commit. Read the content as released with ?ref=<attributes.tag>. Releases are released content, so every reader may list them; what a reader sees at a tag is limited to their scope. Each release’s meta.outputs says where its files stand, as GET /releases/{releaseId} does (but with queue always null: what waits ahead of a release is counted for its own read only), so a list shows them without a read per release. Needs the content.read permission.
bearerAuthorizationBearer <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.
filter[product]?stringOnly releases of this product (a value of the product facet).
^[a-z][a-z0-9-]*$length <= 64filter[major]?stringtrue: only major releases; false: only the others. Left out: all.
"true""false"filter[state]?stringwithdrawn: only withdrawn releases; published: only those that stand. Left out: all.
"published""withdrawn"page[number]?integerPage to return, from 1. Default: 1.
1 <= valuepage[size]?integerResources per page. Default: 50, at most 200.
1 <= value <= 200application/vnd.api+json- response
data*array<>meta*links*curl -X GET 'http://localhost:3000/releases'{ "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 } } } } ], "meta": { "page": { "currentPage": -9007199254740991, "lastPage": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 } }, "links": { "self": "string", "first": "string", "last": "string", "prev": "string", "next": "string" }}