Device asset file management

Upload device asset file

Upload a new device asset file

post/v1/files/{fileType}

Request

Path parameters

fileType'animations' required

Device asset file type

Request body multipart/form-data

string binary required

A binary file with one of these MIME types: image/gif, image/jpeg, image/png, audio/mpeg, audio/mp4, audio/wave, audio/x-caf}

Response

Processed and persisted device asset

namestring required

Unique ID for the asset file

type'animations' required

Device asset file type

originalNamestring

Original filename of the uploaded file

pathstring required

Path to the file on the filesystem

Example response

{
  "name": "34225b30-fe6a-11af-1690-29424bd911c2.png",
  "originalName": "welcome-animation.png",
  "path": "/data/animations/34225b30-fe6a-11af-1690-29424bd911c2.png"
}

Changes

No recorded changes to this operation across all 1 revision of this API.