Path parameters
-
channel_id
string Required The Channel's ID.
Query parameters
-
clientId
string -
connectionId
string -
limit
integer Default value is
100
.
GET
/channels/{channel_id}/presence
curl \
-X GET https://rest.ably.io/channels/{channel_id}/presence
Response examples (200)
# Headers
link: string
x-ably-serverid: string
# Payload
[
{
"id": "string",
"action": "ABSENT",
"data": "string",
"clientId": "string",
"connectionId": "string",
"timestamp": 42,
"encoding": "string",
"extras": {
"push": {
"data": "string",
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
},
"apns": {
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
}
},
"fcm": {
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
}
},
"web": {
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
}
}
}
}
}
]
Response examples (200)
# Headers
link: string
x-ably-serverid: string
# Payload
[
{
"id": "string",
"action": "ABSENT",
"data": "string",
"clientId": "string",
"connectionId": "string",
"timestamp": 42,
"encoding": "string",
"extras": {
"push": {
"data": "string",
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
},
"apns": {
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
}
},
"fcm": {
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "string"
}
},
"web": {
"notification": {
"title": "string",
"body": "string",
"icon": "string",
"sound": "string",
"collapseKey": "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"
}
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"
}