integrationPackInstancesByPackIds
UpdatedRetrieves the caller's installed integration pack instances, optionally filtered to the given integration pack ID(s).
The integrationPackInstancesByPackIds query accepts the following input: A list of integration pack IDs (integrationPackIds).
Omitting integrationPackIds, or passing an empty list, returns every installed instance in the account (the same behavior as before this filter existed).
Requesting the environmentAttachments field additionally returns, for each instance, the environment(s) it's attached to. This is fetched with a separate call, so it is only made when environmentAttachments is part of the selection set. Omit it if you only need the instance's own fields.
integrationPack is a federation reference field resolved from integrationPackId - requesting just integrationPack { id } is free (id is the federation key, already known from integrationPackId), while name (or any other field) triggers an actual federation call to resolve. The same applies to environment, nested under environmentAttachments: it is the only way to get the attached environment's ID or name - request environmentAttachments { environment { id name } }.
An example of the request is as follows:
query getIpackInstancesByPackIdsWithEnvironments {
integrationPackInstancesByPackIds(
integrationPackIds: ["e17d2394-58de-4750-9152-5a4c9288de23"]
) {
id
integrationPackOverrideName
integrationPack {
id
name
}
environmentAttachments {
id
environment {
id
name
}
}
}
}
integrationPackInstancesByPackIds(
integrationPackIds: [ID!]
): [IntegrationPackInstanceSpace!]
Arguments
integrationPackInstancesByPackIds.integrationPackIds ● [ID!] list scalar miscellaneous {#integration-pack-ids}
Type
IntegrationPackInstanceSpace object catalog-service
Represents an integration pack instance.