cURL
curl --request POST \ --url https://api.example.com/api/v1/repositories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>" } '
{ "name": "<string>", "repo_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request body for POST /api/v1/repositories
The name of the repository (alphanumeric, hyphens, underscores, dots, 1-64 chars)
Optional description of the repository
Repository created
Response body for POST /api/v1/repositories
The name of the repository
The ID of the newly created repository