This will allow you to download a zip archive of your entire project. You can import that archive from your Projects Dashboard to create a new Project from that archive.
Permanently delete an asset from a branch of your project. Warning deleting an asset is permanent and unrecoverable unless you have taken a checkpoint of it.
Parameters
assetId: number
Returns Promise<any>
downloadApp
downloadApp(): Promise<any>
Returns Promise<any>
getApp
getApp(id: number): Promise<any>
function
name
PlayCanvas#getApp
description
Gets a published App by id.
Parameters
id: number
Returns Promise<any>
getAssetFile
getAssetFile(assetId: number): Promise<any>
function
name
PlayCanvas#getAssetFile
description
Get the details of a single asset
Parameters
assetId: number
Returns Promise<any>
getAssets
getAssets(assetId: number): Promise<any>
function
name
PlayCanvas#getAssets
description
Get the details of a single asset
Parameters
assetId: number
Returns Promise<any>
getJob
getJob(id: number): Promise<any>
function
name
PlayCanvas#getJob
description
Gets a Job by id.
Parameters
id: number
Returns Promise<any>
getListAssets
getListAssets(): Promise<unknown[]>
Returns Promise<unknown[]>
getPrimaryApp
getPrimaryApp(): Promise<any>
Returns Promise<any>
getProjectApp
getProjectApp(): Promise<any>
Returns Promise<any>
Private listAssets
listAssets(): Promise<any>
function
name
PlayCanvas#listAssets
description
Get the details of all assets in a project for a specific branch
PlayCanvas
PlayCanvasのREST APIを操作
PlayCanvas