Skip to main content

Register a component as installed on a device.

POST 

/devices/:device_id/components

This endpoint allows a device to report that it has a specific component installed. The component can be identified either by its catalogId, or by a combination of name and version.

  • Use catalogId when it is known (usually from the server).
  • Use name and version when catalogId is not available.

The agent will associate the component with the given device. If the component does not yet exist, the agent may create a new one based on the provided data.

Request

Path Parameters

    device_id stringrequired

    ID of the device to retrieve components for

Body

required

    oneOf

    name stringrequired
    version stringrequired

Responses

Loading...