Git Provider Connections
Create an empty repository through one of your git connections
Changed onUses the token of a connection you own, so the repository is created as you and with exactly the access that token has. Another user's connection answers 404. Pushing code into the new repository is a separate step.
post/git-connections/{connection_id}/repositories
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/git-connections/{connection_id}/repositories
- Auth: HTTP bearer
Path parameters
connection_idinteger required
Connection ID
Request body
Example request
{
"name": "my-app"
}Response
Repository created
Changes
- info
endpoint added
- info