Retrieves an Application by its graph object id: an organization-wide software product identity that ties together every install of that product across the organization's endpoints. Its installs field lists each ApplicationInstall; find applications with graphSearch on the APPLICATION object type. Returns a not-found error when no object has the id, and an error when the id belongs to another object type.
Response
Returns an ApplicationPayload!
Arguments
| Name | Description |
|---|---|
id - ID!
|
The Application identifier. |
mockOptions - MockDataInput
|
Options for mock data generation. Options supported: key: "PLATFORM", value: OsPlatform example: "mockOptions": { "options": [ { "key": "PLATFORM", "value": "WINDOWS" } ] } |
Example
Query
query application(
$id: ID!,
$mockOptions: MockDataInput
) {
application(
id: $id,
mockOptions: $mockOptions
) {
node {
id
orgId
objectType
objectTypeLabel
displayName
firstSeen
lastSeen
seen {
...SeenOnlineFragment
}
createdAt
updatedAt
snapshotInfo {
...GraphObjectSnapshotInfoFragment
}
name
publisher
iconUrl
icons {
...ApplicationIconRefFragment
}
installs {
...ApplicationInstallConnectionFragment
}
findings {
...FindingsPayloadFragment
}
issues {
...IssuesPayloadFragment
}
issuesSummary {
...IssuesSummaryFragment
}
}
}
}
Variables
{"id": 4, "mockOptions": MockDataInput}
Response
{"data": {"application": {"node": Application}}}