operations

Hash a single file

Changed on

Returns the hash of a single file using the specified hash algorithm.

post/operations/hashsumfile

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

_configobject

Config overrides for this call only.

_filterobject

Filter overrides for this call only.

_groupstring

Stats group for this call.

remotestring required

Path to the specific file within fs to hash.

hashTypestring required

Hash algorithm to use, e.g. md5, sha1, or another supported name.

downloadboolean

Set to true to force reading the data instead of using remote checksums.

base64boolean

Set to true to emit the hash value in base64 rather than hexadecimal.

Response

Hash algorithm used and the hash value for a single file from operations/hashsumfile.

hashTypestring required

The hash algorithm that was used.

hashstring required

The hash value of the file.

Changes