post https://{server}/api2/default-repo/
If a default library exists, the library ID is obtained, and if not, a default library is created.
Response
If a default library exists, the library ID is obtained, and if not, a default library is created.
xxxxxxxxxx
curl --request POST \
--url https://cloud.seafile.com/api2/default-repo/ \
--header 'accept: application/json'
Try It!
to start a request and see the response here! Or choose an example: