AviatoAviato
DeveloperAPI ReferenceAssetsEntityEntityid

/api/assets/entity/{entityId}

POST
/api/assets/entity/{entityId}

Path Parameters

entityId*string

Entity ID

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/assets/entity/string" \  -F type="string"
{
  "asset": {
    "id": "string",
    "itemId": "string",
    "entityId": "string",
    "fileId": "string",
    "type": "string",
    "source": "string",
    "mimeType": "string",
    "width": 0,
    "height": 0,
    "aspect": "string",
    "isSelected": true
  }
}
{
  "error": "string"
}
{
  "error": "string"
}