Channel data
Objects
Get channel data
Changed onReturns the channel data for the specified object and channel.
get/v1/objects/{collection}/{object_id}/channel_data/{channel_id}
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/objects/{collection}/{object_id}/channel_data/{channel_id}
- Auth: HTTP bearer
Path parameters
object_idstring required
Unique identifier for the object.
collectionstring required
The collection this object belongs to.
channel_idstring uuid required
The unique identifier for the channel.
Response
OK
Example response
{
"__typename": "ChannelData",
"channel_id": "123e4567-e89b-12d3-a456-426614174000",
"data": {
"devices": [
{
"locale": null,
"timezone": null,
"token": "device_1"
}
],
"tokens": [
"push_token_1"
]
}
}Changes
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info
- info
added the optional property
/////to the response with the status
- info