3 Useful for checking if the service and database is running. The JSON output also shows
4 when the database was last updated.
8 * `format=[text|json]` (defaults to 'text')
16 https://nominatim.openstreetmap.org/status.php
19 will return HTTP status code 200 and print `OK`.
21 On error it will return HTTP status code 500 and print a message, e.g.
22 `ERROR: Database connection failed`.
29 https://nominatim.openstreetmap.org/status.php?format=json
32 will return HTTP code 200 and a structure
38 "data_updated": "2020-05-04T14:47:00+00:00"
42 On error will also return HTTP status code 200 and a structure with error
43 code and message, e.g.
48 "message": "Database connection failed"
52 Possible status codes are
55 |-----|----------------------|---------------------------------------------------|
56 | 700 | "No database" | connection failed |
57 | 701 | "Module failed" | database could not load nominatim.so |
58 | 702 | "Module call failed" | nominatim.so loaded but calling a function failed |
59 | 703 | "Query failed" | test query against a database table failed |
60 | 704 | "No value" | test query worked but returned no results |