Streams API returns incorrect response

It looks like a bug in API. The following request


{'stream': {'_id': 25433645952,
        'average_fps': 0,
        'broadcast_platform': 'playlist',
        'channel': {'_id': 25604128,
                    'broadcaster_language': 'ru',
                    'broadcaster_type': 'partner',
                    'created_at': '2011-10-21T13:23:03.557676Z',
                    'description': 'Hello, I am russian streamer. '
                                   'Streaming mostly in russian (because '
                                   'most part of my community is '
                                   'russians), but I understand english '
                                   'well. If you have any questions, feel '
                                   'free to ask them right away.',
                    'display_name': 'guit88man',
                    'followers': 46612,
                    'game': 'Space Rangers',
                    'language': 'en',
                    'logo': '',
                    'mature': False,
                    'name': 'guit88man',
                    'partner': True,
                    'profile_banner': '',
                    'profile_banner_background_color': '',
                    'status': '(RUS) Космические рейнджеры 200%, день 4',
                    'updated_at': '2017-06-06T09:34:04.708003Z',
                    'url': '',
                    'video_banner': '',
                    'views': 8317384},
        'community_id': '',
        'created_at': '2017-06-04T16:25:44Z',
        'delay': 0,
        'game': 'Space Rangers',
        'is_playlist': False,
        'preview': {'large': '',
                    'medium': '',
                    'small': '',
                    'template': '{width}x{height}.jpg'},
        'stream_type': 'live',
        'video_height': 0,
        'viewers': 0}}

But the stream is already offline for a few days. Another thing is inconsistent values of keys: broadcast_platform, is_playlist and stream_type. However the request

gives nothing which is correct.

It is “live” via the playlist beta available for some partners. The inconsistencies with is_playlist, stream_type and broadcast_platform does seem like a bug to me.

According to APIv5 reference

Constrains the type of streams returned. Valid values: live, playlist, all. Playlists are offline streams of VODs (Video on Demand) that appear live. Default: live.

Why return playlist stream while stream_type=live has set? I expect to take only live stream not playlist.

There is only 17 streams associated with stream_type=playlist now in

Request each of them with{channel_id}?stream_type=live

returns similar response.

Also using stream_type=live filter will return results with stream_type=watch_party, but the user isn’t actually live but using the new play-a-VOD thing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.