Connection State
GET/api/v2/instance/:instanceId/connection-state
Check your connection status.
Request
Path Parameters
instanceId stringrequired
ID of the instance.
Responses
- 200
- 400
- 401
InstanceConnectionStateResponse
- application/json
- Schema
- Example (from schema)
Schema
state stringrequired
Default value: open | connecting | close | refused
statusReason numberrequired
{
"state": "open | connecting | close | refused",
"statusReason": 0
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...