From 32c2d2b24876d902d1b2062de77bd2e6f098b31d Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 1 Mar 2021 22:21:37 +0100 Subject: [PATCH] document new status fields --- docs/api/Status.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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. -- 2.39.5