Host

POST /api/host/{hostname}/identify_device

    Identify a device by switching on the device light for N seconds.
    :param hostname: The hostname of the device to process.
    :param device: The device identifier to process, e.g. ``/dev/dm-0`` or
    ``ABC1234DEF567-1R1234_ABC8DE0Q``.
    :param duration: The duration in seconds how long the LED should flash.
    

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/host/{hostname}/identify_device
  • Auth
    HTTP bearer

Path parameters

hostnamestring required

Request body

devicestring required
durationstring required

Response

Resource created.

object required

Changes

No recorded changes to this operation across all 68 revisions of this API.