`GET [...]/rest.php/wikibase/v0/search/items?language=en&q=...`
Request parameters (query parameters)
* `q` - search term
* `language` - language code
Response structure in pseudo-JSON
```
{
"results": [
{
"id": "Q123",
"label": "<LABEL in language>"
"description": "<DESCRIPTION in language>"
},
...
]
}
```
Response:
- always respond with status code 200, even for an empty result list
- deal with error handling (500) later
Not in scope:
- validation (errors on invalid input) of language codes
- including a matched data element in the response
- no special treatment of `haswbstatement` etc "keywords". Pass them as-is
- search results provided in a synchronous response
- no fallback language treatment of labels or descriptions in the search results
In scope:
- "input sanitizatoin" that existing functionality interacting with Cirrus search/ Elastic search should be included here