User Manual

Assets - Get Asset File

Route URL

GET https://playcanvas.com/api/assets/:assetId/file/:filename?branchId=:branchId

Description

Get the details of a single asset

Example

curl -H "Authorization: Bearer {accessToken}" "https://playcanvas.com/api/assets/{assetId}/file/{filename}?branchId={branchId}"

HTTP Request

GET https://playcanvas.com/api/assets/{assetId}/file/{filename}?branchId={branchId}
Authorization: Bearer {accessToken}

Parameters

branchId: string

The id of the branch.

Response Schema

Status: 200
{fileContents}

Errors

401

Unauthorized

403

Forbidden

404

Project or Asset not found

429

Too many requests

Rate Limiting

This route uses a normal rate limit.