Skip to content

Commit 0b2055e

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-114: No subject
1 parent 1cbbc45 commit 0b2055e

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.gitbook/assets/openapi.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"openapi": "3.0.0",
3+
"info": {
4+
"title": "Speedtest Tracker API",
5+
"version": "1.0.0"
6+
},
7+
"paths": {
8+
"/api/v1/results/latest": {
9+
"get": {
10+
"description": "Get the latest result.",
11+
"operationId": "4b44d6935caeb91d3e687ab4bc176f62",
12+
"responses": {
13+
"200": {
14+
"description": "OK"
15+
},
16+
"404": {
17+
"description": "No result found"
18+
}
19+
}
20+
}
21+
},
22+
"/api/v1/results": {
23+
"get": {
24+
"description": "List results.",
25+
"operationId": "32a45ba8e8e9a81955a178ae686273ce",
26+
"responses": {
27+
"200": {
28+
"description": "OK"
29+
},
30+
"422": {
31+
"description": "Unprocessable Entity"
32+
}
33+
}
34+
}
35+
},
36+
"/api/v1/results/{id}": {
37+
"get": {
38+
"description": "Get result.",
39+
"operationId": "bc182a4008f0ff94a6318893359f3adc",
40+
"responses": {
41+
"200": {
42+
"description": "OK"
43+
},
44+
"404": {
45+
"description": "Result not found"
46+
}
47+
}
48+
}
49+
}
50+
}
51+
}

api/latest-result.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Latest Result
22

3+
{% hint style="warning" %}
4+
This endpoint is deprecated and will be removed in a future release.
5+
{% endhint %}
6+
37
### Authentication
48

59
No authentication required.

0 commit comments

Comments
 (0)