Last updated 8 days ago
Was this helpful?
Get the number of running tasks for the jobs
/jobs/runningTasks
["a5189ec6-6658-49e6-9960-99ed15b63f4d","b1234abc-1234-5678-9101-abcdef123456"]
curl -L \ --request POST \ --url 'https://api.bytenite.com/v1/customer/jobs/runningTasks' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "jobsIds": [ "a5189ec6-6658-49e6-9960-99ed15b63f4d", "b1234abc-1234-5678-9101-abcdef123456" ] }'
{ "jobsRunningTasks": { "a5189ec6-6658-49e6-9960-99ed15b63f4d": 2, "b1234abc-1234-5678-9101-abcdef123456": 1 } }
Set a job local file upload completed
/jobs/{jobId}/uploadcompleted
The id associated with your job.
curl -L \ --request PATCH \ --url 'https://api.bytenite.com/v1/customer/jobs/{jobId}/uploadcompleted' \ --header 'Authorization: YOUR_API_KEY'
{ "ok": true, "requestId": "text", "message": "text", "error": { "code": 1, "message": "text", "description": "text" } }