OpenFolia

List the releases of a maintenance line

GET
/maintenance-lines/{maintenanceLineId}/releases

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.

Authorization

bearer
headerAuthorizationBearer <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.

Path Parameters

maintenanceLineId*string

The maintenance line’s ID (a UUID). One that names no line, malformed or not, is 404.

Formatuuid

Query Parameters

page[number]?integer

Page to return, from 1. Default: 1.

Range1 <= value
page[size]?integer

Resources per page. Default: 50, at most 200.

Range1 <= value <= 200

Header Parameters

X-Ccms-User?string

Demo 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).

Response Body

application/vnd.api+json
  1. response
data*array<>
meta*
links*
Example Request
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"  }}