mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-24 06:22:08 +03:00
7075a5828e
add JSON format to /status endpoint
17 lines
442 B
Gherkin
17 lines
442 B
Gherkin
@APIDB
|
|
Feature: Status queries
|
|
Testing status query
|
|
|
|
Scenario: Status as text
|
|
When sending status query
|
|
Then a HTTP 200 is returned
|
|
And the page contents equals "OK"
|
|
|
|
Scenario: Status as json
|
|
When sending json status query
|
|
Then the result is valid json
|
|
And results contain
|
|
| status | message |
|
|
| 0 | OK |
|
|
And result has attributes data_updated
|