-
Notifications
You must be signed in to change notification settings - Fork 62
/
indices.shard_stores.yaml
60 lines (60 loc) · 1.31 KB
/
indices.shard_stores.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
openapi: 3.1.0
info:
title: Schemas of `indices.shard_stores` Category
description: Schemas of `indices.shard_stores` category.
version: 1.0.0
paths: {}
components:
schemas:
Status:
type: string
enum:
- all
- green
- red
- yellow
IndicesShardStores:
type: object
properties:
shards:
type: object
additionalProperties:
$ref: '#/components/schemas/ShardStoreWrapper'
required:
- shards
ShardStoreWrapper:
type: object
properties:
stores:
type: array
items:
$ref: '#/components/schemas/ShardStore'
required:
- stores
ShardStore:
type: object
properties:
allocation:
$ref: '#/components/schemas/ShardStoreAllocation'
allocation_id:
$ref: '_common.yaml#/components/schemas/Id'
store_exception:
$ref: '#/components/schemas/ShardStoreException'
required:
- allocation
ShardStoreAllocation:
type: string
enum:
- primary
- replica
- unused
ShardStoreException:
type: object
properties:
reason:
type: string
type:
type: string
required:
- reason
- type