Get the data of a user-provided Global Config
GET
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.
https://api.vercel.com/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/global-config
const response = await fetch('https://api.vercel.com/v1/installations/integrationConfigurationId/resources/resourceId/experimentation/global-config', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "digest": "string", "items": "value", "purpose": "experimentation", "updatedAt": "123"}AuthorizationbearerToken
Default authentication mechanism
integrationConfigurationIdstringRequired
resourceIdstringRequired