Obtain File Upload Result Report

2022-06-23
No Rating

Report Waypoints Upload Result

POST /wayline/api/v1/workspaces/{workspace_id}/upload-callback

Parameters

NameInTypeRequiredDescription
workspace_idpathstringtrueworkspace id
x-auth-tokenheaderstringtrueaccess token
bodybodywayline.UploadCallbackInputtruebody param

Responses

StatusMeaningDescriptionSchema
200OKopen in new windowOKwayline.BaseResponse

Example responses

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

Schemas

wayline.UploadCallbackInput

{
  "metadata": {
    "drone_model_key": "string",
    "payload_model_keys": [
      "string"
    ],
    "template_types": [
      0
    ]
  },
  "name": "string",
  "object_key": "string",
}

Properties

NameTypeRequiredRestrictionsDescription
metadatawayline.Metadatafalsenonewaypoints file metadata
namestringfalsenonewaypoints file name
object_keystringtruenoneobject key

wayline.Metadata

{
  "drone_model_key": "string",
  "payload_model_keys": [
    "string"
  ],
  "template_types": [
    0
  ]
}

Properties

NameTypeRequiredRestrictionsDescription
drone_model_keystringfalsenonedevice product enum
payload_model_keys[string]falsenonepayload product enum
template_types[integer]falsenonewaypoints template collection