GET /shows/:id/chat_users

Return a list of users in a show's chat room

This method returns the entire list of users in a chatroom for a given show. It will also include anonymous viewers with a registered property set to false.

Resource URL

https://api.chew.tv/v1/shows/:id/chat_users
Parameters Example
Required Parameters
:id

Parent show’s unique ID

58058

Response

Successful requests will return the following JSON structure:

Properties
count

Number of users currently in the chat room

users

Array of Users with an additional boolean registered property. Logged out viewers will have this set to false.

Example data
{
  "users":[
    {
      "id": "191f0890-ae56-11e6-8c91-c509fd72cf95",
      "name": "Anonymous",
      "registered": false
    },
    {
      "id": 22128,
      "url": "https://chew.tv/millar",
      "object_url": "https://api.chew.tv/v1/users/22128",
      "slug": "millar",
      "name": "Millar",
      "location": "London",
      "description": "Awaiting sponsorship from Pioneer.",
      "created_at": "2015-06-15 11:13:06",
      "dj": true,
      "producer": false,
      "featured": false,
      "radio": true,
      "image_url": "https://image-cdn.chew.tv/millar/millar.png?1472749628",
      "cover_url": "https://image-cdn.chew.tv/millar/cover/millar_1240.png?1472749628",
      "followers_count": 119,
      "registered": true
    }
  ],
  "count": 2
}