-
Notifications
You must be signed in to change notification settings - Fork 4
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-request: ability to filter the last changed items on list endpoints #525
Comments
9c0b255 Add |
I think the query parameter to triggering the filtering should be |
Hi @Kobo-one , The following endpoints should now be available to you:
Both endpoints have the following parameters available:
which can take an ISO8601 formatted date, e.g. 2020-01-01. If either are left blank, no restriction to that end of the date range will be made. |
HI @ngm, Thank you. I was able to get (network, group and event) data from other networks aswel. Is this expected behaviour? |
Yes, we haven't chosen to restrict any of the group/event info in v2 for now, given that none of it is personal or private. Given what we discussed about ORDP earlier, it seems potentially possible that we'll expose all of this info in future for that purpose. That said, it's possible we may decide otherwise, or to provide access to everything for ORDP via a different 'firehose' endpoint, so don't necessarily rely on having access to other networks this way in future, just your own :) |
Would it be possible to add a filter
updated_since
to the list endpoint.That way it would be possible to query the endpoints only based on data that changed instead of returning every item.
This would be used by Statik to connect Restarters.net and Repair Connects. We store some of the group and event data to make device live logging possible. This is done using a periodic sync.
Possible endpoints:
/groups/network
and/events/network
The text was updated successfully, but these errors were encountered: