POST
/
api
/
repos
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"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
name
string
Example:

"my-corn-pics"

namespace
string
Example:

"bessie"

Response

200 - application/json
OK
repository
object
status
string
Example:

"success"

status_message
string
Example:

"resource_created"