Check the status of a task to fetch/upload a file from a URL

GET

The endpoint notifies about the progress of the task by changing the value of the status field:

  • the field is set to waiting initially
  • once the system starts processing the request, the field is set to progress
  • if the file is fetched and uploaded successfully, the status field is set to success and the endpoint returns a JSON object holding information about the uploaded file
  • if the system fails to fetch/upload the file, the status field is set to error and the error field is set to the cause of the error.

Query parameters

tokenstringRequired

Token returned by the /from_url/ endpoint that identifies a request to fetch/upload a file from a URL.

Response

This endpoint returns an object.
File Upload Info Waiting Statusobject
OR
File Upload Info Progress Statusobject
OR
File Upload Info Success Statusobject
OR
File Upload Info Error Statusobject
OR
File Upload Info Unknown Statusobject

Errors