Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of channels a user has editor for. #147

Open
Muddr opened this issue Nov 14, 2013 · 7 comments
Open

List of channels a user has editor for. #147

Muddr opened this issue Nov 14, 2013 · 7 comments

Comments

@Muddr
Copy link
Contributor

Muddr commented Nov 14, 2013

It'd be nice to be able to get a list of channels a user has editor for. Since it's available to the user on the dashboard I don't see why the info can't be in the API also.

I'd say to use the same response template as the GET /streams/followed.

GET /streams/editor

Returns a list of stream objects that the authenticated user has editor permissions for.
Authenticated, required scope: user_read

Request:

curl -H 'Accept: application/vnd.twitchtv.v2+json' -H 'Authorization: OAuth <access_token>' \
-X GET https://api.twitch.tv/kraken/streams/editor

Response:

{
  "_links": {
    "self": "https://api.twitch.tv/kraken/streams/editor?limit=25&offset=0",
    "next": "https://api.twitch.tv/kraken/streams/editor?limit=25&offset=25"
  },
  "streams": [...]
}
@DeezjaVu
Copy link

DeezjaVu commented Mar 1, 2014

I would really like to see this implemented as I'm working on a dashboard app that pretty much requires this. Right now users have to manually add channel (names) of which they are an editor and even with that, there is no way for me (the app) to check if the user is actually an editor of said channel.

@night
Copy link
Contributor

night commented Aug 15, 2014

+1

1 similar comment
@cletusc
Copy link

cletusc commented Aug 15, 2014

👍

@hagronnestad
Copy link

I could really need this too. I was actually expecting to be able to use the GET /channels/:channel/editors end point for this, but it appears it only works for your own channel, even tho the authenticated user has the channel_read scope and is an editor of the channel in question.

@Fire-
Copy link
Contributor

Fire- commented Jun 12, 2015

+1 , but this should be under users, not streams,
eg: /users/:user/dashboards , /user/dashboards ( authed )

@ghost
Copy link

ghost commented Jun 12, 2015

+1 and agree with fire

@freaktechnik
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants