Skip to main content

Discover Device Component

POST 

/api/v2/device/discover/component

This service message allows a device to post the discovery context for getting device software offers.

Request

Body

required

    id stringrequired
    snapshotDate string

    Timestamp when the discovery snapshot was taken

    deviceTypeToken string

    Name or ID (as string) of the deviceType (e.g., router, switch, server, etc.), used for discovery of devices of type "device"

    platform

    object

    token stringrequired

    Name or ID (as string) of the platform type being discovered.

    platformId string

    ID (as string) of system or machine being discovered.

    devices array

    Array of devices discovered within this platform. Each device contains detailed discovery information of type "DiscoveryMessageV2Dto".

    general

    object

    personalDevice

    object

    name string
    idNumber string
    personalNumber string

    situationalDevice

    object

    weather number
    bandwidth number
    time date-time
    operativeState boolean
    power number
    availableStorage string

    location

    object

    lat stringrequired
    long stringrequired
    alt string

    physicalDevice

    object

    MAC string
    IP string
    ID stringdeprecated
    OS string

    Possible values: [android, windows, linux, macos]

    serialNumber string
    possibleBandwidth string
    availableStorage stringdeprecated
    metaData object
    discoveryType stringrequired

    Possible values: [get-app, get-map, mTls]

    softwareData

    object

    formations string[]deprecated
    platforms string[]deprecated

    components

    object[]

  • Array [

  • catalogId stringrequired
    state stringrequired

    Possible values: [offering, push, delivery, downloaded, deleted, deploy, installed, uninstalled]

    error string
  • ]

  • supportedFields

    object[]

    List of fields that the device supports for evaluation, including their types (e.g., number, string, boolean)

  • Array [

  • name stringrequired

    Field name in JSONPath format (e.g., $.battery.level)

    type stringrequired

    Field data type (number, string, boolean)

    label string

    Human-readable label for the field

    description string

    Field description

  • ]

Responses

