Scenes - List scenes
Route URL
GET https://playcanvas.com/api/projects/:projectId/scenes?branchId=:branchId
Description
Get a list of all scenes for a project
Example
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}
Parameters
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.
Response Schema
Status: 200
{
"result": [{
"id": int,
"projectId": int,
"name": string,
"created": date,
"modified": date
}, ...]
}
Errors
401
Unauthorized
403
Forbidden
404
Project not found
429
Too many requests
Rate Limiting
This route uses a normal rate limit.