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

Use compact API for History #3873

Closed
teolemon opened this issue Mar 7, 2021 · 3 comments
Closed

Use compact API for History #3873

teolemon opened this issue Mar 7, 2021 · 3 comments
Assignees
Labels
history The use and exporting of history within the application lists lite API Ideas and proposals for the use of the lite API

Comments

@teolemon
Copy link
Member

teolemon commented Mar 7, 2021

We could use just a single query by using the code field.

[...]/api/v2/search?code=<code1>,<code2>&fields=[...]
@teolemon teolemon added history The use and exporting of history within the application lists lite API Ideas and proposals for the use of the lite API labels Mar 7, 2021
@VaiTon
Copy link
Member

VaiTon commented Mar 7, 2021

Blocked on #3840

@teolemon
Copy link
Member Author

@VaiTon another use: it could allow to share lists for people without the app.
And the app could open any url like that as a list, and propose to save it locally

@VaiTon VaiTon changed the title Consider migrating History and lists to the new compact API Query only useful fields in product history and product lists Apr 4, 2021
@VaiTon VaiTon changed the title Query only useful fields in product history and product lists Use compact API for History and Lissts Apr 4, 2021
@VaiTon VaiTon changed the title Use compact API for History and Lissts Use compact API for History and Lists Apr 4, 2021
@VaiTon VaiTon self-assigned this Apr 4, 2021
@VaiTon
Copy link
Member

VaiTon commented Apr 5, 2021

@teolemon actually we query only the local database when opening lists

@VaiTon VaiTon changed the title Use compact API for History and Lists Use compact API for History Apr 5, 2021
@VaiTon VaiTon closed this as completed in b49652c Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
history The use and exporting of history within the application lists lite API Ideas and proposals for the use of the lite API
Projects
None yet
Development

No branches or pull requests

2 participants