OpenFolia

Read the changelog

GET
/changelog

Releases, newest first, withdrawn ones too (marked, with the reason, in attributes.withdrawal), each with its notes and, in meta.changedManuals, how many manuals it changed as you see them (its changes: GET /releases/{releaseId}/changes). Filtered by manual or language, it lists the releases that changed it as you see them, filtered before paging, so neither the list nor the total tells of a manual outside your scope; that is worked out from Git, so only the 200 newest releases matching the other filters are looked through then (meta.truncated when there were more). Needs the content.read 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.

Query Parameters

filter[product]?string

Only releases of this product (a value of the product facet).

Match^[a-z][a-z0-9-]*$
Lengthlength <= 64
filter[manual]?string

Only releases that changed this manual (by ID), as you see it.

Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Lengthlength <= 100
filter[lang]?string

Only releases that changed a manual in this language (a language tag), as you see it.

Match^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$
filter[major]?string

true: only major releases; false: only the others. Left out: all.

Value in"true""false"
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

Response Body

application/vnd.api+json
  1. response
data*array<>
meta*
links*
Example Request
curl -X GET 'http://localhost:3000/changelog'
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": {        "changedManuals": -9007199254740991      }    }  ],  "meta": {    "page": {      "currentPage": -9007199254740991,      "lastPage": -9007199254740991,      "perPage": -9007199254740991,      "total": -9007199254740991    },    "truncated": true  },  "links": {    "self": "string",    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  }}