Get the data of a user-provided Global Config
HEAD
https://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-configWhen the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config.
Request
import { Vercel } from "@vercel/sdk";
const vercel = new Vercel({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.marketplace.headInstallationsByIntegrationConfigurationIdResourcesByResourceIdExperimentationGlobalConfig({ integrationConfigurationId: "<id>", resourceId: "<id>", });
console.log(result);}
run();Response
{ "digest": "string", "items": "value", "purpose": "experimentation", "updatedAt": "123"}AuthorizationbearerToken
Default authentication mechanism