post https://{server}/api2/default-repo/
If a default library exists, the library ID is obtained, and if not, a default library is created.
If a default library exists, the library ID is obtained, and if not, a default library is created.
Try It!
to start a request and see the response here!