Skip to main content

uploadFile

uploadFile

Query Parameters
key string
Request Body REQUIRED

Asset Upload Information

assetType string REQUIRED

Possible values: [IMAGE, VIDEO, AUDIO, OTHER]

assetData binary REQUIRED
livePhotoData binary
sidecarData binary
deviceAssetId string REQUIRED
deviceId string REQUIRED
fileCreatedAt date-time REQUIRED
fileModifiedAt date-time REQUIRED
isFavorite boolean REQUIRED
isArchived boolean
isVisible boolean
fileExtension string REQUIRED
duration string
Responses
201
Schema
id string REQUIRED
duplicate boolean REQUIRED