Skip to content

Find all items filtering by attributes #91

@EliuX

Description

@EliuX

Right now every API namespace has a find all endpoint, which basically returns a list of all available items. We would like to be able to filter that result by attributes of interest. E.g.:

  • name
  • deleted

This way we could answer questions like:

Are there any deleted item having "x" as name

TODO:

  • Implement a way that allows finding with any repository all items that match a particular criteria:
    • The attribute is equal to x
    • The attribute partially matches x (Optionally, if Cosmos DB SQL API allows it)
    • The attribute is not equal to (Nice to have)
  • Create the corresponding search criteria for every API namespace. It should be available in a URL like GET https://timetracker-api.azurewebsites.net/projects?filters[name]=ernest%20and%20young&filters[deleted]=true

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions