Skip to main content

Checkpoints - List checkpoints

Route URL

GET https://playcanvas.com/api/branches/:branchId/checkpoints

Description

Get a list of checkpoints for a branch, sorted by newest first.

Example

curl -H "Authorization: Bearer {accessToken}" "https://playcanvas.com/api/branches/{branchId}/checkpoints"

HTTP Request

GET https://playcanvas.com/api/branches/{branchId}/checkpoints
Authorization: Bearer {accessToken}

Parameters

NameTypeRequiredDescription
branchIdstring✔️The id of the branch.
limitnumberThe maximum number of checkpoints to return. Cannot exceed 50.
skipstringA checkpoint id. The result will only contain checkpoints that were created before this checkpoint.

Response Schema

Status: 200
{
"result": [{
"id": string,
"user": {
"id": int,
"fullName": string,
"username": string
},
"createdAt": date,
"description": string
}, ...],
"pagination": {
"hasMore": bool
}
}

This endpoint uses a slightly different pagination method. If a response contains the value hasMore: true then additional results are available. Use the skip query parameter with the id of the last received checkpoint to receive more results.

Errors

CodeDescription
401Unauthorized
403Forbidden
404Branch not found
429Too many requests

Rate Limiting

This route uses a normal rate limit.