OpenAPI spec
The machine-readable description of this API, for Postman, Insomnia or a client generator.
Get this document
GET
/v1/openapi.jsonScope: No key neededThe OpenAPI 3.1 description of the API. No key needed, and the only route a browser may call (any origin, without credentials).
Returns
200 OK The OpenAPI document.
Request
bash
curl https://api.semalink.africa/v1/openapi.json1
js
const response = await fetch('https://api.semalink.africa/v1/openapi.json');
const result = await response.json();
console.log(response.status, result);1
2
3
4
2
3
4
python
import requests
response = requests.get(
"https://api.semalink.africa/v1/openapi.json",
timeout=30,
)
result = response.json()
print(response.status_code, result)1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
php
<?php
$ch = curl_init('https://api.semalink.africa/v1/openapi.json');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
]);
$result = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
print_r($result);1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11