Network Management

Last Updated on : 2024-08-20 06:59:40download

This topic describes the information related to Bluetooth mesh network.

Request method API Description
POST /v1.0/cloud/illume/open/rooms/relation/mesh Query mesh network bound with space

Query mesh network bound with space

API description

Based on the project ID and space ID, query the mesh network bound with the specified space.

API endpoint

POST /v1.0/cloud/illume/open/rooms/relation/mesh

Request parameter

Parameter name Type Parameter type Description Required
projectId String body The project ID. true
roomIds String[] body The space ID. true

Response parameter

Parameter Type Description
code Integer The response code. For more information, see the error code section. It is empty when the operation succeeded.
success Boolean Indicates whether the operation is successful. Valid values:
  • true: succeeded.
  • false: failed.
msg String The error message that is returned if the request fails. It is empty if the request is successful.
t Long The returned 13-bit timestamp.
result Object[] The returned result.

Description of result parameter

[
    {
        "meshId":"Bluetooth Mesh ID",
        "roomId":"Space ID"
    }
]

Sample request

{
  "projectId": "Sample response",
  "roomIds":["Space ID","Space ID"]
}

Sample response

{
  "projectId": "3333333",
  "roomIds": [
    "112222"
  ]
}