User Manual

Scenes - List scenes

ルートURL

GET https://playcanvas.com/api/projects/:projectId/scenes?branchId=:branchId

説明

プロジェクトのすべてのシーンのリストを取得します。

curl -H "Authorization: Bearer {accessToken}" "https://playcanvas.com/api/projects/{projectId}/scenes?branchId={branchId}"

HTTP Request

GET https://playcanvas.com/api/projects/{projectId}/scenes?branchId={branchId}
Authorization: Bearer {accessToken}

パラメータ

projectId: number

The id of the project to list scenes from

branchId: string [optional]

The id of the branch. If no `branchId` is specified, the main branch will be used.

応答のスキーマ

Status: 200
{
    "result": [{
      "id": int,
      "projectId": int,
      "name": string,
      "created": date,
      "modified": date
    }, ...]
}

エラー

401

非認証

403

許可されていません

404

プロジェクトが見つかりません

429

リクエストが多すぎます

レート制限

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

This site is translated by the community. If you want to get involved visit this page