API request result/status

What is the problem you are having with rclone?

After running curl requests against API for copy/move commands you get empty dictionary {} if everything is ok and get JSON with error if something goes wrong. Is there any way to get result status after successful API requests against rclone server?

Run the command 'rclone version' and share the full output of the command.

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Hi Marat,

Sounds like you are looking for one of these:

Hi Ole,

Is it possible to get jobid of the curl request against API to copy/move files?

All that is received is empty JSON every time:


Yes, the jobid is returned when you start an asynchronous job:

Here is an example where I monitor a job using the group assigned when starting the job:

You can also just request status based on the jobid returned when starting the job something like this (not tested):

POST http://localhost:5572/job/status HTTP/1.1
content-type: application/json

    "jobid": 123

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.