3 Report on the state of the service and database. Useful for checking if the
 
   4 service is up and running. The JSON output also reports
 
   5 when the database was last updated.
 
   9 The status API has the following format:
 
  12 https://nominatim.openstreetmap.org/status
 
  15 !!! danger "Deprecation warning"
 
  16     The API can also be used with the URL
 
  17     `https://nominatim.openstreetmap.org/status.php`. This is now deprecated
 
  18     and will be removed in future versions.
 
  23 The status endpoint takes a single optional parameter:
 
  25 | Parameter | Value | Default |
 
  26 |-----------| ----- | ------- |
 
  27 | format    | one of: `text`, `json` | 'text' |
 
  29 Selects the output format. See below.
 
  36 When everything is okay, a status code 200 is returned and a simple message: `OK`
 
  38 On error it will return HTTP status code 500 and print a detailed error message, e.g.
 
  39 `ERROR: Database connection failed`.
 
  45 Always returns a HTTP code 200, when the status call could be executed.
 
  47 On success a JSON dictionary with the following structure is returned:
 
  53       "data_updated": "2020-05-04T14:47:00+00:00",
 
  54       "software_version": "3.6.0-0",
 
  55       "database_version": "3.6.0-0"
 
  59 The `software_version` field contains the version of Nominatim used to serve
 
  60 the API. The `database_version` field contains the version of the data format
 
  63 On error will return a shorter JSON dictionary with the error message
 
  69        "message": "Database connection failed"