チェックポイント - 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 | 説明 |
|---|---|---|---|
branchId | string | ✔️ | The id of the branch. |
limit | number | The maximum number of checkpoints to return. Cannot exceed 50. | |
skip | string | A 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 クエリパラメーターを使用して、さらに結果を取得できます。
エラー
| コード | 説明 |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Branch not found |
| 429 | Too many requests |
レート制限
このルートは通常のレート制限を使用します。