文件组上传完成后回调

2024-09-09
暂无评分

文件组上传完成后回调

POST /media/api/v1/workspaces/{workspace_id}/group-upload-callback

Parameters

NameInTypeRequiredDescription
workspace_idpathstringtrue工作空间 ID
x-auth-tokenheaderstringtrue访问令牌
bodybodystorage.FolderUploadCallbackInputtruebody参数

Responses

StatusMeaningDescriptionSchema
200OKopen in new windowOKstorage.FolderUploadCallbackOutput

Example responses

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

Schemas

storage.MissionFinishCallBackInput

{
  "file_group_id": "xxx",
  "file_count": 0,
  "file_uploaded_count": 0
}

Properties

NameTypeRequiredRestrictionsDescription
file_group_idstringfalsenone文件组id,在一次航线任务中产生的媒体文件组 ID 相同
file_countinttruenone指定文件组的媒体文件总数
file_uploaded_countinttruenone文件组中已经成功上传的媒体文件总数

storage.FolderUploadCallbackOutput

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

Properties

NameTypeRequiredRestrictionsDescription
codeintegerfalsenone错误码
datastorage.CreateFavoriteInputfalsenonenone
messagestringfalsenone错误描述
若您对文档有意见或疑惑,点击可快速反馈,我们会与您联系。