v1

latestOpenAPI 3.0.32026-07-13142734.3 KB
asset

Add Asset to Application

Use this endpoint to add an asset to an application

post/assets/{assetId}/application

Path parameters

assetIdstring required

The id of the asset

Request body

Example request

{
  "data": {
    "applicationId": "66568e46df136d3df8ce0d74",
    "isVisibleInEditor": true
  }
}

Response

A typical successful response

Example response

{
  "data": {
    "id": "145064511",
    "name": "jacket-occassionwear-02",
    "organizationId": "6453d11c462434a35b4abe17",
    "modelUrl": "https://example.org/jacket-occassionwear-02.glb",
    "iconUrl": "https://example.org/jacket-occassionwear-02.png",
    "hasApps": true,
    "createdAt": "2023-02-02T14:39:01.026Z",
    "updatedAt": "2023-02-02T14:39:08.656Z"
  }
}