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

OONI Run v2.1 add API call for checking multiple descriptors at a time #916

Open
hellais opened this issue Jan 14, 2025 · 2 comments
Open
Assignees
Labels
funder/otfcred2025 ooni/api Issues related to https://github.com/ooni/api priority/low Nice to have

Comments

@hellais
Copy link
Member

hellais commented Jan 14, 2025

It was requested by @sdsantos that it might be useful to have an API call to batch requests for changed descriptors by passing in an updated_time.

@hellais hellais added ooni/api Issues related to https://github.com/ooni/api priority/low Nice to have labels Jan 14, 2025
@hellais hellais self-assigned this Jan 14, 2025
@hellais hellais added this to Roadmap Jan 14, 2025
@hellais hellais moved this to Backlog in Roadmap Jan 28, 2025
@hellais hellais removed this from Roadmap Jan 29, 2025
@hellais hellais removed this from Roadmap Jan 29, 2025
@hellais
Copy link
Member Author

hellais commented Jan 29, 2025

We should discuss better the requirements with the mobile team, if they could provide an example that would be great.

@sdsantos
Copy link

sdsantos commented Feb 4, 2025

If a user has N descriptors (run V2 links) installed, the app needs to do N api calls to /api/v2/oonirun/links/:ID: to know if there's a new update available. Ideally we should have a custom endpoint that would receive a list of run IDs and a timestamp, and would return the list of descriptors with those run IDs updated since that timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
funder/otfcred2025 ooni/api Issues related to https://github.com/ooni/api priority/low Nice to have
Projects
None yet
Development

No branches or pull requests

4 participants