diff --git a/repo/rest-api/specs/resources/aliases/aliases-in-language.json b/repo/rest-api/specs/resources/aliases/aliases-in-language.json index 1f9b99f79a7..c3912048d48 100644 --- a/repo/rest-api/specs/resources/aliases/aliases-in-language.json +++ b/repo/rest-api/specs/resources/aliases/aliases-in-language.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemAliasesInLanguage", "tags": [ "aliases" ], "summary": "Retrieve an Item's aliases in a specific language", "parameters": [ diff --git a/repo/rest-api/specs/resources/aliases/list.json b/repo/rest-api/specs/resources/aliases/list.json index 3de201f8544..d4463da226f 100644 --- a/repo/rest-api/specs/resources/aliases/list.json +++ b/repo/rest-api/specs/resources/aliases/list.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemAliases", "tags": [ "aliases" ], "summary": "Retrieve an Item's aliases", "parameters": [ diff --git a/repo/rest-api/specs/resources/descriptions/description-in-language.json b/repo/rest-api/specs/resources/descriptions/description-in-language.json index bc6b57c3910..4890312af6a 100644 --- a/repo/rest-api/specs/resources/descriptions/description-in-language.json +++ b/repo/rest-api/specs/resources/descriptions/description-in-language.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemDescription", "tags": [ "descriptions" ], "summary": "Retrieve an Item's description in a specific language", "parameters": [ @@ -22,6 +23,7 @@ } }, "put": { + "operationId": "replaceItemDescription", "tags": [ "descriptions" ], "summary": "Add / Replace an Item's description in a specific language", "parameters": [ diff --git a/repo/rest-api/specs/resources/items/single.json b/repo/rest-api/specs/resources/items/single.json index f54e04e3c3f..c395328349c 100644 --- a/repo/rest-api/specs/resources/items/single.json +++ b/repo/rest-api/specs/resources/items/single.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItem", "tags": [ "items" ], "summary": "Retrieve a single Wikibase Item by ID", "parameters": [ diff --git a/repo/rest-api/specs/resources/labels/label-in-language.json b/repo/rest-api/specs/resources/labels/label-in-language.json index 2324cfb4bbd..8042245c747 100644 --- a/repo/rest-api/specs/resources/labels/label-in-language.json +++ b/repo/rest-api/specs/resources/labels/label-in-language.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemLabel", "tags": [ "labels" ], "summary": "Retrieve an Item's label in a specific language", "parameters": [ @@ -22,6 +23,7 @@ } }, "put": { + "operationId": "replaceItemLabel", "tags": [ "labels" ], "summary": "Add / Replace an Item's label in a specific language", "parameters": [ diff --git a/repo/rest-api/specs/resources/labels/list.json b/repo/rest-api/specs/resources/labels/list.json index c45585fd193..9b2767ff12b 100644 --- a/repo/rest-api/specs/resources/labels/list.json +++ b/repo/rest-api/specs/resources/labels/list.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemLabels", "tags": [ "labels" ], "summary": "Retrieve an Item's labels", "parameters": [ @@ -21,6 +22,7 @@ } }, "patch": { + "operationId": "patchItemLabels", "tags": [ "labels" ], "summary": "Change an Item's Labels", "parameters": [ diff --git a/repo/rest-api/specs/resources/properties/single.json b/repo/rest-api/specs/resources/properties/single.json index 30d865702fe..e5043313dbc 100644 --- a/repo/rest-api/specs/resources/properties/single.json +++ b/repo/rest-api/specs/resources/properties/single.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getPropertyStatement", "tags": [ "properties" ], "summary": "Retrieve a single Wikibase Property by ID", "parameters": [ diff --git a/repo/rest-api/specs/resources/statements/list-for-item.json b/repo/rest-api/specs/resources/statements/list-for-item.json index e6bdc301465..7589ff8c936 100644 --- a/repo/rest-api/specs/resources/statements/list-for-item.json +++ b/repo/rest-api/specs/resources/statements/list-for-item.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemStatements", "tags": [ "statements" ], "summary": "Retrieve Statements from an Item", "parameters": [ @@ -22,6 +23,7 @@ } }, "post": { + "operationId": "addItemStatement", "tags": [ "statements" ], "summary": "Add a new Statement to an Item", "parameters": [ diff --git a/repo/rest-api/specs/resources/statements/list-for-property.json b/repo/rest-api/specs/resources/statements/list-for-property.json index 8970778f002..8766d67ed8e 100644 --- a/repo/rest-api/specs/resources/statements/list-for-property.json +++ b/repo/rest-api/specs/resources/statements/list-for-property.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getPropertyStatements", "tags": [ "statements" ], "summary": "Retrieve Statements from a Property", "parameters": [ diff --git a/repo/rest-api/specs/resources/statements/single-for-item.json b/repo/rest-api/specs/resources/statements/single-for-item.json index 9c474d2ae56..e3bfaff02d6 100644 --- a/repo/rest-api/specs/resources/statements/single-for-item.json +++ b/repo/rest-api/specs/resources/statements/single-for-item.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getItemStatement", "tags": [ "statements" ], @@ -24,6 +25,7 @@ } }, "put": { + "operationId": "replaceItemStatement", "tags": [ "statements" ], "summary": "Replace a single Statement of an Item", "description": "This endpoint is also accessible through `/statements/{statement_id}`", @@ -45,6 +47,7 @@ } }, "patch": { + "operationId": "patchItemStatement", "tags": [ "statements" ], "summary": "Change elements of a single Statement of an Item", "description": "This endpoint is also accessible through `/statements/{statement_id}`.", @@ -68,6 +71,7 @@ } }, "delete": { + "operationId": "deleteItemStatement", "tags": [ "statements" ], "summary": "Delete a single Statement from an Item", "description": "This endpoint is also accessible through `/statements/{statement_id}`", diff --git a/repo/rest-api/specs/resources/statements/single-for-property.json b/repo/rest-api/specs/resources/statements/single-for-property.json index a980fb40d87..764a0b4d6b7 100644 --- a/repo/rest-api/specs/resources/statements/single-for-property.json +++ b/repo/rest-api/specs/resources/statements/single-for-property.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getPropertyStatement", "tags": [ "statements" ], diff --git a/repo/rest-api/specs/resources/statements/single.json b/repo/rest-api/specs/resources/statements/single.json index 7b1403ffda7..dd9336f0120 100644 --- a/repo/rest-api/specs/resources/statements/single.json +++ b/repo/rest-api/specs/resources/statements/single.json @@ -1,5 +1,6 @@ { "get": { + "operationId": "getStatement", "tags": [ "statements" ], @@ -23,6 +24,7 @@ } }, "put": { + "operationId": "replaceStatement", "tags": [ "statements" ], "summary": "Replace a single Statement", "description": "This endpoint is also accessible through `/entities/items/{item_id}/statements/{statement_id}`", @@ -43,6 +45,7 @@ } }, "patch": { + "operationId": "patchStatement", "tags": [ "statements" ], "summary": "Change elements of a single Statement", "description": "This endpoint is also accessible through `/entities/items/{item_id}/statements/{statement_id}`", @@ -65,6 +68,7 @@ } }, "delete": { + "operationId": "deleteStatement", "tags": [ "statements" ], "summary": "Delete a single Statement", "description": "This endpoint is also accessible through `/entities/items/{item_id}/statements/{statement_id}`",