Discover components by context
POST/api/v2/device/discover/component
Discovers available components and offerings based on provided discovery context. Returns matching component and software offers filtered by the discovery criteria.
Request
- application/json
Body
required
Array [
]
Name or ID (as string) of the deviceType (e.g., router, switch, server, etc.), used for discovery of devices of type "device"
Possible values: [get-app, get-map, mTls]
general
object
personalDevice
object
physicalDevice
object
situationalDevice
object
location
object
platform
object
Array of devices discovered within this platform. Each device contains detailed discovery information of type "DiscoveryMessageV2Dto".
ID (as string) of system or machine being discovered.
Name or ID (as string) of the platform type being discovered.
Timestamp when the discovery snapshot was taken
softwareData
object
components
object[]
Possible values: [offering, push, delivery, downloaded, deleted, deploy, installed, uninstalled]
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.448Z",
"id": "string",
"latest": true,
"projectName": "string",
"releaseNotes": "string",
"releasedAt": "2026-03-12T11:20:53.448Z",
"size": 0,
"status": "draft",
"type": "product",
"updatedAt": "2026-03-12T11:20:53.448Z",
"version": "string"
}
}
]
}
Bad request
Internal server error