Skip to main content

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

NameTypeRequiredDescription
projectIdnumber✔️The id of the project.
branchIdstringThe id of the branch. If no id is specified, the main branch will be used.

Response Schema

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

Errors

CodeDescription
401Unauthorized
403Forbidden
404Project not found
429Too many requests

Rate Limiting

This route uses a normal rate limit.