nina-api icon indicating copy to clipboard operation
nina-api copied to clipboard

Additional endpoints

Open TA2k opened this issue 4 years ago • 5 comments

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

TA2k avatar Aug 13 '21 09:08 TA2k

Do you wanna create a PR for the openapi file?

LilithWittmann avatar Aug 13 '21 09:08 LilithWittmann

No im not able to do this

TA2k avatar Aug 13 '21 09:08 TA2k

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

obsti8383 avatar Aug 31 '21 18:08 obsti8383

@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.

t-huyeng avatar Jan 23 '23 17:01 t-huyeng

@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.):

  • /api31/appdata/gsb/labels/{prefix}_labels.json
  • /api31/appdata/gsb/html/{prefix}/app/datenschutz_matomo.html
  • /api31/appdata/gsb/html/{prefix}/app/impressum.html
  • /api31/appdata/gsb/systemmeldungen/{prefix}/systemmeldungen_v1_android.json
  • /api31/appdata/gsb/onboarding/{prefix}/onboarding_v{version}_android.json

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

  • /api31/warnings/{id}.pl.json

obsti8383 avatar Feb 05 '23 08:02 obsti8383