-
Notifications
You must be signed in to change notification settings - Fork 60
/
dangling_indices.yaml
161 lines (161 loc) · 6.53 KB
/
dangling_indices.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
openapi: 3.1.0
info:
title: OpenSearch Dangling_indices API
description: OpenSearch Dangling_indices API.
version: 1.0.0
paths:
/_dangling:
get:
operationId: dangling_indices.list_dangling_indices.0
x-operation-group: dangling_indices.list_dangling_indices
x-version-added: '1.0'
description: Returns all dangling indices.
externalDocs:
url: https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
parameters: []
responses:
'200':
$ref: '#/components/responses/dangling_indices.list_dangling_indices@200'
/_dangling/{index_uuid}:
post:
operationId: dangling_indices.import_dangling_index.0
x-operation-group: dangling_indices.import_dangling_index
x-version-added: '1.0'
description: Imports the specified dangling index.
externalDocs:
url: https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
parameters:
- $ref: '#/components/parameters/dangling_indices.import_dangling_index::path.index_uuid'
- $ref: '#/components/parameters/dangling_indices.import_dangling_index::query.accept_data_loss'
- $ref: '#/components/parameters/dangling_indices.import_dangling_index::query.cluster_manager_timeout'
- $ref: '#/components/parameters/dangling_indices.import_dangling_index::query.master_timeout'
- $ref: '#/components/parameters/dangling_indices.import_dangling_index::query.timeout'
responses:
'200':
$ref: '#/components/responses/dangling_indices.import_dangling_index@200'
delete:
operationId: dangling_indices.delete_dangling_index.0
x-operation-group: dangling_indices.delete_dangling_index
x-version-added: '1.0'
description: Deletes the specified dangling index.
externalDocs:
url: https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
parameters:
- $ref: '#/components/parameters/dangling_indices.delete_dangling_index::path.index_uuid'
- $ref: '#/components/parameters/dangling_indices.delete_dangling_index::query.accept_data_loss'
- $ref: '#/components/parameters/dangling_indices.delete_dangling_index::query.cluster_manager_timeout'
- $ref: '#/components/parameters/dangling_indices.delete_dangling_index::query.master_timeout'
- $ref: '#/components/parameters/dangling_indices.delete_dangling_index::query.timeout'
responses:
'200':
$ref: '#/components/responses/dangling_indices.delete_dangling_index@200'
components:
requestBodies: {}
responses:
dangling_indices.delete_dangling_index@200:
content:
application/json:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/AcknowledgedResponseBase'
dangling_indices.import_dangling_index@200:
content:
application/json:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/AcknowledgedResponseBase'
dangling_indices.list_dangling_indices@200:
content:
application/json:
schema:
type: object
properties:
_nodes:
$ref: '../schemas/_common.yaml#/components/schemas/NodeStatistics'
cluster_name:
$ref: '../schemas/_common.yaml#/components/schemas/Name'
dangling_indices:
type: array
items:
$ref: '../schemas/dangling_indices.list_dangling_indices.yaml#/components/schemas/DanglingIndex'
required:
- dangling_indices
parameters:
dangling_indices.delete_dangling_index::path.index_uuid:
in: path
name: index_uuid
description: The UUID of the dangling index
required: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Uuid'
style: simple
dangling_indices.delete_dangling_index::query.accept_data_loss:
in: query
name: accept_data_loss
description: Must be set to true in order to delete the dangling index
required: true
schema:
type: boolean
style: form
dangling_indices.delete_dangling_index::query.cluster_manager_timeout:
name: cluster_manager_timeout
in: query
description: Operation timeout for connection to cluster-manager node.
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
x-version-added: '2.0'
dangling_indices.delete_dangling_index::query.master_timeout:
in: query
name: master_timeout
description: Specify timeout for connection to master
deprecated: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
style: form
x-version-deprecated: '2.0'
x-deprecation-message: To promote inclusive language, use 'cluster_manager_timeout' instead.
dangling_indices.delete_dangling_index::query.timeout:
in: query
name: timeout
description: Explicit operation timeout
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
style: form
dangling_indices.import_dangling_index::path.index_uuid:
in: path
name: index_uuid
description: The UUID of the dangling index
required: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Uuid'
style: simple
dangling_indices.import_dangling_index::query.accept_data_loss:
in: query
name: accept_data_loss
description: Must be set to true in order to import the dangling index
required: true
schema:
type: boolean
style: form
dangling_indices.import_dangling_index::query.cluster_manager_timeout:
name: cluster_manager_timeout
in: query
description: Operation timeout for connection to cluster-manager node.
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
x-version-added: '2.0'
dangling_indices.import_dangling_index::query.master_timeout:
in: query
name: master_timeout
description: Specify timeout for connection to master
deprecated: true
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
style: form
x-version-deprecated: '2.0'
x-deprecation-message: To promote inclusive language, use 'cluster_manager_timeout' instead.
dangling_indices.import_dangling_index::query.timeout:
in: query
name: timeout
description: Explicit operation timeout
schema:
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
style: form