Get Upload File Task

The Get Upload File Task API retrieves the status and details of an upload task that was previously created using the task_id. It provides information about the task's progress, the number of files processed, and the results (success and failure lists)

The Get Upload File Task API retrieves the status and details of an upload task that was previously created using the task_id. It provides information about the task's progress, the number of files processed, and the results (success and failure lists).

This API is especially useful for:

  1. Monitoring the progress of file upload tasks.
  2. Fetching details of successfully uploaded files, including the upload_link.
  3. Identifying files that failed to upload for troubleshooting.

Request Parameters

Public Request Parameters

📘

Path Parameters

FieldTypeDescriptionExample
task_idstringThe unique identifier for the upload task.300b5e33-3ac5-41c5-9819-7e2e8aad6a98

Response Explanation

Public Response Parameters

📘

Success Response

FieldTypeDescriptionExample
codestringResponse status codeSuccess
dataobjectContains upload task details and file lists
data.task_idstringUnique identifier for the upload task300b5e33-3ac5-41c5- 9819-7e2e8aad6a98
data.totalintegerTotal number of files in the upload task1
data.finishedintegerNumber of files successfully processed1
data.statusintegerUpload task status (0 = completed, 1 = in progress, etc.)0
data.success_listarrayList of success_list
data.success_list[].file_uristringUnique identifier of the successfully uploaded file30b62fd57.jpeg
data.success_list[].origin_linkstringOriginal URL of the uploaded file if uploaded via URLhttps://picx.zhimg.com/...
data.success_list[].upload_linkstringDirect CDN link to access the uploaded filehttps://cdn.shoplazza.com/...
data.failure_listarrayList of files that failed to upload[]
data.origin_listarrayList of original file URLs from the upload request["https://picx.zhimg.com/..."]

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!