Apps - Get primary app
Route URL
GET https://playcanvas.com/api/projects/:projectId/app
Description
Gets the Primary App of a Project.
Example
curl -H "Authorization: Bearer {accessToken}" https://playcanvas.com/api/projects/{projectId}/app
Parameters
| Name | Type | Description |
|---|---|---|
projectId | number | The id of the project. |
Response Schema
Status: 200
{
"id": int,
"project_id": int,
"owner_id": int,
"name": string,
"description": string,
"version": string,
"release_notes": string,
"thumbnails": {
"s": string,
"m": string,
"l": string,
"xl": string
},
"size": int,
"views": int,
"completed_at": date,
"created_at": date,
"modified_at": date
}
Errors
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Project not found |
| 404 | Project does not have a primary app |
| 404 | App not found |
| 429 | Too many requests |
Rate Limiting
This route uses a normal rate limit.