post https://{server}/api/v2.1/via-repo-token/file/
Rename or revert or create or move a file
Note: If you want to create a file, simply pass in the path
Response
Rename or revert or create or move a file
Note: If you want to create a file, simply pass in the path
xxxxxxxxxx
curl --request POST \
--url https://cloud.seafile.com/api/v2.1/via-repo-token/file/ \
--header 'accept: application/json' \
--header 'content-type: multipart/form-data'
Try It!
to start a request and see the response here! Or choose an example: