GET
/
v1
/
installations
/
{integrationConfigurationId}
/
resources
/
{resourceId}
get-integration-resource
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await vercel.marketplace.getIntegrationResource({
    integrationConfigurationId: "<id>",
    resourceId: "<id>",
  });

  console.log(result);
}

run();
{
  "id": "<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": {}
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

integrationConfigurationId
string
required

The ID of the integration configuration (installation) the resource belongs to

resourceId
string
required

The ID provided by the 3rd party provider for the given resource

Response

id
string
required

The ID provided by the 3rd party provider for the given resource

internalId
string
required

The ID assigned by Vercel for the given resource

name
string
required

The name of the resource as it is recorded in Vercel

productId
string
required

The ID of the product the resource is derived from

status
enum<string>

The current status of the resource

Available options:
ready,
pending,
suspended,
resumed,
uninstalled,
error
protocolSettings
object

Any settings provided for the resource to support its product's protocols

notification
object

The notification, if set, displayed to the user when viewing the resource in Vercel

billingPlanId
string

The ID of the billing plan the resource is subscribed to, if applicable

metadata
object

The configured metadata for the resource as defined by its product's Metadata Schema