User Manual

シーン - 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 リクエスト

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

パラメーター

projectId: number

シーンの一覧を取得するプロジェクトのID

branchId: string [optional]

`ブランチのIDです。`省略された場合、メインブランチが使用されます。

レスポンススキーマ

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

エラー

401

Unauthorized

403

Forbidden

404

Project not found

429

Too many requests

レート制限

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

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