API ReferenceContext Repository
Get a kit's changelog
Returns what changed in a kit over its history, including changes to the assets it holds: a summary with one entry per kit version, and the revisions behind it, newest first.
GET /context/v1/kits/{kit_id}/changelog
Returns what changed in a kit over its history, including changes to the assets it holds: a summary with one entry per kit version, and the revisions behind it, newest first.
Requires the context:read scope.
Parameters
| Parameter | Location | Required | Description |
|---|---|---|---|
kit_id | path | yes | The kit's id. |
Responses
| Status | Meaning |
|---|---|
200 | The request succeeded. |
401 | The token is missing, expired or invalid. |
403 | The token does not carry the scope this operation requires. |
404 | No such project, or the token belongs to a different project. |
422 | The request was not valid: a parameter or the body failed validation. |
The 200 response body:
| Field | Type | Required | Description |
|---|---|---|---|
journal | array of object | yes | The revisions behind the summary, newest first. |
kit_id | string | yes | The kit's id. |
summary | array of object | yes | One entry per kit version, newest first, saying what changed in it. |
Example
curl -sS "$API_URL/context/v1/kits/$KIT_ID/changelog" \
-H "Authorization: Bearer $TOKEN"