import { Vercel } from "@vercel/sdk";
const vercel = new Vercel({
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await vercel.marketplace.getIntegrationResources({
integrationConfigurationId: "<id>",
});
console.log(result);
}
run();{
"resources": [
{
"partnerId": "<string>",
"internalId": "<string>",
"name": "<string>",
"productId": "<string>",
"status": "ready",
"protocolSettings": {
"experimentation": {
"edgeConfigSyncingEnabled": true,
"edgeConfigId": "<string>",
"edgeConfigTokenId": "<string>"
}
},
"notification": {
"level": "error",
"title": "<string>",
"message": "<string>",
"href": "<string>"
},
"billingPlanId": "<string>",
"metadata": {}
}
]
}Get all resources for a given installation ID.
import { Vercel } from "@vercel/sdk";
const vercel = new Vercel({
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await vercel.marketplace.getIntegrationResources({
integrationConfigurationId: "<id>",
});
console.log(result);
}
run();{
"resources": [
{
"partnerId": "<string>",
"internalId": "<string>",
"name": "<string>",
"productId": "<string>",
"status": "ready",
"protocolSettings": {
"experimentation": {
"edgeConfigSyncingEnabled": true,
"edgeConfigId": "<string>",
"edgeConfigTokenId": "<string>"
}
},
"notification": {
"level": "error",
"title": "<string>",
"message": "<string>",
"href": "<string>"
},
"billingPlanId": "<string>",
"metadata": {}
}
]
}Default authentication mechanism
Show child attributes
The ID provided by the partner for the given resource
The ID assigned by Vercel for the given resource
The name of the resource as it is recorded in Vercel
The ID of the product the resource is derived from
The current status of the resource
ready, pending, onboarding, suspended, resumed, uninstalled, error Any settings provided for the resource to support its product's protocols
The notification, if set, displayed to the user when viewing the resource in Vercel
The ID of the billing plan the resource is subscribed to, if applicable