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>",
"status": "ready",
"productId": "<string>",
"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>",
"status": "ready",
"productId": "<string>",
"protocolSettings": {
"experimentation": {
"edgeConfigSyncingEnabled": true,
"edgeConfigId": "<string>",
"edgeConfigTokenId": "<string>"
}
},
"notification": {
"level": "error",
"title": "<string>",
"message": "<string>",
"href": "<string>"
},
"billingPlanId": "<string>",
"metadata": {}
}
]
}
Default authentication mechanism
The response is of type object
.