Create a repository using the repo name embedded in the JWT. You can start empty, mirror an upstream repository, or fork another Code Storage repository into a new independent repo.
Deprecated: Use /api/repos instead.
Documentation Index
Fetch the complete documentation index at: https://code.storage/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Optional default branch override. When present, it is used if the request body does not already specify one.
Create either an empty repository, a synced repository backed by an upstream provider, or a fork of another Code Storage repository.
Create-repository request body. The repository identity comes from the JWT repo claim; the body supplies optional default-branch and Git Sync or fork configuration.
Repository created successfully.
Result of creating a repository, including the assigned internal repository ID and the repository URL path.