/images/favicon.ico
NEXhome Developer Platform
  • English
  • 简体中文
NEXhome Developer Platform
  • English
  • 简体中文
  • API Basic Information
  • API Request parameters
  • Response
  • Related data models

Get Device List

API Basic Information


API Description: None

Request method: get

API Request path: /api/v1/cits/devices

API Request parameters


Path request parameters

None

Query parameters

parameter nametyperequiredremark
iotIdListstringOptionalList of device iotIds to query.
gatewayIotIdstringOptionalFill in when querying the list of sub devices under the specified edge gateway
productIdstringOptionalCorresponding product id of the device.
productIdListarrayOptionalList of product IDs
typestringOptionalDevice type. Optional values: UNSPECIFIED - Unknown state. ACCESS - Access device. INTERCOM - Intercom device. INDOOR - Indoor unit.
typeListarrayOptionalDevice type list (same options as type)
macListstringOptionalList of device mac addresses to query.
onlineStatusstringOptionalOnline status: UNSPECIFIED/ONLINE/OFFLINE
pageintegerOptionalThe current page number to return (starting from 0). If not specified, the default is 0.
sizeintegerOptionalNumber of items displayed per page,default is 50 if not specified. The backend restricts the maximum number of records per page to not exceed 50, any value above 50 will be treated as 50.

Request body

None

Response


parameter nametyperequiredremark
currentPageintegerOptionalThe current page number, starting from 0.
totalElementsintegerOptionalThe total number of records.
totalPagesintegerOptionalThe total number of pages.
elements[]DeviceDtoOptionalList of devices on the current page.

Related data models


Device

nexhome.iotdomain.cits.v1.devices.DeviceDto

parameter nametyperequiredremark
idintegerOptionalDevice ID.
iotIdstringOptionalDevice IOT ID.
productIdstringOptionalCorresponding product ID of the device.
namestringOptionalDevice name.
positionstringOptionalDevice location.
typestringOptionalDevice type. Options: UNSPECIFIED - Unknown. ACCESS - Access device. INTERCOM - Intercom device. INDOOR - Indoor unit. GATEWAY - Edge gateway. IPC - Camera. CENTER - Master station. ROBOT - Robot. SIGNAGE - Door signage
brandstringOptionalDevice brand
remarkstringOptionalDevice remark
macstringOptionalDevice mac
ipstringOptionalDevice IP
maskstringOptionalSubnet mask
gatewaystringOptionalGateway
dnsstringOptionalDNS
softVersionstringOptionalSoftware version
softVersionCodeintegerOptionalSoftware version code
hardVersionstringOptionalHardware version
onlineStatusstringOptionalOnline status, UNSPECIFIED (unknown)/ONLINE (online)/OFFLINE (offline) Optional values: UNSPECIFIED - Unknown state. ONLINE - Online. OFFLINE - Offline.
lastOnlineTimeintegerOptionalLast online timestamp (milliseconds)
snstringOptionalDevice sn
sipNumberstringOptionalDevice SIP number (returned for intercom devices)
modelstringOptionalModel
coverstringOptionalDevice cover file key (currently only for IPC devices). Call /api/v1/cits/devices/{iot_id}/files:generateOssUrl to obtain URL
gatewayIotIdstringOptionalParent device IoT ID (returned when querying sub-devices)
spaceIdstringOptionalSpace ID (returned when querying sub-devices from edge)
spaceNamestringOptionalSpace full name (returned when querying sub-devices from edge)
spaceLayerintegerOptionalSpace layer (returned when querying sub-devices from edge)
developerIdstringOptionalDevloper ID
developerAppIdstringOptionalAPP-ID
createdTimeintegerOptionalCreate time
lastModificationTimeintegerOptionalUpdate Time
relayListRelayDetailOptionalRelay list
platformstringOptionalDevice platform
Options: UNSPECIFIED - Unknown. NEXHOME - NEXHOME. HTW - HTW
Last Updated: 10/17/25, 9:54 AM
Contributors: chenxiao, lwq
Prev
Generate Device OSS File Download URL
Next
Get Sub-Devices Under Edge Gateway