forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nodes.usage.yaml
47 lines (47 loc) · 1.18 KB
/
nodes.usage.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
openapi: 3.1.0
info:
title: Schemas of nodes.usage category
description: Schemas of nodes.usage category
version: 1.0.0
paths: {}
components:
schemas:
Metric:
type: string
enum:
- _all
- rest_actions
ResponseBase:
allOf:
- $ref: 'nodes._common.yaml#/components/schemas/NodesResponseBase'
- type: object
properties:
cluster_name:
$ref: '_common.yaml#/components/schemas/Name'
nodes:
type: object
additionalProperties:
$ref: '#/components/schemas/NodeUsage'
required:
- cluster_name
- nodes
NodeUsage:
type: object
properties:
rest_actions:
type: object
additionalProperties:
type: number
since:
$ref: '_common.yaml#/components/schemas/EpochTimeUnitMillis'
timestamp:
$ref: '_common.yaml#/components/schemas/EpochTimeUnitMillis'
aggregations:
type: object
additionalProperties:
type: object
required:
- aggregations
- rest_actions
- since
- timestamp