-
Notifications
You must be signed in to change notification settings - Fork 137
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: get all notes of a specific category #510
Comments
Sound reasonable. I will extend the API with such a new endpoint. However, |
or |
Another question is: should the result include notes from the exact category only or also notes from sub-categories? Example: Note 1 has category |
i would expect that all notes from subcategories are included, though i know that the use case of @tobiasKaminsky only needs notes from the main category. Maybe an optional query parameter |
It looks like the "correct" way for such a filter on the list of notes is to add a query, I.e. Regarding my last question, I think I will only implement the behavior that is needed, for now. So if I understand correctly, this is an exact category match (do not include subcategories). Is this correct, @tobiasKaminsky ? |
See #518 for a first implementation. Please check if this is sufficient for you. |
Yes, for now I do not "need" subcategories. |
Is your feature request related to a problem? Please describe.
I want to implement woefe/ShoppingList#17
The app shoppingList should store its lists as notes with category "shoppingList".
Therefore it would be great to extend API with
GET /notes/{category}
Describe the solution you'd like
Get all notes from one desired category
Describe alternatives you've considered
Getting all notes and filtering notes
The text was updated successfully, but these errors were encountered: