Skip to content

Feature Request: Add Channel ID to /channels endpoint #396

Description

@yusufalitangoz

Is your feature request related to a problem? Please describe.
I need to listen channel stream status using pusher websocket connection via channel id, but /channels endpoint isn't returning the channel id.

Describe the solution you'd like
Add channel id to /channels endpoint.

Describe alternatives you've considered
I can fetch channel id via internal api, but I think this is wrong way. I know I can receive notifications about updated stream status via events, but this method is overkill for my integration.

Additional context
When I read the issues, I saw that kick will offer websocket in the future. Currently, the only way to listen the channel stream status in real time without using events is using pusher.

{
  "data": [
    {
      "id": 111,  <--------- The channel id I want added.
      "active_subscribers_count": 150,
      "banner_picture": "https://kick.com/img/default-banner-pictures/default2.jpeg",
      "broadcaster_user_id": 123,
      "canceled_subscribers_count": 25,
      "category": {...},
      "channel_description": "Channel description",
      "slug": "john-doe",
      "stream": {...},
      "stream_title": "My first stream"
    }
  ],
  "message": "text"
}

I need channel id for this subscription.

{
    "event": "pusher:subscribe",
    "data": {
        "auth": "",
        "channel": "channel_xxx"
    }
}

I want to receive real time notifications about when a channel starts or stops streaming, and when a category is updated via using websocket. If there's another way to do what I want, or if you have any suggestions, I'd appreciate it if you shared them. 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions