Skip to content

Contracts between core and aggregation #5

@barbaracassani

Description

@barbaracassani

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions