10.fast-upload

Media Quick 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

true

body

Responses

Status
Meaning
Description
Schema

Example responses

{
	"code":0,
    "message":"success",
   	"data":{}
}

Schemas

media.FastUploadInput

{
  "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

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

media.MediaFile

{
  "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

Last updated