List the releases of a maintenance line
GET
The releases cut from the line’s branch (POST /releases with maintenanceLine), newest first; its base release is relationships.baseRelease, not one of them. Needs the content.read.draft 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.
maintenanceLineId*stringThe maintenance line’s ID (a UUID). One that names no line, malformed or not, is 404.
Format
uuidpage[number]?integerPage to return, from 1. Default: 1.
Range
1 <= valuepage[size]?integerResources per page. Default: 50, at most 200.
Range
1 <= value <= 200X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
application/vnd.api+json- response
data*array<>meta*links*curl -X GET 'http://localhost:3000/maintenance-lines/497f6eca-6276-4993-bfeb-53cbbbba6f08/releases'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": { "page": { "currentPage": -9007199254740991, "lastPage": -9007199254740991, "perPage": -9007199254740991, "total": -9007199254740991 } }, "links": { "self": "string", "first": "string", "last": "string", "prev": "string", "next": "string" }}