post https://{server}/api2/repos//dir/
- Create: Newly created directory will be renamed if the name is duplicated.
- Rename: If the new name is the same of the old name no operation will be done.
Response
xxxxxxxxxx
curl --request POST \
--url https://cloud.seafile.com/api2/repos/repo_id/dir/ \
--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: