OpenFolia

Read the change feed

GET
/changes

Releases, withdrawals and deprecations (of modules and of manuals) in the order they happened, as events: the webhook events (the same shapes and idempotency keys), and per release the chunks (GET /chunks) to store (chunk.upserted) and to drop (chunk.removed), so a retrieval index stays in sync. Cursor-paged: no event is skipped or told twice across pages, whatever is released meanwhile. Scoped to what you may read now: when your scope narrows, the chunks you may no longer read come as chunk.removed, to you only; nothing names what you never could read. Needs the content.read permission and the instance secret key (else 404 not-configured).

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

page[cursor]?string

Where to go on: meta.page.cursor of the page before. Left out: start with a snapshot of every chunk you may read at the release standing now, then the changes after it. A cursor that can no longer be read (the server’s secret key changed, it was issued to someone else) is a 400 cursor-expired: start again without one. A cursor standing on content gone from the repository is a 410 cursor-gone: resync.

Match^[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]+)*$
Lengthlength <= 4096
page[size]?integer

The most events to answer. 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/changes'
Example Response
{  "data": [    {      "type": "Change",      "id": "string",      "attributes": {        "event": "manual.released",        "occurredAt": "string",        "data": {          "property1": null,          "property2": null        }      }    }  ],  "meta": {    "page": {      "size": -9007199254740991,      "cursor": "string"    },    "upToDate": true  },  "links": {    "self": "string",    "next": "string"  }}