action truesight_collect_now {
label: "Triggers a new collect on a specific device."
description: "You need to provide the Device ID and Monitor Class parameters to identify the device:
- Use the /hardware/devices service in the Device section to retrieve the Device ID of any device.
- Use the /hardware/device-monitors/{deviceId} service in the Device section to retrieve the Monitor Class of a device."
provider: truesight
method: POST
path: "/hardware/actions/{deviceId}/collect-now"
encoding: json
input: {
type: "object"
properties: {
deviceId: {
type: "integer"
format: "int32"
}
monitorClass: {
type: "string"
}
}
required: ["deviceId", "monitorClass"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}