Get Specific Job

GET {{api_base}}/{{api_version}}/api/integration/job/{{job_id}}

Overview

Gets a specifc job using the Job's ID. To get the ID, you will have to Get All Jobs, and get the ID you want.

Statuses

  • pending -> Upload is still waiting in the queue. Waiting for spot to upload.
  • uploading -> Upload is uploading to the proper remote. Progress will be updated as upload continues.
  • completed -> Upload has successfully been uploaded. Progress will be at 1, and the download URL will be populated.
  • failed -> The upload has failed. Check the Detail key for information.

Authorization

Requires an API key using the Authorization Bearer Header.

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: OK

"{\n    \"success\": true,\n    \"error\": null,\n    \"detail\": \"Job status retrieved successfully.\",\n    \"data\": \n        {\n            \"id\": {{job_id}},\n            \"created_at\": \"2024-06-13T07:51:12.40135+00:00\",\n            \"updated_at\": \"2024-06-13T07:51:22.21287+00:00\",\n            \"auth_id\": \"XXXXXXXXXXXXXXXXXXXXXXXXXX\",\n            \"hash\": \"XXXXXXXXXXXXXXXXXXXXXXXXXX\",\n            \"type\": \"torrent\",\n            \"integration\": \"google\",\n            \"file_id\": 0,\n            \"zip\": false,\n            \"progress\": 1,\n            \"detail\": \"Upload complete.\",\n            \"download_url\": \"https://XXXXXXXXXXXXXXXXXXXXXXXXXX\",\n            \"status\": \"completed\"\n        }\n}"