GAP REST API
2021-03-31 09:24:42 1 举报
AI智能生成
GAP REST API White Paper
作者其他创作
大纲/内容
Nodes
Discover and List Enabled Nodes
Requests
Passive Scan
GET http://<gateway>/gap/nodes?passive=1
Active Scan
GET http://<gateway>/gap/nodes?active=1
List Enabled Devices
GET http://<gateway>/gap/nodes?enable=1
Return an Enabled Node Data
GET http://<gateway>/gap/nodes/<node>
Responses
200 - OK
400 - Bad Request
404 - Not Found
Enable and Disable
Requests
Enable and Connect
PUT http://<gateway>/gap/nodes/<node>?connect=1(&interval=<interval>&latency=<latency>&enable=1)
Remove a Node
PUT http://<gateway>/gap/nodes/<node>?enable=0
Responses
200 - OK
400 - Bad Request
404 - Not Found
Name Discovery
Requests
A Name Discovery
GET http://<gateway>/gap/nodes/<node>?name=1
Responses
400 - Bad Request
404 - Not Found
504 – Not able to connect
General Errors Return
406 – Not acceptable
0 条评论
下一页