{ "action": "rename", "src": { "dirs": [], "items": [ "dmLxcN" ] }, "new_name": "97-1.txt" }
curl --location --request POST 'http://127.0.0.1:5212/api/v3/object/rename' \ --header 'Cookie: cloudreve-session=' \ --header 'Content-Type: application/json' \ --data-raw '{ "action": "rename", "src": { "dirs": [], "items": [ "dmLxcN" ] }, "new_name": "97-1.txt" }'
{ "code": 0, "msg": "string" }