《API》
《API(RestfulAPI)》
《API(WebSocket)》
《API(mqtt)》
For authentication information, please refer to this chapter.。
WebSocket In this chapter, some details need to be referred to the descriptions in the RestfulAPI documentation.
Request Instructions | ||||
Request Address | https://{host}/api/v1/ | |||
Head | ||||
Name | Types of | Length | Constraint | Describe |
Authorization | string | M | Reference Authentication | |
Response message parameter description | ||||
Name | Types of | Length | Constraint | Describe |
success | boolean | M | true:success false: fail | |
code | int | M | 200:success | |
message | string | M | message description | |
data | json | M | Data returned by the interface | |
Response JSON data format | ||||
《API》
《API(RestfulAPI)》
《API(WebSocket)》
《API(mqtt)》
For authentication information, please refer to this chapter.。
WebSocket In this chapter, some details need to be referred to the descriptions in the RestfulAPI documentation.
Request Instructions | ||||
Request Address | https://{host}/api/v1/ | |||
Head | ||||
Name | Types of | Length | Constraint | Describe |
Authorization | string | M | Reference Authentication | |
Response message parameter description | ||||
Name | Types of | Length | Constraint | Describe |
success | boolean | M | true:success false: fail | |
code | int | M | 200:success | |
message | string | M | message description | |
data | json | M | Data returned by the interface | |
Response JSON data format | ||||