-
Notifications
You must be signed in to change notification settings - Fork 27
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
Listing and Filtering Resources (specifically Animals) #130
Comments
As far as I know, we haven't discussed this in detail. The url-scheme, of which this would be part, has 'recommended' status right now. Not sure how far we can and should take it: it soon becomes quite specific for a source or a use-case. But a set of recommended naming for filter parameters seems easy enough. |
I am working on the specs in the wiki: https://github.com/adewg/ICAR/wiki/Filtering-resources |
I think the specs are fairly complete and require some discussion before we start filling out all the possible filters. I am not sure how much sense it makes to list all possible filters, the naming convention should cover it. Listing the most likely candidates and all recommended filters should be sufficient. Some things to point out for the discussion:
|
As discussed in todays meeting, some todo's:
|
I've also reviewed the current spec wrt filter parameters: I notice that we now have:
Those would be redefined by this proposal to:
|
I've updated Filtering resources with the feedback as provided above.
|
As discussed in today's meeting: we change the '.' to '-' for concatenation. |
As discussed in the meeting of 25th Feb, this ticket can be closed. |
The endpoint to retrieve animals can currently not be filtered. Although we can deliver all animals that where ever present on a farm, this feels overkill most of the times. So, just delivering the "alive" animals would be more applicable. On the other hand, it is sometimes required to retrieve data about animals that are not on the farm anymore (e.g. "dead" or "off farm"). Is it planned to offer a common/generic/standardized filtering approach for resources? There are examples out there (e.g. for NoSQL-based databases: https://www.arangodb.com/docs/stable/aql/operations-filter.html) that allow you to filter based on the properties of an (JSON) object.
In the specific case something like
...&onlyAlive=false
would be quite convenient, however, this would be very specific for animals and not generic.The text was updated successfully, but these errors were encountered: