bundesAPI / nina-api

Erhalten Sie wichtige Warnmeldungen des Bevölkerungsschutzes für Gefahrenlagen wie zum Beispiel Gefahrstoffausbreitung oder Unwetter per Programmierschnittstelle.
https://nina.api.bund.dev/
81 stars 5 forks source link

Additional endpoints #6

Open TA2k opened 3 years ago

TA2k commented 3 years ago

All Warning url: https://warnung.bund.de/bbk.config/config_rel.json

AGS extended with 0 to 12 digits: https://warnung.bund.de/bbk.status/status_110000000000.json

Bucketname with ref Id https://warnung.bund.de/bbk.mowas/DE-NW-D-SE020-20210709-20-000.ohne.json

With geolocation https://warnung.bund.de/bbk.mowas/DE-NW-D-SE020-20210709-20-000.json

All endpoints should use with etag header if-none-match

LilithWittmann commented 3 years ago

Do you wanna create a PR for the openapi file?

TA2k commented 3 years ago

No im not able to do this

obsti8383 commented 3 years ago

All endpoints identified by doing some research (have to find out how to put at least the important /warnings/{id}.json (that helps to fetch all details for a specific warning) endpoint into the openapi yaml):

/api31/appdata/gsb/labels/{prefix}_labels.json /api31/dynamic/version/dataVersion.json /api31/warnings/{id}.geojson /api31/appdata/covid/covidrules/{prefix}/{id}.json /api31/appdata/covid/covidticker/{prefix}/tickermeldungen/{id}.json /api31/appdata/gsb/html/{prefix}/app/datenschutz_matomo.html /api31/appdata/gsb/notfalltipps/{prefix}/notfalltipps.json /api31/dashboard/{id}.json /api31/warnings/{id}.json /api31/appdata/gsb/logos/logos.json /api31/appdata/gsb/html/{prefix}/app/impressum.html /api31/lhp/mapData.json /api31/lhp/mapData.json /api31/police/mapData.json /api31/police/mapData.json /api31/dwd/mapData.json /api31/dwd/mapData.json /api31/mowas/mapData.json /api31/mowas/mapData.json /api31/biwapp/mapData.json /api31/biwapp/mapData.json /api31/katwarn/mapData.json /api31/katwarn/mapData.json /api31/appdata/gsb/eventCodes/eventCodes.json /api31/appdata/covid/covidticker/{prefix}/covidticker.json /api31/appdata/gsb/faqs/{prefix}/faq.json /api31/appdata/covid/covidinfos/{prefix}/covidinfos.json /api31/appdata/covid/covidmap/{prefix}/covidmap.json /api31/warnings/{id}.pl.json /api31/appdata/gsb/systemmeldungen/{prefix}/systemmeldungen_v1_android.json /api31/appdata/gsb/onboarding/{prefix}/onboarding_v{version}_android.json

t-huyeng commented 1 year ago

@obsti8383 can you check if there are now any endpoints missing from your list?

As mentioned in #15 https://warnung.bund.de/bbk.<> this is probably the "old" API.

obsti8383 commented 1 year ago

@t-huyeng Nice, thanks a lot! The only endpoints that are missing from the list above are ones that look like they are only relevant for the inner workings of the app or are HTML endpoints for "Impressum" and so on (so not really relevant for the API doc.):

and this one doesn't seem to work at all (when sending the usually IDs at least):