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: consider using APIv3 standard endpoints #356

Open
humitos opened this issue Aug 6, 2024 · 0 comments
Open

API: consider using APIv3 standard endpoints #356

humitos opened this issue Aug 6, 2024 · 0 comments
Labels
Needed: design decision A core team decision is required

Comments

@humitos
Copy link
Member

humitos commented Aug 6, 2024

Now that we are allowing public access to APIv3 endpoints, we can think about making different API queries using the common APIv3 endpoints to fetch small chunks of data instead doing one big call to the specific /_/addons/ one.

This would be transparent for our own JavaScript library and for users of the CustomEvent because it will be managed internally and the exact same JSON-like object will be returned.

As a example,

This may be something good to explore since I'm seeing some benefits on caching (not all of the responses will be purged on each new build) and also in maintenance as well, since it's going to be one less big endpoint to maintain over time. Besides, we will become users of our own APIv3 which will make us to keep improving it over time.

@humitos humitos added the Needed: design decision A core team decision is required label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

1 participant