Callback after the File Group Upload Complete

2024-09-09
1 Ratings
1 customer rated

Callback after the File Group Upload Complete

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

Parameters

NameInTypeRequiredDescription
workspace_idpathstringtrueWorkspace ID
x-auth-tokenheaderstringtrueAccess Token
bodybodystorage.FolderUploadCallbackInputtrueBody parameter

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_idstringfalsenoneFile Group ID. The file group IDs created in one wayline task are the same.
file_countinttruenoneTotal media file number of file group.
file_uploaded_countinttruenoneTotal successfully uploded media file number of file group.

storage.FolderUploadCallbackOutput

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

Properties

NameTypeRequiredRestrictionsDescription
codeintegerfalsenoneError code
datastorage.CreateFavoriteInputfalsenoneNone
messagestringfalsenoneError description
If you have any comments or confusion about our documentation, you can click here to give feedback and we will get back to you as soon as possible.