vfs

Refresh directory cache

Changed on

Refreshes one or more directories in the VFS cache, optionally recursively. All values must be strings. 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/vfs/refresh

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.

fsstring

Optional VFS identifier whose directory cache should be refreshed.

recursive'true' | 'false'

Must be the string true or false, not a JSON boolean.

dirstring

Directory to refresh. Add more with keys that start with dir, such as dir2.

Response

Acknowledgement of directories refreshed in the VFS cache.

resultobject required

Map of refreshed directories to status messages.

Changes

    • 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

      added the new optional request property

    • info

      added the new optional request property

    • info

      api tag vfs added