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

extensions/live pagination inconsistent with the rest of helix #541

Open
BarryCarlyon opened this issue Dec 20, 2021 · 1 comment
Open

Comments

@BarryCarlyon
Copy link
Contributor

Brief description

https://dev.twitch.tv/docs/api/reference#get-extension-live-channels

Is inconsistent with the rest of helix, as pagination is a string instead of an object

How to reproduce

barrycarlyon@Robyn ~ % twitch api get 'extensions/live?extension_id=es7m79v91nz4xxhzljdl3rpg9m1iuz&first=2'
Error unmarshalling body: json: cannot unmarshal string into Go struct field APIResponse.pagination of type models.APIPagination%   

Expected behavior

Consistency with the rest of helix

Additional context or questions

It is documented as a string but as you can see it breaks the Twitch CLI

@beheh
Copy link

beheh commented Jan 16, 2022

Kind of the same as #524, although there it is phrased as a documentation issue.

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

2 participants