cache

Prefetch cache chunks

Changed on

Ensures specified file chunks are cached locally for a cache remote. Rclone also accepts _config and _filter objects here, but this schema leaves them out, because it can't allow objects for only those two keys.

post/cache/fetch

Request

Headers

Prefer'respond-async'

Set to respond-async to run the call in the background. Rclone returns a 202 with a job ID right away, and job/status reports progress. This has the same effect as the _async param in rclone's docs, but _async alone returns a 200 instead of a 202.

Request body

_groupstring

Stats group for this call.

chunksstring required

Comma-separated chunk specifier list (e.g. 0:10,25:30) describing file pieces to prefetch.

filestring

File to fetch chunks of. Add more with keys that start with file, such as file2.

Response

What was fetched for each file.

statusobject required

Results keyed by file name.

Changes

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • warning

      removed subschema #2 from the request body allOf list

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      api tag cache added