Skip to main content
GET
/
v1
/
streams
/
{id}
/
before
Previous stream
curl --request GET \
  --url http://localhost:8787/v1/streams/{id}/before \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "streamer_id": "<string>",
  "avg_viewers": 123,
  "peak_viewers": 123,
  "live_views": 123,
  "live_views_final": 123,
  "vod_id": "<string>",
  "game_name": "<string>",
  "started_at": "2023-11-07T05:31:56Z",
  "ended_at": "2023-11-07T05:31:56Z",
  "is_live": true,
  "title": "<string>",
  "tags": [
    "<string>"
  ],
  "updated_at": "2023-11-07T05:31:56Z",
  "watchtime": 123,
  "thumbnail": "<string>",
  "unique_chatters": 123,
  "user_profile_image": "<string>",
  "user_display_name": "<string>"
}

Authorizations

Authorization
string
header
required

Optional bearer token enforced when the Worker is configured with an API token.

Path Parameters

id
string
required

Response

Successful response

id
string
streamer_id
string
avg_viewers
integer | null
peak_viewers
integer | null
live_views
integer | null
live_views_final
integer | null
vod_id
string | null
game_name
string | null
started_at
string<date-time>
ended_at
string<date-time> | null
is_live
boolean
title
string | null
tags
string[] | null
updated_at
string<date-time> | null
watchtime
integer | null
thumbnail
string<uri> | null
unique_chatters
integer | null
user_profile_image
string<uri> | null
user_display_name
string | null