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

Add material sort/filter functionality to find all (GET /materials) #63

Merged
merged 2 commits into from
Dec 23, 2020

Conversation

diogotcorreia
Copy link
Member

Closes #44

This allows the following query fields into the GET /materials endpoint: _q, _sort, _limit, _start, type and state.

Both type and state accept lists separated by commas (,).

Added a GET /materials/count endpoint (accepts _q, type and state query fields).

@diogotcorreia diogotcorreia added enhancement New feature or request backend labels Dec 23, 2020
@diogotcorreia diogotcorreia added this to the Sprint 4 milestone Dec 23, 2020
@diogotcorreia diogotcorreia self-assigned this Dec 23, 2020
@diogotcorreia diogotcorreia merged commit 2655ec7 into master Dec 23, 2020
@diogotcorreia diogotcorreia deleted the diogotcorreia/issue44 branch December 23, 2020 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add material sort/filter functionality to find all (GET /materials)
1 participant