Schema

    offer

    object[]

    required

    deprecated

    Use 'releases' field instead

  • Array [

  • id stringrequired
    version stringrequired
    projectName stringrequired
    releaseNotes string

    metadata

    object

    autoDeploy boolean

    Enable automatic deployment of this release

    postInstallAction

    object

    Post-installation action configuration

    type stringrequired

    Possible values: [NONE, WEB, EXE]

    Action type: NONE (no action), WEB (open URL), or EXE (run executable)

    url string

    URL to open (required when type is WEB)

    exePath string

    Executable path to run (required when type is EXE)

    installationSize integer

    Installation size in bytes - disk space required after installation (user-specified)

    totalSize integer

    Total size in bytes - automatically calculated as installationSize + artifactsSize

    status stringrequired

    Possible values: [draft, in_review, approved, released, archived]

    type stringrequired

    Possible values: [product, formation]

    size int64
    createdAt date-timerequired
    updatedAt date-timerequired
    latest boolean
    releasedAt date-time
    dependencies undefined[]

    policies

    object[]

    Policies associated with this release

  • Array [

  • id stringrequired

    Policy rule ID

    name stringrequired

    Policy name

    description string

    Policy description

    type stringrequired

    Possible values: [policy, restriction]

    Policy type

    association

    object

    releases

    object[]

    required

    Releases for this policy

  • Array [

  • projectId string

    Project ID

    projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • version numberrequired

    Policy version number

    createdAt stringrequired

    Policy creation timestamp

    updatedAt stringrequired

    Policy last update timestamp

    isActive booleanrequired

    Whether the policy is active

    rule objectrequired

    The policy rule definition conforming to rule engine schema

  • ]

  • ]

  • push

    object[]

    required

    deprecated

    Use 'releases' field instead

  • Array [

  • id stringrequired
    version stringrequired
    projectName stringrequired
    releaseNotes string

    metadata

    object

    autoDeploy boolean

    Enable automatic deployment of this release

    postInstallAction

    object

    Post-installation action configuration

    type stringrequired

    Possible values: [NONE, WEB, EXE]

    Action type: NONE (no action), WEB (open URL), or EXE (run executable)

    url string

    URL to open (required when type is WEB)

    exePath string

    Executable path to run (required when type is EXE)

    installationSize integer

    Installation size in bytes - disk space required after installation (user-specified)

    totalSize integer

    Total size in bytes - automatically calculated as installationSize + artifactsSize

    status stringrequired

    Possible values: [draft, in_review, approved, released, archived]

    type stringrequired

    Possible values: [product, formation]

    size int64
    createdAt date-timerequired
    updatedAt date-timerequired
    latest boolean
    releasedAt date-time
    dependencies undefined[]

    policies

    object[]

    Policies associated with this release

  • Array [

  • id stringrequired

    Policy rule ID

    name stringrequired

    Policy name

    description string

    Policy description

    type stringrequired

    Possible values: [policy, restriction]

    Policy type

    association

    object

    releases

    object[]

    required

    Releases for this policy

  • Array [

  • projectId string

    Project ID

    projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • version numberrequired

    Policy version number

    createdAt stringrequired

    Policy creation timestamp

    updatedAt stringrequired

    Policy last update timestamp

    isActive booleanrequired

    Whether the policy is active

    rule objectrequired

    The policy rule definition conforming to rule engine schema

  • ]

  • ]

  • releases

    object[]

    required

    Components with all additional data of platform and device type hierarchy, project and actions

  • Array [

  • release

    object

    id stringrequired
    version stringrequired
    projectName stringrequired
    releaseNotes string

    metadata

    object

    Component metadata including autoDeploy and postInstallAction configuration. Additional user-defined properties are supported.

    autoDeploy boolean

    Enable automatic deployment of this release

    postInstallAction

    object

    Post-installation action configuration

    type stringrequired

    Possible values: [NONE, WEB, EXE]

    Action type: NONE (no action), WEB (open URL), or EXE (run executable)

    url string

    URL to open (required when type is WEB)

    exePath string

    Executable path to run (required when type is EXE)

    installationSize integer

    Installation size in bytes - disk space required after installation (user-specified)

    totalSize integer

    Total size in bytes - automatically calculated as installationSize + artifactsSize

    status stringrequired

    Possible values: [draft, in_review, approved, released, archived]

    type stringrequired

    Possible values: [product, formation]

    size int64
    createdAt date-timerequired
    updatedAt date-timerequired
    latest boolean
    releasedAt date-time
    dependencies array

    policies

    object[]

    Policies associated with this release

  • Array [

  • id stringrequired

    Policy rule ID

    name stringrequired

    Policy name

    description string

    Policy description

    type stringrequired

    Possible values: [policy, restriction]

    Policy type

    association

    object

    required

    Policy associations (releases, device types, OS types, devices)

    releases

    object[]

    required

    Releases for this policy

  • Array [

  • projectId string

    Project ID

    projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • version numberrequired

    Policy version number

    createdAt stringrequired

    Policy creation timestamp

    updatedAt stringrequired

    Policy last update timestamp

    isActive booleanrequired

    Whether the policy is active

    rule objectrequired

    The policy rule definition conforming to rule engine schema

  • ]

  • isPush booleanrequired

    Default value: false

    Flag indicating if this is a push action

    hierarchyTrees

    object[]

    required

    Platform and device type hierarchy where this release is offered

  • Array [

  • platformTypeId number

    Platform Type ID - present when device types are under a platform type

    platformTypeName string

    Platform Type name - present when device types are under a platform type

    deviceTypes

    object[]

    required

    Device types with projects (under platform if platform fields are present, or standalone)

  • Array [

  • deviceTypeId number

    ID of the device type

    deviceTypeName string

    Name of the device type

    projectId numberrequired

    ID of the project

    projectName stringrequired

    Name of the project

    projectDisplayName string

    Display name of the project

    projectLabel string

    Label of the project

  • ]

  • ]

  • dependedOnBy string[]

    Array of catalog IDs of releases that directly depend on this release

  • ]

  • restrictions

    object[]

    List of applicable restrictions for the device based on device ID, device type, OS, and other metadata

  • Array [

  • id stringrequired
    name stringrequired
    description string
    type stringrequired

    Possible values: [policy, restriction]

    version numberrequired
    isActive booleanrequired
    rule objectrequired

    The restriction rule object

    createdAt stringrequired
    updatedAt stringrequired
  • ]

Loading...