v1beta
Double column
curl
API
CLI

Miscellaneous /

List VCS providers

Lists linked version control providers

Response attributes

  • object

    • github

      object

      Details about the linked GitHub account.

      • email

        string required

        The email of the account linked with this provider.

      • login

        string required

        The username of the account linked with this provider.

    • gitlab

      object

      Details about the linked GitLab account.

      • email

        string required

        The email of the account linked with this provider.

      • login

        string required

        The username of the account linked with this provider.

    • bitbucket

      object

      Details about the linked Bitbucket account.

      • email

        string required

        The email of the account linked with this provider.

      • login

        string required

        The username of the account linked with this provider.

    • selfHosted

      array required

      The self-hosted version control providers linked to this account.

      • object

        Details about the linked self-hosted vcs account.

        • email

          string required

          The email of the account linked with this provider.

        • login

          string required

          The username of the account linked with this provider.

        • name

          string required

          The name of the self-hosted vcs provider.

        • vcsUrl

          string required

          The url of the self-hosted vcs provider.

        • vcsType

          string required

          The type of the self-hosted vcs provider.

          one of: gitlab-ee

        • internalId

          string required

          The ID of the self-hosted vcs provider.

        • entityName

          string required

          The name of the team the self-hosted vcs belongs to.

API
CLI

GET /v1beta/vcs

Example response

200 OK

Details about the version control providers available for use.

JSON

{
  "github": {
    "email": "email@example.com",
    "login": "vcs-user"
  },
  "gitlab": {
    "email": "email@example.com",
    "login": "vcs-user"
  },
  "bitbucket": {
    "email": "email@example.com",
    "login": "vcs-user"
  },
  "selfHosted": [
    {
      "email": "email@example.com",
      "login": "vcs-user",
      "name": "Self Hosted VCS",
      "vcsUrl": "https://git.example.com",
      "vcsType": "gitlab-ee",
      "internalId": "example-team/self-hosted-vcs",
      "entityName": "Example Team"
    }
  ]
}

© 2021 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com