v1
Double column
API
CLI
JS Client
API
CLI
JS Client

GET /v1/vcs

Example response

200 OK

Details about the version control providers available for use.

JSON

{
  "data": {
    "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.