From: Sarah Hoffmann Date: Mon, 1 Mar 2021 21:21:37 +0000 (+0100) Subject: document new status fields X-Git-Tag: v3.7.0~25^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/32c2d2b24876d902d1b2062de77bd2e6f098b31d?ds=sidebyside document new status fields --- diff --git a/docs/api/Status.md b/docs/api/Status.md index 0241b6fa..8c3e25e9 100644 --- a/docs/api/Status.md +++ b/docs/api/Status.md @@ -35,10 +35,16 @@ will return HTTP code 200 and a structure { "status": 0, "message": "OK", - "data_updated": "2020-05-04T14:47:00+00:00" + "data_updated": "2020-05-04T14:47:00+00:00", + "software_version": "3.6.0-0", + "database_version": "3.6.0-0" } ``` +The `software_version` field contains the version of Nominatim used to serve +the API. The `database_version` field contains the version of the data format +in the database. + On error will also return HTTP status code 200 and a structure with error code and message, e.g.