OpenFolia

List what a release changed

GET
/releases/{releaseId}/changes

The changelog of one release: one ReleaseChange per manual and language that changed (a release holds the whole repository, so every manual counts) since the product’s previous release that is not withdrawn (by when it was cut; for a release of a maintenance line, the line’s previous one, else its base release; for one of main, never a line’s), each with the modules it names that changed in that language (added, changed, removed, with their blocks by ID). A product’s first release lists every manual as added. Derived from Git, never stored. Both releases are read as you may read them: a manual or module outside your scope is not there, exactly like a missing one, so it is neither listed nor counted. Ordered by manual ID, then language. A pair of releases too large to compare (more than the files a review reads, counted over the whole repository) is 422 too-many-changes for every reader. 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.

Path Parameters

releaseId*string

The release’s ID (a UUID). One that names no release, 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

Response Body

application/vnd.api+json
  1. response
data*array<>
meta*
links*
Example Request
curl -X GET 'http://localhost:3000/releases/497f6eca-6276-4993-bfeb-53cbbbba6f08/changes'
Example Response
{  "data": [    {      "type": "ReleaseChange",      "id": "string",      "attributes": {        "manual": "string",        "lang": "string"      },      "meta": {        "change": "added",        "fields": [          "string"        ],        "modules": [          {            "moduleId": "string",            "change": "added",            "fields": [              "string"            ],            "blocks": [              {                "blockId": "string",                "change": "added"              }            ]          }        ]      }    }  ],  "meta": {    "page": {      "currentPage": -9007199254740991,      "lastPage": -9007199254740991,      "perPage": -9007199254740991,      "total": -9007199254740991    },    "previous": {      "id": "string",      "revision": "string",      "tag": "string",      "commit": "string"    }  },  "links": {    "self": "string",    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  }}