Coelevate Documentation
API ReferenceContext Repository

Get a kit's journal

Returns every change to the kit itself, oldest first: the version it made, who made it, whether that was a person or an automation, and what changed.

GET /context/v1/kits/{kit_id}/journal

Returns every change to the kit itself, oldest first: the version it made, who made it, whether that was a person or an automation, and what changed. Unlike the changelog it does not include changes to the assets the kit holds.

Requires the context:read scope.

Parameters

ParameterLocationRequiredDescription
kit_idpathyesThe kit's id.

Responses

StatusMeaning
200The request succeeded.
401The token is missing, expired or invalid.
403The token does not carry the scope this operation requires.
404No such project, or the token belongs to a different project.
422The request was not valid: a parameter or the body failed validation.

The 200 response body:

FieldTypeRequiredDescription
journalarray of KitJournalRecordyesEvery change to the kit.
kit_idstringyesThe kit's id.

Shapes

The named shapes used above.

KitJournalRecord

One change to a kit.

FieldTypeRequiredDescription
actor_kindstringyesperson or automation.
authorstringyesWho made it.
change_kindstringyesWhat kind of change it was.
rationalestringyesWhy, when the author said.
refsarray of stringyesThe assets the change added or removed.
summarystringyesWhat changed, in a line.
timestampstringyesWhen it happened.
versionintegeryesThe version the change made.

Example

curl -sS "$API_URL/context/v1/kits/$KIT_ID/journal" \
  -H "Authorization: Bearer $TOKEN"