List git repositories linked to namespace by provider
GET
https://api.vercel.com/v1/integrations/search-repoLists 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.https://api.vercel.com/v1/integrations/search-repo
const response = await fetch('https://api.vercel.com/v1/integrations/search-repo?query=string&namespaceId=value&provider=value&installationId=string&host=string&teamId=string&slug=string', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
"value"AuthorizationbearerToken
Default authentication mechanism