Device

Retrieves the count of devices based on the provided filters.

get/device/list/count

Request

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

Query parameters

groupMemberIdsstring[]

Gets or sets the list of active group member IDs for filtering. When set, filters devices to include only those owned by users in this group. Used in conjunction with group-based permissions to show devices accessible to group members.

typestring
Example:"iot", "iot32", "smartphone".

Gets or sets the device type filter to distinguish between IoT devices and smartphones.

pairedboolean

Gets or sets the pairing status filter to show only paired or unpaired devices.

ownerstring
Example:"user123", "auth0|123456789".

Gets or sets the specific owner ID to filter devices by a single user. When set, returns devices owned by this user or where this user is a collaborator.

ownersstring[]

Gets or sets the list of user IDs to filter devices where users are owners or collaborators. Supports complex permission scenarios by allowing multiple user IDs in a single filter. When combined with GroupMemberIds, uses OR logic to include devices accessible through either mechanism.

filterdUserIdsstring[]

Gets or sets the list of user IDs that match a search query. This property is populated by the controller after processing search terms and contains user IDs whose profiles match the search criteria. Used internally to filter devices by searchable user information.

connectionStatusstring
Example:"online", "offline".

Gets or sets the connection status filter to show devices based on their online/offline state. Devices are considered online if they have connected within the last 10 minutes.

stateinteger

Gets or sets the device state filter.

searchstring

Gets or sets the generic search filter value.

idsstring[]

Gets or sets the list of ids.

Response

Returns the count of devices.

integer required

Changes

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