GET /users/:id/shows

Get shows created by a specfied user.

This method returns optionally filtered shows paginated in groups of 50. Shows are returned in reverse chronological order.

Scheduled and pending shows are excluded by default.

To filter shows by all users see the similar: GET /shows.

Resource URL

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

Target user ID (or me for authenticated user)

26296
Optional Parameters
page

Retreive given page in paginated result set (defaults to 1)

2
filter

Filter show by name

Practice
scheduled

Fetch only scheduled shows (true) or only complete shows (false)

true
live

Fetch only live or not-live shows

true
archive

Fetch only archived or not-archived shows

true
featured

Fetch only featured or not-featured shows. A featured show is one that appears on the top of the Chew homepage.

false
radio

Fetch only radio or not-radio shows. Radio shows are 24 hour shows that can only be created by selected users but never archive.

false
tag

Find shows tagged with a given tag

deep house

Response

Successful requests will return the following JSON structure:

Properties
page

Current page number

next_url

URL to next page of results (null if page > pages)

prev_url

URL to previous page of results (null if page is 1)

pages

Number of pages in the current result set

count

Number of shows in the current result set

shows

Array of Shows

Example data
{
  "page": 1,
  "next_url": "http://api.chew.tv/v1/users/58058/shows?tag=dubstep&page=2",
  "prev_url": null,
  "pages": 2,
  "count": 14,
  "shows": [
    {
      "id": 58058,
      "url": "http://chew.tv/vr/vibrating-room-98-genoc1de",
      "object_url": "http://api.chew.tv/v1/shows/58058",
      "slug": "vibrating-room-98-genoc1de",
      "name": "Vibrating Room 98 - Genoc1de",
      "description": "A special dubplate transaction, deep vibes of  Dubstep, Garage,  and  Future Dub and much more. Special guest - Distant Roots a.k.a. Genoc1de from Vologda.\n\nsoundcloud.com/genoc1de",
      "start": "2015-12-03 18:40:39",
      "created_at": "2015-12-03 13:26:43",
      "duration": 10116,
      "live": false,
      "complete": true,
      "archive": true,
      "featured": false,
      "upload": false,
      "private": false,
      "radio": false,
      "off": false,
      "comments_count": 71,
      "favorites_count": 0,
      "thumbnail_label": "02:48:36",
      "video_url": "http://video.cdn.chew.tv/vr-zX29X/vr-zX29X_all.m3u8",
      "audio_url": "http://video.cdn.chew.tv/vr-zX29X/vr-zX29X_audio.m3u8",
      "image_url": "http://image.cdn.chew.tv/vr-zX29X/vr-zX29X.png?1455212792",
      "gif_url": null,
      "embed_code": "<div class=\"chew\" data-uri=\"vr/vibrating-room-98-genoc1de\"></div><script src=\"//chew.tv/assets/js/embed.js\"></script>",
      "tags": [
        {
          "name": "Dubstep",
          "slug": "dubstep"
        },
        {
          "name": "garage",
          "slug": "garage"
        },
        {
          "name": "dub",
          "slug": "dub"
        },
        {
          "name": "breakbeat",
          "slug": "breakbeat"
        },
        {
          "name": "vibrating room",
          "slug": "vibrating-room"
        },
        {
          "name": "future dub",
          "slug": "future-dub"
        }
      ],
      "user": {
        "id": 26134,
        "url": "http://chew.tv/vr",
        "object_url": "http://api.chew.tv/v1/users/26134",
        "slug": "vr",
        "name": "Igor Inkey",
        "location": "Moscow, Russia",
        "description": null,
        "created_at": "2015-09-18 06:05:50",
        "dj": true,
        "producer": false,
        "featured": false,
        "image_url": "http://image.cdn.chew.tv/vr/vr.png?1448870444",
        "cover_url": "http://image.cdn.chew.tv/vr/cover/vr_1240.png?1448870444"
      }
    },
  ]
}