Connect the device and make it available to the server.
GET/api/devices/v1/deviceconnect/connect
Requirements
This endpoint requires a subscription to one of the following addons:
- Troubleshoot
Calling /connect will upgrade the connection to a persistent websocket connection and make the device available to the management API. The device must provide DeviceJWT identity either as Authorization (Bearer) header or as a cookie named 'JWT'.
Request
Responses
- 101
- 400
- 500
Successful response - change to websocket protocol.
Response Headers
Sec-Websocket-Accept
Standard websocket upgrade response header.
Upgrade
Invalid Request.
Internal Server Error.