POST /shows

Create a new show.

Resource URL

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

Name for the show

Practice
description

Description of the show

My latest practice...
Optional Parameters
private

Should this show be hidden from other users (default: false)

true
start

Scheduled start date for this show (must be in the future)

2016-12-31 21:00:00
tags

Array of tags for this show

["house", "pop"]
headline

Whether or not to make this show the user’s headline show (default: false)

true
radio

Whether this show is a radio show (user must be approved for radio shows, default: false)

true

Response

Successful requests will return the following JSON structure:

Properties
show

New Show object

Example data
{
  "show": {
    "id": 58260,
    "url": "http://chew.tv/millar/api-show",
    "object_url": "http://api.chew.tv/v1/shows/58260",
    "slug": "api-show",
    "name": "API Show",
    "description": "Here's a show I made with the API!",
    "start": "2016-02-16 12:50:49",
    "created_at": "2016-02-16 12:50:49",
    "duration": null,
    "live": false,
    "complete": false,
    "archive": false,
    "featured": false,
    "upload": false,
    "private": false,
    "radio": false,
    "off": false,
    "comments_count": 0,
    "favorites_count": 0,
    "thumbnail_label": "Starting Soon",
    "video_url": null,
    "audio_url": null,
    "image_url": "http://image.cdn.chew.tv/millar-yajy5/millar-yajy5.png?1455627062",
    "gif_url": null,
    "embed_code": "<div class=\"chew\" data-uri=\"millar/api-show\"></div><script src=\"//chew.tv/assets/js/embed.js\"></script>",
    "stream_url": "rtmp://stream-na-beta.chew.tv/live",
    "stream_key": "chew-millar-00pgg",
    "tags": [],
    "user": {
      "id": 22128,
      "url": "http://chew.tv/millar",
      "object_url": "http://api.chew.tv/v1/users/22128",
      "slug": "millar",
      "name": "Millar",
      "email": "sam@chew.tv",
      "location": "London",
      "description": null,
      "created_at": "2015-06-15 11:13:06",
      "dj": true,
      "producer": false,
      "featured": false,
      "radio": true,
      "image_url": "http://image.cdn.chew.tv/millar/millar.png?1440507811",
      "cover_url": "http://image.cdn.chew.tv/millar/cover/millar_1240.png?1440507811"
    }
  }
}