メインコンテンツまでスキップ

チェックポイント - List checkpoints

ルートURL

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

説明

ブランチのチェックポイントのリストを新しい順に取得します。

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

HTTP リクエスト

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

パラメーター

名前タイプRequired説明
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.

レスポンススキーマ

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

このエンドポイントは、若干異なるページネーション方法を使用しています。レスポンスが hasMore: true の場合、追加の結果が利用可能です。最後に受信したチェックポイントのIDとともに skip クエリパラメーターを使用して、さらに結果を取得できます。

エラー

コード説明
401Unauthorized
403Forbidden
404Branch not found
429Too many requests

レート制限

このルートは通常のレート制限を使用します。