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

API: Remove the fields parameter #4276

Merged
merged 3 commits into from Feb 12, 2024

Conversation

SamantazFox
Copy link
Member

Rationale

Multiple users have reported that the fields parameter is slowing down API response times significantly.

As most API endpoints are already optimized to make as few requests as possible to Youtube, there is no point in limiting the output. Furthermore, the added processing might be part of the memory leak problem (#1438).

In addition, I'm certain that the small increase in data output is not much of an issue when we have a huge video proxy next to it.

Possible caveats

This might break some people's bash scripts that relied on this parameter to reduce the received JSON output. In my opinion, this is not a bit concern, we can recommend using jq for that purpose.

@SamantazFox SamantazFox requested a review from a team as a code owner November 20, 2023 16:50
@SamantazFox SamantazFox requested review from syeopite and removed request for a team November 20, 2023 16:50
@syeopite
Copy link
Member

syeopite commented Nov 20, 2023

@SamantazFox
Copy link
Member Author

@syeopite thanks!

@absidue
Copy link
Contributor

absidue commented Nov 28, 2023

Just adding a note here, as a reminder that the docs will need updating after this is merged.

@SamantazFox SamantazFox added the need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something label Jan 7, 2024
@SamantazFox SamantazFox added ready and removed need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something labels Jan 14, 2024
@SamantazFox SamantazFox merged commit 1f51255 into iv-org:master Feb 12, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants