Skip to main content
GET
/
device-groups
/
{uuid}
Get device group
curl --request GET \
  --url http://localhost:8000/device-groups/{uuid} \
  --header 'X-API-KEY: <api-key>'
{
  "uuid": "<string>",
  "name": "<string>",
  "description": "<string>",
  "parentUuid": "<string>",
  "devices": [
    {
      "serialNumber": "<string>",
      "alias": "<string>",
      "description": "<string>",
      "name": "<string>",
      "orgUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "location": {
        "lat": 123,
        "lon": 123
      },
      "samplingPeriodSeconds": 123,
      "txPeriodSeconds": 123,
      "health": {
        "battery": {
          "voltage": 123,
          "percentage": 123,
          "remaining": "<string>",
          "isCharging": true
        },
        "connection": {
          "status": "online",
          "lastSeen": "2023-11-07T05:31:56Z",
          "signalStrength": {
            "rssi": 123,
            "rsrp": 123,
            "rsrq": 123,
            "signalQuality": "no signal"
          },
          "error": {
            "code": 123,
            "message": "<string>"
          },
          "txSuccessRate": 123,
          "txProtocol": "coap",
          "nextTxTimestamp": "2023-11-07T05:31:56Z"
        },
        "sensors": {
          "status": "ok",
          "error": {
            "code": 123,
            "message": "<string>"
          },
          "lastDataTimestamp": "2023-11-07T05:31:56Z"
        },
        "powerSource": "battery"
      },
      "lastTxTimestamp": "2023-11-07T05:31:56Z",
      "product": "<string>",
      "hardware": {
        "model": "<string>",
        "revision": "<string>"
      },
      "modems": [
        {
          "type": "astrocast",
          "model": "<string>",
          "imei": "<string>",
          "iccid": "<string>",
          "uuid": "<string>"
        }
      ],
      "firmware": {
        "string": "<string>",
        "version": "<string>"
      },
      "tags": [
        {
          "id": 123,
          "name": "<string>",
          "colour": "<string>"
        }
      ],
      "_internal": {
        "peripheralId": 123,
        "metadata": "<unknown>",
        "config": "<unknown>"
      },
      "sensors": [
        {
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "model": "HPT604-V",
          "type": "ph",
          "physicalSensor": {
            "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "serialNumber": "<string>"
          },
          "connectionType": "integrated",
          "name": "<string>",
          "alias": "<string>",
          "deviceSerialNumber": "<string>",
          "parameters": [
            {
              "deviceSerialNumber": "<string>",
              "sensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "alias": "<string>",
              "name": "<string>",
              "parameterType": "temperature",
              "baseUnit": "<string>",
              "displayUnit": "<string>",
              "displayPrecision": 123,
              "suppressFaults": true,
              "sourceType": "<string>",
              "readIndex": 123,
              "deviceAlarmSupported": true,
              "createdAt": "2023-11-07T05:31:56Z",
              "updatedAt": "2023-11-07T05:31:56Z",
              "parameterPath": {
                "deviceSerialNumber": "1234567890",
                "sensorName": "VibratingWire_CH1",
                "parameterName": "Frequency_CH1"
              },
              "status": "ok",
              "configErrorMessage": "<string>",
              "lastFaultSummary": {
                "reason": "null_value",
                "message": "<string>",
                "faultyPointsCount": 123,
                "totalPointsCount": 123
              },
              "lastFaultTimestamp": "2023-11-07T05:31:56Z"
            }
          ],
          "channelIndex": 123,
          "isActive": true,
          "health": {
            "status": "ok",
            "warnings": [
              "<string>"
            ],
            "errors": [
              "<string>"
            ]
          },
          "attributes": [
            {
              "behaviour": "static",
              "name": "<string>",
              "alias": "<string>",
              "valueType": "numeric",
              "value": 123,
              "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "attributeSource": "custom",
              "description": "<string>",
              "unit": "<string>",
              "function": "offset",
              "parameterType": "unknown",
              "timestamp": "2023-11-07T05:31:56Z",
              "sensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "physicalSensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "optionSet": {
                "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
                "name": "<string>",
                "description": "<string>",
                "orgUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
                "optionsType": "numeric",
                "options": [
                  {
                    "value": 123,
                    "label": "<string>"
                  }
                ],
                "allowCustomValue": true
              },
              "template": {
                "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
                "templateName": "<string>"
              },
              "updatedAt": "2023-11-07T05:31:56Z"
            }
          ],
          "lastActivatedAt": "2023-11-07T05:31:56Z",
          "lastDeactivatedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "derivedParameters": [
        {
          "deviceSerialNumber": "<string>",
          "sensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "alias": "<string>",
          "name": "<string>",
          "parameterType": "temperature",
          "baseUnit": "<string>",
          "displayUnit": "<string>",
          "displayPrecision": 123,
          "suppressFaults": true,
          "sourceType": "<string>",
          "readIndex": 123,
          "deviceAlarmSupported": true,
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "parameterPath": {
            "deviceSerialNumber": "1234567890",
            "sensorName": "VibratingWire_CH1",
            "parameterName": "Frequency_CH1"
          },
          "status": "ok",
          "configErrorMessage": "<string>",
          "lastFaultSummary": {
            "reason": "null_value",
            "message": "<string>",
            "faultyPointsCount": 123,
            "totalPointsCount": 123
          },
          "lastFaultTimestamp": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ],
  "children": [
    "<unknown>"
  ]
}

Authorizations

X-API-KEY
string
header
required

API key for authentication passed in the X-API-KEY header.

Example: X-API-KEY: <apiKey>

Path Parameters

uuid
string<uuid>
required

Response

Successful response

uuid
string
required
name
string
required
description
string | null
required
parentUuid
string | null
devices
object[] | null
children
any[]