Skip to content

Commit 69ae371

Browse files
dima koushhajenkins-bot
authored andcommitted
Search: Mark wikibase/v0/suggest/properties as ready for production
Bug: T399277 Change-Id: Id86bc1f47b62c6ea41fd8a7058682e2e5329ad0b
1 parent 19f95cd commit 69ae371

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

extension-repo.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,11 @@
654654
"path": "/wikibase/v0/suggest/items",
655655
"method": "GET",
656656
"factory": "Wikibase\\Repo\\Domains\\Search\\RouteHandlers\\ItemPrefixSearchRouteHandler::factory"
657+
},
658+
{
659+
"path": "/wikibase/v0/suggest/properties",
660+
"method": "GET",
661+
"factory": "Wikibase\\Repo\\Domains\\Search\\RouteHandlers\\PropertyPrefixSearchRouteHandler::factory"
657662
}
658663
],
659664
"SpecialPages": {

repo/domains/search/specs/index.fragment.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ const openapi = {
7979
"get": {
8080
"operationId": "suggestProperties",
8181
"tags": [ "property search" ],
82-
"summary": "[WIP] Simple Property search by prefix, for labels and aliases",
83-
"description": "This endpoint is currently in development and is not recommended for production use.",
82+
"summary": "Simple Property search by prefix, for labels and aliases",
8483
"parameters": [
8584
{
8685
...parameters.SearchQuery,

repo/rest-api/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG {#wb_rest_api_changelog}
22

3+
## Version 1.4
4+
5+
* Added endpoint `GET /wikibase/v0/suggest/properties` ([T397838](https://phabricator.wikimedia.org/T397838))
6+
37
## Version 1.3
48

59
* Added endpoint `GET /wikibase/v0/suggest/items` ([T388209](https://phabricator.wikimedia.org/T388209))

repo/rest-api/routes.dev.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
[
2-
{
3-
"path": "/wikibase/v0/suggest/properties",
4-
"method": "GET",
5-
"factory": "Wikibase\\Repo\\Domains\\Search\\RouteHandlers\\PropertyPrefixSearchRouteHandler::factory"
6-
}
7-
]
1+
[]

repo/rest-api/specs/openapi.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "Wikibase REST API",
5-
"version": "1.3",
5+
"version": "1.4",
66
"description": "OpenAPI definition of Wikibase REST API",
77
"contact": {
88
"name": "Wikimedia Deutschland - Wikibase Product Platform Team",

repo/rest-api/src/openapi.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "Wikibase REST API",
5-
"version": "1.3",
5+
"version": "1.4",
66
"description": "OpenAPI definition of Wikibase REST API",
77
"contact": {
88
"name": "Wikimedia Deutschland - Wikibase Product Platform Team",
@@ -33677,8 +33677,7 @@
3367733677
"tags": [
3367833678
"property search"
3367933679
],
33680-
"summary": "[WIP] Simple Property search by prefix, for labels and aliases",
33681-
"description": "This endpoint is currently in development and is not recommended for production use.",
33680+
"summary": "Simple Property search by prefix, for labels and aliases",
3368233681
"parameters": [
3368333682
{
3368433683
"in": "query",

0 commit comments

Comments
 (0)