|
1 | 1 | openapi: 3.1.0
|
2 | 2 | info:
|
3 |
| - title: OpenSearch Workload Management Query Group API |
4 |
| - description: Query group lifecycle APIs for the workload management plugin. |
| 3 | + title: Workload Management Query Group API |
| 4 | + description: The Query Group Lifecycle APIs create, update, and delete workload management query groups. |
5 | 5 | version: 1.0.0
|
6 | 6 | paths:
|
7 | 7 | /_wlm/query_group:
|
8 | 8 | get:
|
9 | 9 | operationId: wlm.get_query_group.0
|
10 | 10 | x-operation-group: wlm.get_query_group
|
11 | 11 | x-version-added: '2.17'
|
12 |
| - description: Gets the specified QueryGroup or get all if no name is provided. |
| 12 | + description: Retrieves the specified query group. If no query group is specified, all query groups in the cluster are retrieved. |
13 | 13 | responses:
|
14 | 14 | '200':
|
15 | 15 | $ref: '#/components/responses/wlm.get_query_group@200'
|
16 | 16 | put:
|
17 | 17 | operationId: wlm.create_query_group.0
|
18 | 18 | x-operation-group: wlm.create_query_group
|
19 | 19 | x-version-added: '2.17'
|
20 |
| - description: Creates the specified query group. |
| 20 | + description: Creates a new query group and sets the resource limits for the new query group. |
21 | 21 | requestBody:
|
22 | 22 | $ref: '#/components/requestBodies/wlm.create_query_group'
|
23 | 23 | responses:
|
|
28 | 28 | operationId: wlm.get_query_group.1
|
29 | 29 | x-operation-group: wlm.get_query_group
|
30 | 30 | x-version-added: '2.17'
|
31 |
| - description: Gets the specified QueryGroup or get all if no name is provided. |
| 31 | + description: Retrieves the specified query group. If no query group is specified, all query groups in the cluster are retrieved. |
32 | 32 | parameters:
|
33 | 33 | - $ref: '#/components/parameters/wlm.get_query_group::path.name'
|
34 | 34 | responses:
|
|
50 | 50 | operationId: wlm.delete_query_group.0
|
51 | 51 | x-operation-group: wlm.delete_query_group
|
52 | 52 | x-version-added: '2.17'
|
53 |
| - description: Deletes the specified QueryGroup. |
| 53 | + description: Deletes the specified query group. |
54 | 54 | parameters:
|
55 | 55 | - $ref: '#/components/parameters/wlm.delete_query_group::path.name'
|
56 | 56 | responses:
|
@@ -107,21 +107,21 @@ components:
|
107 | 107 | wlm.update_query_group::path.name:
|
108 | 108 | name: name
|
109 | 109 | in: path
|
110 |
| - description: QueryGroup name. |
| 110 | + description: The name of the query group. |
111 | 111 | schema:
|
112 | 112 | type: string
|
113 | 113 | required: true
|
114 | 114 | wlm.delete_query_group::path.name:
|
115 | 115 | name: name
|
116 | 116 | in: path
|
117 |
| - description: QueryGroup name. |
| 117 | + description: The name of the query group. |
118 | 118 | schema:
|
119 | 119 | type: string
|
120 | 120 | required: true
|
121 | 121 | wlm.get_query_group::path.name:
|
122 | 122 | name: name
|
123 | 123 | in: path
|
124 |
| - description: QueryGroup name. |
| 124 | + description: The name of the query group. |
125 | 125 | schema:
|
126 | 126 | type: string
|
127 | 127 | required: true
|
0 commit comments