cURL
curl --request POST \ --url https://hub.oxen.ai/api/repos \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "name": "my-corn-pics", "namespace": "bessie" }'
{ "repository": { "is_public": true, "name": "my-corn-pics", "namespace": "bessie" }, "status": "success", "status_message": "resource_created" }
Create a new repository
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
OK
The response is of type object.
object