Skip to main content

uploadFile

uploadFile

Query Parameters
key string
Request Body REQUIRED

Asset Upload Information

assetData binary REQUIRED
deviceAssetId string REQUIRED
deviceId string REQUIRED
duration string
fileCreatedAt date-time REQUIRED
fileModifiedAt date-time REQUIRED
isArchived boolean
isFavorite boolean
isOffline boolean
isReadOnly boolean
isVisible boolean
libraryId uuid
livePhotoData binary
sidecarData binary
Responses
201
Schema OPTIONAL
duplicate boolean
id string
uploadFile
POST /asset/upload
key — query
Body
assetData
assetData
deviceAssetId
deviceId
duration
fileCreatedAt
fileModifiedAt
isArchived
isFavorite
isOffline
isReadOnly
isVisible
libraryId
livePhotoData
livePhotoData
sidecarData
sidecarData
/api
curl -L -X POST '/api/asset/upload' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json'