Closed schmidni closed 4 months ago
As a visitor of the Website, I would like to always see the latest published and preferred RIA for the current event, no matter if it is calculated for an older "iteration" of the event or not.
Instead of using the reiaws/riskassessment endpoint, use the new reiaws/v1/origin/{originid}/riskassessments endpoint which is being implemented here: https://github.com/swiss-seismological-service/REIA-ws/issues/21
reiaws/riskassessment
reiaws/v1/origin/{originid}/riskassessments
User Story
As a visitor of the Website, I would like to always see the latest published and preferred RIA for the current event, no matter if it is calculated for an older "iteration" of the event or not.
Acceptance Criteria
Instead of using the
reiaws/riskassessment
endpoint, use the newreiaws/v1/origin/{originid}/riskassessments
endpoint which is being implemented here: https://github.com/swiss-seismological-service/REIA-ws/issues/21