Path parameters
-
channel_id
string Required The Channel's ID.
GET
/channels/{channel_id}
curl \
-X GET https://rest.ably.io/channels/{channel_id}
Response examples (200)
# Headers
x-ably-serverid: string
# Payload
{
"channelId": "string",
"region": "string",
"isGlobalMaster": true,
"status": {
"isActive": true,
"occupancy": {
"publishers": 42,
"subscribers": 42,
"presenceSubscribers": 42,
"presenceConnections": 42,
"presenceMembers": 42
}
}
}
Response examples (200)
# Headers
x-ably-serverid: string
# Payload
{
"channelId": "string",
"region": "string",
"isGlobalMaster": true,
"status": {
"isActive": true,
"occupancy": {
"publishers": 42,
"subscribers": 42,
"presenceSubscribers": 42,
"presenceConnections": 42,
"presenceMembers": 42
}
}
}
Response examples (default)
# Headers
x-ably-errorcode: 42
x-ably-errormessage: string
x-ably-serverid: string
# Payload
{
"message": "string",
"code": 42,
"statusCode": 42,
"href": "string",
"serverId": "string"
}
Response examples (default)
# Headers
x-ably-errorcode: 42
x-ably-errormessage: string
x-ably-serverid: string
# Payload
{
"message": "string",
"code": 42,
"statusCode": 42,
"href": "string",
"serverId": "string"
}