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

504 when requesting 100 notices #129

Open
nottrobin opened this issue May 19, 2023 · 1 comment
Open

504 when requesting 100 notices #129

nottrobin opened this issue May 19, 2023 · 1 comment

Comments

@nottrobin
Copy link
Contributor

History here: https://chat.canonical.com/canonical/pl/4m1kkwir1f8x3fabk9b4dtgyjy

At the time of writing, https://ubuntu.com/security/notices.json works, https://ubuntu.com/security/notices.json?limit=20 works, but https://ubuntu.com/security/notices.json?limit=100 produces a 504 error. It's not clear right now if this has been the case for a long time or is a recent development.

Requesting 100 notices is probably not an unreasonable ask. We should see if it's possible to provide this. If it's not possible we should make it clear the maximum number that's supported by the API for querying at any one time.

@samhotep
Copy link
Member

Added a hard limit of 20 for now
#170

We'll keep 100 as a requirement for a new version of the API

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

No branches or pull requests

2 participants