-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger.json
82 lines (82 loc) · 1.43 KB
/
swagger.json
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
{
"openapi": "3.0.n",
"info": {
"title": "ROAMer API",
"description": "ROAMer Remote Obeservation And Manipulation device API (child of Antdroid (hexbot)). REST API for talking to roamer.",
"contact": {
"name": "Paul Smith"
},
"license": {
"name": "GPL v3"
},
"version": "0.0.1"
},
"servers": [
{
"url": "",
"description": "Development server"
}
],
"tags": [
{
"name": "[api]/",
"description": "Root path"
}
],
"paths": {
"/health": {
"get": {
"tags": [
"[api]/"
],
"summary": "Health check",
"description": "Checks the server to test system is up and any resources are healthy.",
"responses": {
"200": {
"description": "Health check success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Health"
}
}
}
}
}
}
}
},
"components": {
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT",
"description": "JWT Bearer token e.g. xxxxx.yyyyy.zzzzz"
}
},
"schemas": {
"Health": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"mode": {
"type": "string"
},
"status": {
"type": "string"
},
"dateTime": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}