Device

Retrieves the MQTT connection metrics based on the provided filters. Date must be in format YYYY-MM-DD. - No parameters: returns all metrics for all devices the user can access. - Only SerialNumber: returns all history for that device. - Only DeviceId: returns all history for that device. - Only Date: returns all devices that connected on that day. - SerialNumber + Date: returns the single record. - DeviceId + Date: returns the single record. User can only see metrics for devices they have access to (admin, owner, collaborator, or group member).

get/device/mqtt_connections

Request

  • Base URL: https://remo.nastec.eu/api
  • URL: https://remo.nastec.eu/api/device/mqtt_connections
  • Auth: API key in header X-Api-Key

Query parameters

datestring date

Gets or sets the date.

serialNumberstring

Gets or sets the serial number.

deviceIdstring

Gets or sets the device id.

Response

OK

deviceIdstring nullable

Gets or sets deviceId value.

datestring nullable

Gets or sets the date of the metric.

lastConnectionAtstring date-time nullable

Gets or sets the last connection date.

connectionsCountinteger

Gets or sets the connected status.

serialNumberstring nullable

Gets or sets the serial number.

Changes

No recorded changes to this operation across all 1 revision of this API.