IM Pull Discovery Devices
POST/api/v1/device/im/pull/discovery
This service message allows an IM device to pull the discovery context of other agents.
Request
- application/json
Body
array
required
Array [
]
string
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
Array [
]
]
]
]
comps
object[]
required
metadata
object
Enable automatic deployment of this release
postInstallAction
object
Post-installation action configuration
Possible values: [NONE, WEB, EXE]
Action type: NONE (no action), WEB (open URL), or EXE (run executable)
URL to open (required when type is WEB)
Executable path to run (required when type is EXE)
Installation size in bytes - disk space required after installation (user-specified)
Total size in bytes - automatically calculated as installationSize + artifactsSize
Possible values: [draft, in_review, approved, released, archived]
Possible values: [product, formation]
policies
object[]
Policies associated with this release
Policy rule ID
Policy name
Policy description
Possible values: [policy, restriction]
Policy type
association
object
releases
object[]
required
Releases for this policy
Project ID
Project name
Release version
Policy version number
Policy creation timestamp
Policy last update timestamp
Whether the policy is active
The policy rule definition conforming to rule engine schema
[
{
"deviceId": "string",
"produceTime": "2026-03-12T11:20:54.105Z",
"comps": [
{
"id": "string",
"version": "string",
"projectName": "string",
"releaseNotes": "string",
"metadata": {
"autoDeploy": true,
"postInstallAction": {
"type": "NONE",
"url": "string",
"exePath": "string"
},
"installationSize": 0,
"totalSize": 0
},
"status": "draft",
"type": "product",
"size": 0,
"createdAt": "2026-03-12T11:20:54.106Z",
"updatedAt": "2026-03-12T11:20:54.106Z",
"latest": true,
"releasedAt": "2026-03-12T11:20:54.106Z",
"dependencies": [
null
],
"policies": [
{
"id": "string",
"name": "string",
"description": "string",
"type": "policy",
"association": {
"releases": [
{
"projectId": "string",
"projectName": "string",
"version": "string"
}
]
},
"version": 0,
"createdAt": "string",
"updatedAt": "string",
"isActive": true,
"rule": {}
}
]
}
]
}
]