Trigger component discovery
POST/api/v2/triggers/discover-component
Triggers discovery of available components and offerings using the agent's current context. Returns matching component and software offers from the GetApp server.
Request
Responses
- 200
- 400
- 500
Successfully retrieved component offerings
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
Array [
Array [
Array [
]
]
]
Array [
Array [
Array [
]
]
Array [
Array [
]
]
]
Array [
]
offer
object[]
required
deprecated
Use 'releases' field instead
Human-readable display name of the project
Label associated with the project
metadata
object
Enable automatic deployment of this release
Installation size in bytes - disk space required after installation (user-specified)
postInstallAction
object
Executable path to run (required when type is EXE)
Possible values: [product, formation]
URL to open (required when type is WEB)
Total size in bytes - automatically calculated as installationSize + artifactsSize
policies
object[]
Policies associated with this release
association
object
required
releases
object[]
Associated releases for policies
Project name
Release version
Policy creation timestamp
Policy description
Policy rule ID
Whether the policy is active
Policy name
The policy rule definition conforming to rule engine schema
Possible values: [product, formation]
Policy last update timestamp
Policy version number
Possible values: [draft, in_review, approved, released, archived]
Possible values: [product, formation]
push
object[]
required
deprecated
Use 'releases' field instead
Human-readable display name of the project
Label associated with the project
metadata
object
Enable automatic deployment of this release
Installation size in bytes - disk space required after installation (user-specified)
postInstallAction
object
Executable path to run (required when type is EXE)
Possible values: [product, formation]
URL to open (required when type is WEB)
Total size in bytes - automatically calculated as installationSize + artifactsSize
policies
object[]
Policies associated with this release
association
object
required
releases
object[]
Associated releases for policies
Project name
Release version
Policy creation timestamp
Policy description
Policy rule ID
Whether the policy is active
Policy name
The policy rule definition conforming to rule engine schema
Possible values: [product, formation]
Policy last update timestamp
Policy version number
Possible values: [draft, in_review, approved, released, archived]
Possible values: [product, formation]
releases
object[]
required
Components with all additional data of platform and device type hierarchy, project and actions
Array of catalog IDs of releases that directly depend on this release
hierarchyTrees
object[]
required
Platform and device type hierarchy where this release is offered
deviceTypes
object[]
required
Device types with projects (under platform if platform fields are present, or standalone)
ID of the device type
Name of the device type
Display name of the project
ID of the project
Label of the project
Name of the project
Platform Type ID - present when device types are under a platform type
Platform Type name - present when device types are under a platform type
Flag indicating if this is a push action
release
object
required
Human-readable display name of the project
Label associated with the project
metadata
object
Enable automatic deployment of this release
Installation size in bytes - disk space required after installation (user-specified)
postInstallAction
object
Executable path to run (required when type is EXE)
Possible values: [product, formation]
URL to open (required when type is WEB)
Total size in bytes - automatically calculated as installationSize + artifactsSize
policies
object[]
Policies associated with this release
association
object
required
releases
object[]
Associated releases for policies
Project name
Release version
Policy creation timestamp
Policy description
Policy rule ID
Whether the policy is active
Policy name
The policy rule definition conforming to rule engine schema
Possible values: [product, formation]
Policy last update timestamp
Policy version number
Possible values: [draft, in_review, approved, released, archived]
Possible values: [product, formation]
restrictions
object[]
required
List of applicable restrictions for the device based on device ID, device type, OS, and other metadata
The restriction rule object
Possible values: [product, formation]
{
"releases": [
{
"dependedOnBy": [
"string"
],
"hierarchyTrees": [
{
"deviceTypes": [
{
"deviceTypeId": 0,
"deviceTypeName": "string",
"projectDisplayName": "string",
"projectId": 0,
"projectLabel": "string",
"projectName": "string"
}
],
"platformTypeId": 0,
"platformTypeName": "string"
}
],
"isPush": true,
"release": {
"createdAt": "2026-04-22T16:58:12.275Z",
"dependencies": [
null
],
"displayName": "string",
"id": "string",
"label": "string",
"latest": true,
"metadata": {
"autoDeploy": true,
"installationSize": 0,
"postInstallAction": {
"exePath": "string",
"type": "product",
"url": "string"
},
"totalSize": 0
},
"policies": [
{
"association": {
"releases": [
{
"projectName": "string",
"version": "string"
}
]
},
"createdAt": "string",
"description": "string",
"id": "string",
"isActive": true,
"name": "string",
"rule": {},
"type": "product",
"updatedAt": "string",
"version": 0
}
],
"projectId": 0,
"projectName": "string",
"releaseNotes": "string",
"releasedAt": "2026-04-22T16:58:12.275Z",
"size": 0,
"status": "draft",
"type": "product",
"updatedAt": "2026-04-22T16:58:12.276Z",
"version": "string"
}
}
],
"restrictions": [
{
"createdAt": "string",
"description": "string",
"id": "string",
"isActive": true,
"name": "string",
"rule": {},
"type": "product",
"updatedAt": "string",
"version": 0
}
]
}
Bad request
Internal server error