integrations

List git repositories linked to namespace by provider

Changed on

Lists git repositories linked to a namespace id for a supported provider. A specific namespace id can be obtained via the git-namespaces endpoint. Supported providers are github, gitlab and bitbucket. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request.

get/v1/integrations/search-repo

Request

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

Query parameters

querystring
string
OR
number
OR
string
OR
number
provider'github' | 'github-limited' | 'github-custom-host' | 'gitlab' | 'bitbucket' | 'cursor-origin'
installationIdstring
hoststring

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

Example:ghes-test.now.systems
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

object required
OR
OR
OR

Changes

    • warning

      added the new user enum value to the /// response property for the response status

    • warning

      added the new cursor-origin enum value to the // response property for the response status

    • warning

      added the new cursor-origin enum value to the /// response property for the response status