Create Repo Manager Integration
Create a repo manager integration for a team
Path Parameters
team_idstring
ID of team
Header Parameters
Authorizationstring
Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
create repo manager integration body
github_auth_code?string
github auth code for obtaining user access token
github_installation_id?integer
github install id identifying the installation
Format
int64
team_idstring
team id of integration
user_idstring
user id of integration
Response Body
curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/repo_manager_integrations" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"team_id": "string",
"user_id": "string"
}'
{
"config_url": "string",
"github_install_url": "string",
"github_target_name": "string",
"github_target_url": "string",
"id": "string",
"oauth_auth_url": "string",
"oauth_base_url": "string",
"oauth_client_id": "string",
"oauth_client_secret": "string",
"oauth_git_clone_prefix": "string",
"oauth_redirect_url": "string",
"oauth_scopes": [
"string"
],
"oauth_token_url": "string",
"repo_manager": "github",
"team_id": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}