Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 968 Bytes

get.md

File metadata and controls

42 lines (33 loc) · 968 Bytes

Get all devices

Retrieves all devices that are registered on the gateway.

  • URL

    /api/devices

  • Method:

    GET

  • Success Response:

    • Code: 200
      Data Content:

             [
                 {
                     deviceId: string,
                     name: string,
                     type: string,
                     measurementMethod: string,
                     interruptionsAllowed: boolean,
                     maxPower: number,
                     emSignalsAccepted: boolean,
                     status: string,
                     vendor: string,
                     serialNr: string,
                     absoluteTimestamps: boolean,
                     optionalEnergy: boolean,
                     minOnTime?: number,
                     minOffTime?: number,
                     url?: string
                 }, ...
             ]
      
  • Notes:

    Returns an empty list if no devices are registered.