]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/website/status.php
report software version of status call
[nominatim.git] / lib-php / website / status.php
index 9f030fb3ea38314047b50973bc6929aa80117de3..3bb2ffa1828c7a00e72fbc620403a26d04b18b8f 100644 (file)
@@ -37,7 +37,8 @@ if ($sOutputFormat == 'json') {
     $aResponse = array(
                   'status' => 0,
                   'message' => 'OK',
-                  'data_updated' => (new DateTime('@'.$epoch))->format(DateTime::RFC3339)
+                  'data_updated' => (new DateTime('@'.$epoch))->format(DateTime::RFC3339),
+                  'software_version' => CONST_NominatimVersion
                  );
     javascript_renderData($aResponse);
 } else {