Skip to main content

Projects - List projects

Route URL

GET https://playcanvas.com/api/users/:userId/projects

Description

Retrieve all projects to which the specified user has explicit access. Use it to enumerate every project where that user has either read, write or admin rights.

Example

curl -H "Authorization: Bearer {accessToken}" https://playcanvas.com/api/users/{userId}/projects

Parameters

NameTypeRequiredDefaultDescription
userIdnumber✔️The id of the user.

Response Schema

Status: 200
{
"result": [
{
"id": int,
"name": string,
"description": string,
"created": date,
"modified": date,
"owner": string,
"owner_id": int,
"access_level": string,
"fork_count": int,
"locked": bool,
"new_owner": string|null,
"permissions": {
"admin": [string],
"write": [string],
"read": [string]
},
"plays": int,
"primary_app": int,
"primary_app_url": string,
"private": bool,
"size": {
"total": int,
"code": int,
"apps": int,
"assets": int,
"checkpoints": int
},
"starred": int,
"thumbnails": {
"s": string,
"m": string,
"l": string,
"xl": string
},
"views": int
}
// ...more projects...
]
}

Errors

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

Rate Limiting

This route uses a normal rate limit.