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

Response of /API/V1/VIDEOS/:ID have wrong type #557

Open
sudipghimire533 opened this issue May 15, 2024 · 1 comment
Open

Response of /API/V1/VIDEOS/:ID have wrong type #557

sudipghimire533 opened this issue May 15, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@sudipghimire533
Copy link

As described in docs

{
    adaptiveFormats: {
        projectionType: u32
    }
}

But as seen from:

https://vid.puffyan.us/api/v1/videos/Wx92JT6IrKY

value of that field is "RECTUNGULAR"

@unixfox
Copy link
Member

unixfox commented May 15, 2024

True, it shouldn't be an int (https://crystal-lang.org/api/1.12.1/UInt32.html) but a string

Feel free to create a PR for fixing that, file is here: https://github.com/iv-org/documentation/blob/master/docs/api.md

@unixfox unixfox added the documentation Improvements or additions to documentation label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants