Media Fast Upload
POST /media/api/v1/workspaces/{workspace_id}/fast-upload
Parameters
Name | In | Type | Required | Description |
---|
workspace_id | path | string | true | workspace id |
x-auth-token | header | string | true | access token |
body | body | media.FastUploadInput | true | body |
Responses
Example responses
{
"code":0,
"message":"success",
"data":{}
}
Schemas
{
"ext": {
"drone_model_key": "string",
"is_original": true,
"payload_model_key": "string",
"tinny_fingerprint": "string",
"sn": "string"
},
"fingerprint": "string",
"name": "string",
"path": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|
ext | media.MediaFile | false | none | extended attributes for file associations |
fingerprint | string | true | none | file fingerprint |
name | string | false | none | filename |
path | string | false | none | the business path of the file |
{
"drone_model_key": "string",
"is_original": true,
"payload_model_key": "string",
"tinny_fingerprint": "string",
"sn": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|
drone_model_key | string | false | none | device product enum |
is_original | boolean | false | none | whether is the original image |
payload_model_key | string | false | none | payload product enum |
tinny_fingerprint | string | false | none | tiny fingerprint |
sn | string | false | none | serial number |
{
"code":0,
"message":"success",
"data":{}
}
Properties
Name | Type | Required | Restrictions | Description |
---|
code | string | false | none | error code |
message | string | false | none | description |
data | string | false | none | returned content |