Skip to main content
GET
/
v1
/
integrations
/
git-namespaces
gitNamespaces
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await vercel.integrations.gitNamespaces({
    host: "ghes-test.now.systems",
  });

  console.log(result);
}

run();
[
  {
    "provider": "<string>",
    "slug": "<string>",
    "id": "<string>",
    "ownerType": "<string>",
    "name": "<string>",
    "isAccessRestricted": true,
    "installationId": 123,
    "requireReauth": true
  }
]

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

host
string

The custom Git host if using a custom Git provider, like GitHub Enterprise Server

Example:

"ghes-test.now.systems"

provider
enum<string>
Available options:
github,
github-limited,
github-custom-host,
gitlab,
bitbucket

Response

provider
string
required
slug
string
required
id
required
ownerType
string
required
name
string
isAccessRestricted
boolean
installationId
number
requireReauth
boolean