cURL
curl --request POST \ --url https://staging.depot.mesa.dev/{org}/repos \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "default_branch": "main" } '
{ "id": "<string>", "org": "<string>", "name": "<string>", "default_branch": "<string>", "size_bytes": 123, "last_push_at": "<string>", "created_at": "<string>" }
Create a new repository in the organization
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
1 - 100
Repository created