Registered Device List API

Written by MOCA System
Updated 4 years ago

Registered Device List

- Get the registered device list.
- Paging is applied. (e.g. If 100 devices need to be searched at one request, it
  needs to set Page: 0, Size: 100.
- Total in paging indicates the total number of paging objects.
  (Not objects in records.)

URL: /site/{siteId}/devices?page={page}&size={size}
siteId: site ID
Method: GET

Request
Response
Example
GET - /site/1/devices?page=0&size=10
Request:
    None
Response:
{"status":200,"message":"success",
 "total": "3"
 "records": [
     {"id":"22","serial":"010203",
      "name":"moca-device",
      "model": "AP-M"
     }
 ]
 }
Did this answer your question?