Skip to content

Commit bcf3653

Browse files
alexjustesengitbook-bot
authored andcommitted
GITBOOK-126: No subject
1 parent ba253bf commit bcf3653

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

api/v1.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,26 @@ curl localhost/api/v1/results/latest
9696
9797
9898
99+
***
100+
101+
### Run speedtest
102+
103+
```bash
104+
curl -X POST localhost/api/v1/speedtests/run
105+
-H "Accept: application/json"
106+
-H "Authorization: Bearer yourtokengoeshere"
107+
```
108+
109+
#### Parameters
110+
111+
* `server_id` - Ookla server ID (optional)
112+
113+
#### Responses
114+
115+
* 201: Created
116+
* 403: Forbidden
117+
* 422: Unprocessable Entity (validation probably failed, see logs)
118+
99119
***
100120
101121
### Stats

0 commit comments

Comments
 (0)