Discover Device Context
POST/api/v1/device/discover/deviceContext
This service message allows a device to post the discovery context.
Request
- application/json
Body
required
Array [
]
Array [
]
Timestamp when the discovery snapshot was taken
Name or ID (as string) of the deviceType (e.g., router, switch, server, etc.), used for discovery of devices of type "device"
platform
object
Name or ID (as string) of the platform type being discovered.
ID (as string) of system or machine being discovered.
Array of devices discovered within this platform. Each device contains detailed discovery information of type "DiscoveryMessageV2Dto".
general
object
personalDevice
object
situationalDevice
object
location
object
physicalDevice
object
Possible values: [android, windows, linux, macos]
Possible values: [get-app, get-map, mTls]
softwareData
object
components
object[]
Possible values: [offering, push, delivery, downloaded, deleted, deploy, installed, uninstalled]
supportedFields
object[]
List of fields that the device supports for evaluation, including their types (e.g., number, string, boolean)
Field name in JSONPath format (e.g., $.battery.level)
Field data type (number, string, boolean)
Human-readable label for the field
Field description
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Timestamp when the discovery snapshot was taken
Name or ID (as string) of the deviceType (e.g., router, switch, server, etc.), used for discovery of devices of type "device"
platform
object
Name or ID (as string) of the platform type being discovered.
ID (as string) of system or machine being discovered.
Array of devices discovered within this platform. Each device contains detailed discovery information of type "DiscoveryMessageV2Dto".
general
object
personalDevice
object
situationalDevice
object
location
object
physicalDevice
object
Possible values: [android, windows, linux, macos]
Possible values: [get-app, get-map, mTls]
softwareData
object
components
object[]
Possible values: [offering, push, delivery, downloaded, deleted, deploy, installed, uninstalled]
supportedFields
object[]
List of fields that the device supports for evaluation, including their types (e.g., number, string, boolean)
Field name in JSONPath format (e.g., $.battery.level)
Field data type (number, string, boolean)
Human-readable label for the field
Field description
{
"id": "string",
"snapshotDate": "string",
"deviceTypeToken": "string",
"platform": {
"token": "string",
"platformId": "string",
"devices": [
null
]
},
"general": {
"personalDevice": {
"name": "string",
"idNumber": "string",
"personalNumber": "string"
},
"situationalDevice": {
"weather": 0,
"bandwidth": 0,
"time": "2026-03-12T11:20:54.102Z",
"operativeState": true,
"power": 0,
"availableStorage": "string",
"location": {
"lat": "string",
"long": "string",
"alt": "string"
}
},
"physicalDevice": {
"MAC": "string",
"IP": "string",
"OS": "android",
"serialNumber": "string",
"possibleBandwidth": "string"
},
"metaData": {}
},
"discoveryType": "get-app",
"softwareData": {
"components": [
{
"catalogId": "string",
"state": "offering",
"error": "string"
}
]
},
"supportedFields": [
{
"name": "string",
"type": "string",
"label": "string",
"description": "string"
}
]
}