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 [
]
]
]
offer
object[]
required
deprecated
Use 'releases' field instead
Possible values: [draft, in_review, approved, released, archived]
Possible values: [product, formation]
push
object[]
required
deprecated
Use 'releases' field instead
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
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
Possible values: [draft, in_review, approved, released, archived]
Possible values: [product, formation]
{
"releases": [
{
"hierarchyTrees": [
{
"deviceTypes": [
{
"deviceTypeId": 0,
"deviceTypeName": "string",
"projectDisplayName": "string",
"projectId": 0,
"projectLabel": "string",
"projectName": "string"
}
],
"platformTypeId": 0,
"platformTypeName": "string"
}
],
"isPush": true,
"release": {
"createdAt": "2026-03-12T11:20:53.468Z",
"id": "string",
"latest": true,
"projectName": "string",
"releaseNotes": "string",
"releasedAt": "2026-03-12T11:20:53.468Z",
"size": 0,
"status": "draft",
"type": "product",
"updatedAt": "2026-03-12T11:20:53.468Z",
"version": "string"
}
}
]
}
Bad request
Internal server error