`GET [...]/rest.php/wikibase/v0/suggest/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 languagedisplay-label": {
"language": "<language code of LABEL or ALIAS>",
"value": "<LABEL or ALIAS of the matched Item/Property>"
},
"description": {
"language": "<language code of DESCRIPTION>",
"value": "<DESCRIPTION>"
"description": "<DESCRIPTION in language>"},
"match": {
"type": <"label" OR "alias">,
"language": "<language code of LABEL or ALIAS>",
"text": "<LABEL or ALIAS that matched the search query>"
}
},
...
]
}
```
Acceptance criteria:
- consider labels and aliases in the search, same as in the other existing RESTful search
- matching item/property when its ID is provided as the query works, same as in the other existing RESTful search
- Basic functionality of language fallback and matched data are implemented
- The only sophisticated functionality to be implemented will be pagination
- Errors to be the same as in simple item search
- URL matching i.e., searmatching by URL works by default and should be kept that wayitem/property when its URL is provided as the query, same as in SimpleItemSearch