Skip to main content

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​

Successfully retrieved component offerings

Schema

    allPolicies

    object[]

    Deduplicated list of all policies across all releases. Present only when deduplicatePolicies flag is set to true. Each release will contain policyIds instead of full policy objects.

  • Array [

  • association

    object

    required

    releases

    object[]

    Associated releases for policies

  • Array [

  • projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • createdAt stringrequired

    Policy creation timestamp

    description stringnullable

    Policy description

    id stringrequired

    Policy rule ID

    isActive booleanrequired

    Whether the policy is active

    isPush booleannullable

    Whether this policy should be pushed to agents

    name stringrequired

    Policy name

    rule objectrequired

    The policy rule definition conforming to rule engine schema

    type Typerequired

    Possible values: [product, formation]

    updatedAt stringrequired

    Policy last update timestamp

    version doublerequired

    Policy version number

  • ]

  • configDeviceIds string[]nullable

    List of device IDs whose CONFIG projects this agent should also download and cache locally. For each deviceId in this list, call GET /v2/device/device-config/:deviceId.

    latestConfigSemVer stringnullable

    The semVer of the latest ACTIVE config revision for this device. The device should compare this with its locally cached version and fetch from GET /v2/device/device-config/:deviceId if they differ.

    offer

    object[]

    required

    deprecated

    Use 'releases' field instead

  • Array [

  • applicationCategory stringnullable

    Application category (user or technician)

    createdAt date-timerequired
    dependencies undefined[]
    displayName stringnullable

    Human-readable display name of the project

    id stringrequired
    label stringnullable

    Label associated with the project

    latest booleannullable

    metadata

    object

    autoDeploy booleannullable

    Enable automatic deployment of this release

    deployMethod object

    Deploy method the release supports (v2 = install.yaml orchestration). Lets consumers detect it without reading artifacts.

    deployV2 object

    Deploy/V2 authored plan (tasks + agent rule). Persisted verbatim for lossless re-edit; the agent consumes the generated install.yaml, not this.

    healthCheckIntervalSeconds int32nullable

    Interval in seconds between health check requests. Required when healthCheckUrl is set.

    healthCheckUrl stringnullable

    URL to check for health status. Required when hideIfNotHealthy is true.

    hideIfNotHealthy booleannullable

    Hide this release from agents if the health check URL is not healthy

    installationSize int64nullable

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

    postInstallAction

    object

    exePath stringnullable

    Executable path to run (required when type is EXE)

    type Typerequired

    Possible values: [product, formation]

    url stringnullable

    URL to open (required when type is WEB)

    repeatableActions string[]nullable

    Deploy/V2: the supported actions that re-run on every call (default: all except install and uninstall; install.yaml Repeatable overrides).

    supportedActions string[]nullable

    Deploy/V2: the actions the agent exposes for this release (mirrors install.yaml Actions).

    timeoutInstallation int64nullable

    Timeout installation in minutes (user-specified)

    totalSize int64nullable

    Total size in bytes - automatically calculated as installationSize + artifactsSize

    policies

    object[]

    Policies associated with this release

  • Array [

  • association

    object

    required

    releases

    object[]

    Associated releases for policies

  • Array [

  • projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • createdAt stringrequired

    Policy creation timestamp

    description stringnullable

    Policy description

    id stringrequired

    Policy rule ID

    isActive booleanrequired

    Whether the policy is active

    isPush booleannullable

    Whether this policy should be pushed to agents

    name stringrequired

    Policy name

    rule objectrequired

    The policy rule definition conforming to rule engine schema

    type Typerequired

    Possible values: [product, formation]

    updatedAt stringrequired

    Policy last update timestamp

    version doublerequired

    Policy version number

  • ]

  • policyIds string[]nullable

    Policy IDs associated with this release. Present when deduplicatePolicies flag is set to true.

    projectId int32required
    projectName stringrequired
    projectTypeV2 object

    The actual project type, regardless of agent compatibility

    releaseNotes stringnullable
    releasedAt date-time
    size int64nullable
    status Statusrequired

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

    tagline stringnullable

    Short one-line summary of the project

    tags string[]nullable

    Tags of the project

    type Typerequired

    Possible values: [product, formation]

    updatedAt date-timerequired
    version stringrequired
  • ]

  • platform

    object

    devices string[]nullable

    Ids of the devices that belong to this platform (share the same platformId).

    masterDeviceId stringnullable

    Device id acting as the master of this platform, when known.

    platformId stringnullable

    Shared platform instance id.

    platformName stringnullable

    Shared platform instance name (agent- or server-writable, resolved by last-writer-wins).

    platformTypeToken stringnullable

    Platform type token (the value the agent reports for the platform type).

    unit stringnullable

    Platform unit (agent- or server-writable, resolved by last-writer-wins).

    push

    object[]

    required

    deprecated

    Use 'releases' field instead

  • Array [

  • applicationCategory stringnullable

    Application category (user or technician)

    createdAt date-timerequired
    dependencies undefined[]
    displayName stringnullable

    Human-readable display name of the project

    id stringrequired
    label stringnullable

    Label associated with the project

    latest booleannullable

    metadata

    object

    autoDeploy booleannullable

    Enable automatic deployment of this release

    deployMethod object

    Deploy method the release supports (v2 = install.yaml orchestration). Lets consumers detect it without reading artifacts.

    deployV2 object

    Deploy/V2 authored plan (tasks + agent rule). Persisted verbatim for lossless re-edit; the agent consumes the generated install.yaml, not this.

    healthCheckIntervalSeconds int32nullable

    Interval in seconds between health check requests. Required when healthCheckUrl is set.

    healthCheckUrl stringnullable

    URL to check for health status. Required when hideIfNotHealthy is true.

    hideIfNotHealthy booleannullable

    Hide this release from agents if the health check URL is not healthy

    installationSize int64nullable

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

    postInstallAction

    object

    exePath stringnullable

    Executable path to run (required when type is EXE)

    type Typerequired

    Possible values: [product, formation]

    url stringnullable

    URL to open (required when type is WEB)

    repeatableActions string[]nullable

    Deploy/V2: the supported actions that re-run on every call (default: all except install and uninstall; install.yaml Repeatable overrides).

    supportedActions string[]nullable

    Deploy/V2: the actions the agent exposes for this release (mirrors install.yaml Actions).

    timeoutInstallation int64nullable

    Timeout installation in minutes (user-specified)

    totalSize int64nullable

    Total size in bytes - automatically calculated as installationSize + artifactsSize

    policies

    object[]

    Policies associated with this release

  • Array [

  • association

    object

    required

    releases

    object[]

    Associated releases for policies

  • Array [

  • projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • createdAt stringrequired

    Policy creation timestamp

    description stringnullable

    Policy description

    id stringrequired

    Policy rule ID

    isActive booleanrequired

    Whether the policy is active

    isPush booleannullable

    Whether this policy should be pushed to agents

    name stringrequired

    Policy name

    rule objectrequired

    The policy rule definition conforming to rule engine schema

    type Typerequired

    Possible values: [product, formation]

    updatedAt stringrequired

    Policy last update timestamp

    version doublerequired

    Policy version number

  • ]

  • policyIds string[]nullable

    Policy IDs associated with this release. Present when deduplicatePolicies flag is set to true.

    projectId int32required
    projectName stringrequired
    projectTypeV2 object

    The actual project type, regardless of agent compatibility

    releaseNotes stringnullable
    releasedAt date-time
    size int64nullable
    status Statusrequired

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

    tagline stringnullable

    Short one-line summary of the project

    tags string[]nullable

    Tags of the project

    type Typerequired

    Possible values: [product, formation]

    updatedAt date-timerequired
    version stringrequired
  • ]

  • releases

    object[]

    required

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

  • Array [

  • available booleanrequired

    Indicates whether this release is available for delivery (true when release status is not error)

    dependedOnBy string[]nullable

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

    hierarchyTrees

    object[]

    required

    Platform and device type hierarchy where this release is offered

  • Array [

  • deviceTypes

    object[]

    required

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

  • Array [

  • deviceTypeId doublenullable

    ID of the device type

    deviceTypeName stringnullable

    Name of the device type

    projectApplicationCategory stringnullable

    Application category (user or technician)

    projectDisplayName stringnullable

    Display name of the project

    projectId doublerequired

    ID of the project

    projectLabel stringnullable

    Label of the project

    projectName stringrequired

    Name of the project

    projectTagline stringnullable

    Short one-line summary of the project

    projectTags string[]nullable

    Tags of the project

  • ]

  • platformTypeId doublenullable

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

    platformTypeName stringnullable

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

  • ]

  • isPush booleannullable

    Flag indicating if this is a push action

    pushTo string[]nullable

    Array of managed device IDs that this release is pushed to

    release

    object

    required

    applicationCategory stringnullable

    Application category (user or technician)

    createdAt date-timerequired
    dependencies undefined[]
    displayName stringnullable

    Human-readable display name of the project

    id stringrequired
    label stringnullable

    Label associated with the project

    latest booleannullable

    metadata

    object

    autoDeploy booleannullable

    Enable automatic deployment of this release

    deployMethod object

    Deploy method the release supports (v2 = install.yaml orchestration). Lets consumers detect it without reading artifacts.

    deployV2 object

    Deploy/V2 authored plan (tasks + agent rule). Persisted verbatim for lossless re-edit; the agent consumes the generated install.yaml, not this.

    healthCheckIntervalSeconds int32nullable

    Interval in seconds between health check requests. Required when healthCheckUrl is set.

    healthCheckUrl stringnullable

    URL to check for health status. Required when hideIfNotHealthy is true.

    hideIfNotHealthy booleannullable

    Hide this release from agents if the health check URL is not healthy

    installationSize int64nullable

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

    postInstallAction

    object

    exePath stringnullable

    Executable path to run (required when type is EXE)

    type Typerequired

    Possible values: [product, formation]

    url stringnullable

    URL to open (required when type is WEB)

    repeatableActions string[]nullable

    Deploy/V2: the supported actions that re-run on every call (default: all except install and uninstall; install.yaml Repeatable overrides).

    supportedActions string[]nullable

    Deploy/V2: the actions the agent exposes for this release (mirrors install.yaml Actions).

    timeoutInstallation int64nullable

    Timeout installation in minutes (user-specified)

    totalSize int64nullable

    Total size in bytes - automatically calculated as installationSize + artifactsSize

    policies

    object[]

    Policies associated with this release

  • Array [

  • association

    object

    required

    releases

    object[]

    Associated releases for policies

  • Array [

  • projectName stringrequired

    Project name

    version stringrequired

    Release version

  • ]

  • createdAt stringrequired

    Policy creation timestamp

    description stringnullable

    Policy description

    id stringrequired

    Policy rule ID

    isActive booleanrequired

    Whether the policy is active

    isPush booleannullable

    Whether this policy should be pushed to agents

    name stringrequired

    Policy name

    rule objectrequired

    The policy rule definition conforming to rule engine schema

    type Typerequired

    Possible values: [product, formation]

    updatedAt stringrequired

    Policy last update timestamp

    version doublerequired

    Policy version number

  • ]

  • policyIds string[]nullable

    Policy IDs associated with this release. Present when deduplicatePolicies flag is set to true.

    projectId int32required
    projectName stringrequired
    projectTypeV2 object

    The actual project type, regardless of agent compatibility

    releaseNotes stringnullable
    releasedAt date-time
    size int64nullable
    status Statusrequired

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

    tagline stringnullable

    Short one-line summary of the project

    tags string[]nullable

    Tags of the project

    type Typerequired

    Possible values: [product, formation]

    updatedAt date-timerequired
    version stringrequired
  • ]

  • restrictions

    object[]

    required

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

  • Array [

  • createdAt stringrequired
    description stringnullable
    id stringrequired
    isActive booleanrequired
    name stringrequired
    rule objectrequired

    The restriction rule object

    type Typerequired

    Possible values: [product, formation]

    updatedAt stringrequired
    version doublerequired
  • ]

Loading...