integrations

List git namespaces by provider

Changed on

Lists git namespaces for a supported provider. Supported providers are github, gitlab and bitbucket. If the provider is not provided, it will try to obtain it from the user that authenticated the request.

get/v1/integrations/git-namespaces

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/integrations/git-namespaces
  • Auth: HTTP bearer

Query parameters

hoststring

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

Example:ghes-test.now.systems
provider'github' | 'github-limited' | 'github-custom-host' | 'gitlab' | 'bitbucket'
viewerMetadataboolean

When true, includes the viewer object for each namespace.

Response

installationIdnumber
isAccessRestrictedfalse | true
namestring
ownerTypestring required
providerstring required
requireReauthfalse | true
slugstring required

Changes