Application Side
URI
Request Method |
POST |
---|---|
URI |
/v5/iot/tunnels/{tunnel_id}/source-connect |
Transport Protocol |
wss (Sec-Websocket) |
Request Parameters
Parameter |
Mandatory |
Type |
Location |
Description |
---|---|---|---|---|
tunnel_access_token |
Yes |
String |
Header |
Explanation: Device access tunnel token, which is delivered by the platform through the MQTT topic when a device tunnel is created. Value range: 1–256 characters. |
tunnel_id |
Yes |
String |
Path |
Explanation: Tunnel ID, which uniquely identifies a tunnel. Value range: No more than 128 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. |
Example Request
POST wss://{endpoint}/v5/iot/tunnels/{tunnel_id}/source-connect
Example Response
Status Code: 200 Access success
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot