v1
latestSwagger 2.02026-07-175445133.1 KBgit
Create GitHub repository
Creates a new GitHub repository and sets it as the origin for a local repository
post/v1/git/repositories/{id}/github
Path parameters
idstring required
Repository ID
Request body
Example request
{
"description": "My awesome project",
"name": "my-project"
}Response
OK
Example response
{
"message": "Repository created and origin updated successfully",
"url": "https://github.com/user/repo"
}