This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
api-doc.yml
145 lines (145 loc) · 4.18 KB
/
api-doc.yml
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
openapi: 3.0.0
info:
title: A Qlik Associative Engine discovery service
version: 1.0.0
description: >-
REST API for discovering Qlik Associative Engines running in Docker
containers.
x-qlik-visibility: public
x-qlik-stability: stable
servers:
- url: 'http://localhost:9100'
paths:
/health:
get:
description: Returns health status of the Mira service
responses:
'200':
description: successful operation
content:
application/json; charset=utf-8:
schema:
type: object
/metrics:
get:
description: Returns metrics of the Mira service
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
type: object
description: Default prometheus client metrics
text/plain; charset=utf-8:
schema:
description: Default prometheus client metrics
/v1/engines:
get:
description: Lists available Qlik Associative Engines.
parameters:
- name: format
in: query
description: If result should be in full or condensed format.
required: false
schema:
type: string
default: full
responses:
'200':
description: successful operation
content:
application/json; charset=utf-8:
schema:
type: array
items:
$ref: '#/components/schemas/containerInfo'
'503':
description: Service Unavailable
components:
schemas:
engineInfo:
type: object
required:
- networks
- port
- metricsPort
- status
properties:
networks:
description: List of networks for the Qlik Associative Engine
type: array
items:
$ref: '#/components/schemas/containerNetwork'
port:
description: Port to use when communicating with the Qlik Associative Engine API.
type: number
metricsPort:
description: Port to use when retrieving the Qlik Associative Engine metrics.
type: number
status:
$ref: '#/components/schemas/containerStatus'
health:
description: Last health endpoint response of the Qlik Associative Engine.
type: object
metrics:
description: Last metrics endpoint response of the Qlik Associative Engine.
labels:
description: Container labels
type: object
containerInfo:
type: object
required:
- engine
properties:
engine:
$ref: '#/components/schemas/engineInfo'
local:
type: object
description: >-
Container information in verbatim format as returned by the Docker
Engine Remote API.
swarm:
type: object
description: >-
Task information in verbatim format as returned by the Docker Engine
Remote API.
kubernetes:
type: object
properties:
pod:
type: object
description: >-
Pod information in verbatim format as returned by the Kubernetes
API.
replicaSet:
type: object
description: >-
Replicaset information in verbatim format as returned by the
Kubernetes API.
deployment:
type: object
description: >-
Deployment information in verbatim format as returned by the
Kubernetes API.
containerStatus:
type: string
description: Status of the Qlik Associative Engine.
enum:
- OK
- UNHEALTHY
- NO_METRICS
containerNetwork:
type: object
required:
- ip
properties:
ip:
description: IP address of the Qlik Associative Engine on a specific network
type: string
name:
description: Docker network name
type: string
tags: []