TAŇBA-OOH Әзірлеушілерге

Platform status

GET /v1/status

https://verify.tanba-ooh.kz/v1/status

Анықтамалықтың техникалық мәтіні ағылшын тілінде жазылған.

Per public surface, whether it answers now and its availability over the last 30 days. Nothing else is published, no check names, hosts or error texts. The figures come from probes that run on the platform's own host, so an outage of the whole host is not seen by them; the pilot measures availability and promises none. Cached for 30 seconds.

Аутентификация

Қажет емес. Шақыру ашық.

Жауаптар

200 The status.

application/json

PublicStatus

АтауыТүріМіндеттіСипаттамаМысал
generated_atstring (date-time)иәWhen the figures were computed."2026-10-06T09:00:00+05:00"
statusstringиәOverall state of the public surfaces. ok, degraded, down, unknown
surfacesarray of objectиәOne entry for each public surface.
surfaces[].idstringиәWhich surface the entry describes. registry, command, signing, portal, telemetry, site
surfaces[].statusstringиәWhether the surface answers now. up, down, unknown
surfaces[].availability_30dnumber | nullиәPercent of successful probes over 30 days; null before any probe.99.94
notestringиәA fixed statement of how the figures are measured."Measured by probes on the platform host; no availability is promised."

Мысал

{
  "generated_at": "2026-10-06T09:00:00+05:00",
  "status": "ok",
  "surfaces": [
    {
      "id": "registry",
      "status": "up",
      "availability_30d": 99.94
    }
  ],
  "note": "Measured by probes on the platform host; no availability is promised."
}

Қателер

Қателер problem құжаты (application/problem+json) түрінде, тұрақты code өрісімен келеді.

МәртебесіМағынасы
429Rate limit; see Retry-After.

Код мысалдары

curl

curl 'https://verify.tanba-ooh.kz/v1/status'
Python
import requests

response = requests.get(
    "https://verify.tanba-ooh.kz/v1/status",
)
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", 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))
}