scm

post/v1/api/scm/connections

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/api/scm/connections
  • Auth: none declared

Request body

api_urlstring

Base URL for HTTP APIs for self-hosted versions if different from base URL

base_urlstring

Base URL for Git clones for self-hosted versions

defaultboolean

Whether this is the default SCM connection

namestring required

The name of the SCM connection

signing_private_keystring

A private key used for signing commits

tokenstring

The access token for authentication

type'github' | 'gitlab' | 'bitbucket' | 'azure_devops' | 'bitbucket_datacenter' required
usernamestring

The username for authentication

Response

no description

api_urlstring

Base URL for HTTP APIs for self-hosted versions if different from base URL

base_urlstring

Base URL for self-hosted versions of this provider

defaultboolean

Whether this is the default SCM connection

idstring
inserted_atstring date-time
namestring required

The name of the SCM connection

type'github' | 'gitlab' | 'bitbucket' | 'azure_devops' | 'bitbucket_datacenter' required
updated_atstring date-time
usernamestring

The username for authentication

Changes

No recorded changes to this operation across all 22 revisions of this API.