forked from alexjustesen/speedtest-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
51 lines (51 loc) · 1.46 KB
/
openapi.json
File metadata and controls
51 lines (51 loc) · 1.46 KB
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
{
"openapi": "3.0.0",
"info": {
"title": "Speedtest Tracker API",
"version": "1.0.0"
},
"paths": {
"/api/v1/results/latest": {
"get": {
"description": "Get the latest result.",
"operationId": "4b44d6935caeb91d3e687ab4bc176f62",
"responses": {
"200": {
"description": "OK"
},
"404": {
"description": "No result found"
}
}
}
},
"/api/v1/results": {
"get": {
"description": "List results.",
"operationId": "32a45ba8e8e9a81955a178ae686273ce",
"responses": {
"200": {
"description": "OK"
},
"422": {
"description": "Unprocessable Entity"
}
}
}
},
"/api/v1/results/{id}": {
"get": {
"description": "Get result.",
"operationId": "bc182a4008f0ff94a6318893359f3adc",
"responses": {
"200": {
"description": "OK"
},
"404": {
"description": "Result not found"
}
}
}
}
}
}