repositories
create repository
Changed onpost/repositories
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/repositories
- Auth
- HTTP bearer
- or HTTP basic
- or API key in cookie internal_auth_session
Query parameters
bareboolean
If true, create a bare repository with no initial commit and branch
Request body
Example request
{
"storage_namespace": "s3://example-bucket/",
"default_branch": "main",
"sample_data": true,
"read_only": true
}Response
repository
Changes
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info