forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
indices.update_aliases.yaml
85 lines (85 loc) · 2.78 KB
/
indices.update_aliases.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
openapi: 3.1.0
info:
title: Schemas of `indices.update_aliases` Category
description: Schemas of `indices.update_aliases` category.
version: 1.0.0
paths: {}
components:
schemas:
Action:
type: object
properties:
add:
$ref: '#/components/schemas/AddAction'
remove:
$ref: '#/components/schemas/RemoveAction'
remove_index:
$ref: '#/components/schemas/RemoveIndexAction'
minProperties: 1
maxProperties: 1
AddAction:
type: object
properties:
alias:
$ref: '_common.yaml#/components/schemas/IndexAlias'
aliases:
description: |-
Aliases for the action.
Index alias names support date math.
oneOf:
- $ref: '_common.yaml#/components/schemas/IndexAlias'
- type: array
items:
$ref: '_common.yaml#/components/schemas/IndexAlias'
filter:
$ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer'
index:
$ref: '_common.yaml#/components/schemas/IndexName'
indices:
$ref: '_common.yaml#/components/schemas/Indices'
index_routing:
$ref: '_common.yaml#/components/schemas/Routing'
is_hidden:
description: If `true`, the alias is hidden.
type: boolean
is_write_index:
description: If `true`, sets the write index or data stream for the alias.
type: boolean
routing:
$ref: '_common.yaml#/components/schemas/Routing'
search_routing:
$ref: '_common.yaml#/components/schemas/Routing'
must_exist:
description: If `true`, the alias must exist to perform the action.
type: boolean
RemoveAction:
type: object
properties:
alias:
$ref: '_common.yaml#/components/schemas/IndexAlias'
aliases:
description: |-
Aliases for the action.
Index alias names support date math.
oneOf:
- $ref: '_common.yaml#/components/schemas/IndexAlias'
- type: array
items:
$ref: '_common.yaml#/components/schemas/IndexAlias'
index:
$ref: '_common.yaml#/components/schemas/IndexName'
indices:
$ref: '_common.yaml#/components/schemas/Indices'
must_exist:
description: If `true`, the alias must exist to perform the action.
type: boolean
RemoveIndexAction:
type: object
properties:
index:
$ref: '_common.yaml#/components/schemas/IndexName'
indices:
$ref: '_common.yaml#/components/schemas/Indices'
must_exist:
description: If `true`, the alias must exist to perform the action.
type: boolean