forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'opensearch-project:main' into role-mapping-post
- Loading branch information
Showing
26 changed files
with
228 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$schema: ../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test stats. | ||
chapters: | ||
- synopsis: Get global stats. | ||
path: /_stats | ||
method: GET | ||
response: | ||
status: 200 | ||
- synopsis: Get global stats with human fields. | ||
path: /_stats | ||
method: GET | ||
parameters: | ||
human: true | ||
response: | ||
status: 200 | ||
- synopsis: Get stats for a given metric. | ||
path: /_stats/{metric} | ||
method: GET | ||
parameters: | ||
metric: docs | ||
expand_wildcards: all | ||
forbid_closed_indices: false | ||
groups: '*' | ||
level: indices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
$schema: ../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test tasks endpoint. | ||
prologues: | ||
- path: /books/_delete_by_query | ||
id: task | ||
method: POST | ||
parameters: | ||
refresh: true | ||
conflicts: proceed | ||
wait_for_completion: false | ||
request: | ||
payload: | ||
query: | ||
match_all: {} | ||
output: | ||
id: payload.task | ||
chapters: | ||
- synopsis: List tasks grouped by node. | ||
path: /_tasks | ||
method: GET | ||
parameters: | ||
group_by: nodes | ||
- synopsis: List tasks grouped by parent. | ||
path: /_tasks | ||
method: GET | ||
parameters: | ||
group_by: parents | ||
- synopsis: List tasks grouped by none. | ||
path: /_tasks | ||
method: GET | ||
parameters: | ||
group_by: none | ||
- synopsis: Get task by id. | ||
id: task | ||
path: /_tasks/{task_id} | ||
method: GET | ||
parameters: | ||
task_id: ${task.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
$schema: ../../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test tasks endpoint. | ||
epilogues: | ||
- path: /books | ||
method: DELETE | ||
status: [200, 404] | ||
prologues: | ||
- path: /_bulk | ||
method: POST | ||
parameters: | ||
refresh: true | ||
request: | ||
content_type: application/x-ndjson | ||
payload: | ||
- {create: {_index: books}} | ||
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960} | ||
- path: /books/_delete_by_query | ||
id: task | ||
method: POST | ||
parameters: | ||
refresh: true | ||
conflicts: proceed | ||
wait_for_completion: false | ||
request: | ||
payload: | ||
query: | ||
match_all: {} | ||
output: | ||
id: payload.task | ||
chapters: | ||
- synopsis: Cancel all tasks. | ||
path: /_tasks/_cancel | ||
method: POST | ||
- synopsis: Cancel a task. | ||
path: /_tasks/{task_id}/_cancel | ||
method: POST | ||
parameters: | ||
task_id: ${task.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$schema: ../../../../json_schemas/test_story.schema.yaml | ||
|
||
description: Test settings. | ||
chapters: | ||
- synopsis: Update cluster settings. | ||
path: /_settings | ||
method: PUT | ||
request: | ||
payload: | ||
settings: | ||
index: | ||
number_of_replicas: 4 | ||
- synopsis: Get settings. | ||
path: /_settings | ||
method: GET |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.