List criterion versions
GET/v5/rubrics/{rubric_id}/criteria/{rubric_criteria_id}/versions
List the full version history of a single criterion, paginated.
Because criterion updates are append-only, this returns one entry per version, exposing every prior state of the criterion, ordered by version descending (newest first) by default. The request is rejected if the criterion does not belong to the rubric named in the path.
Query Parameters
List criterion versions
curl https://api.egp.scale.com/v5/rubrics/$RUBRIC_ID/criteria/$RUBRIC_CRITERIA_ID/versions \
-H "x-api-key: $SGP_API_KEY"{
"has_more": true,
"items": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"rubric_id": "rubric_id",
"title": "title",
"version": 0,
"annotations": {
"foo": "bar"
},
"object": "rubric_criteria",
"weight": 0
}
],
"total": 0,
"limit": 0,
"object": "list"
}Returns Examples
{
"has_more": true,
"items": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"rubric_id": "rubric_id",
"title": "title",
"version": 0,
"annotations": {
"foo": "bar"
},
"object": "rubric_criteria",
"weight": 0
}
],
"total": 0,
"limit": 0,
"object": "list"
}