forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
segments.yaml
38 lines (37 loc) · 870 Bytes
/
segments.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$schema: ../../../json_schemas/test_story.schema.yaml
description: This story tests the Segments API.
distributions:
excluded:
- amazon-managed
- amazon-serverless
prologues:
- path: /movies
method: PUT
epilogues:
- path: /movies
method: DELETE
status: [200, 404]
chapters:
- synopsis: Get details about Lucene segments.
path: /_segments
method: GET
parameters:
human: true
response:
status: 200
- synopsis: Get details about Lucene segments with human fields.
path: /_segments
method: GET
parameters:
human: true
response:
status: 200
- synopsis: Get details about Lucene segments inside the specified index.
path: /{index}/_segments
method: GET
parameters:
index: movies
expand_wildcards: all
allow_no_indices: false
response:
status: 200