Set the current version of the file.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Body Params application/json
{
"uri": "cloudreve://my/copy.md",
"version": "9ewQi2"
}
Request Code Samples
curl --location --request POST '/file/version/current' \
--header 'Content-Type: application/json' \
--data-raw '{
"uri": "cloudreve://my/copy.md",
"version": "9ewQi2"
}'
Responses
application/json Modified at 2025-08-12 07:13:02