POST /shows/:id/stop

Stop a live show.

The target show must have been created by the authenticated user.

Resource URL

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

Target show’s unique ID

58260

Response

Successful requests will return the following JSON structure:

Properties
show

Completed 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": "New Title",
    "description": "Here's a show I made with the API!",
    "start": "2016-02-16 13:00:13",
    "created_at": "2016-02-16 12:50:49",
    "duration": 367,
    "live": false,
    "complete": true,
    "archive": false,
    "featured": false,
    "upload": false,
    "private": false,
    "radio": false,
    "off": false,
    "comments_count": 0,
    "favorites_count": 0,
    "thumbnail_label": "Finished",
    "video_url": null,
    "audio_url": null,
    "image_url": "http://image.cdn.chew.tv/millar-yajy5/millar-yajy5.png?1455627512",
    "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"
    }
  }
}