-
Notifications
You must be signed in to change notification settings - Fork 1
Contracts between core and aggregation #5
Copy link
Copy link
Open
Description
The Aggregation engine should have an API to consume from the Core in order to get the raw data. I don't think there's much left to the imagination here - the only thing that comes to my mind at present, being that I don't remember exactly the rationale for not allowing the Aggregation to interrogate the database directly.
Anyway, I think we can agree on a GET call to obtain reports that satisfy given criteria, i.e.:
/reports/tags/[tag or list of tags]
/reports/[report slug]
/reports/location/[coordinates, radius]
/reports/time/[timestamp, time range]
Would that be suitable? Or we can use streams and just initialise the stream with the required criteria, using always the same endpoint.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels