swiss-seismological-service / REIA-ws

API for the data from the near real time event specific loss calculations.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Disable Discovery of Unpublished RIA Calculations #12

Closed schmidni closed 10 months ago

schmidni commented 11 months ago

User Story

As SED I only want to publicly list calculations which first have been set to "published" so that no erroneous or "test" calculations are consumed.

Acceptance Criteria

In the SED version of the webservice, the /riskassessment endpoint only displays riskassessments which have set the flag "published" to "true". Also there is an endpoint, which is not listed in the documentation, which displays all of them.