Platform status page (served at /status on the verify host)
GET /v1/status-page
https://verify.tanba-ooh.kz/v1/status-page
Анықтамалықтың техникалық мәтіні ағылшын тілінде жазылған.
The HTML page with the same figures as /v1/status, in Kazakh, Russian and English (?lang=). Cached for 30 seconds.
Аутентификация
Қажет емес. Шақыру ашық.
Жауаптар
200 The page.
text/html
Қателер
Қателер problem құжаты (application/problem+json) түрінде, тұрақты code өрісімен келеді.
| Мәртебесі | Мағынасы |
|---|---|
| 429 | Rate limit; see Retry-After. |
Код мысалдары
curl
curl 'https://verify.tanba-ooh.kz/v1/status-page'
Python
import requests
response = requests.get(
"https://verify.tanba-ooh.kz/v1/status-page",
)
print(response.status_code, response.text)
Go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://verify.tanba-ooh.kz/v1/status-page", nil)
if err != nil {
panic(err)
}
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(data))
}