API Sənədləri
Bu, REST arxitekturası ətrafında qurulmuş mövcud API son nöqtələrinin sənədləşməsidir. Bütün API son nöqtələri standart HTTP cavab kodları ilə JSON cavabı qaytaracaq və API Açarı vasitəsilə Daşıyıcı Doğrulama tələb edəcək.
Doğrulama
Bütün API son nöqtələri Bearer Authentication metodu ilə göndərilən API açarını tələb edir.
Authorization: Bearer {api_key}
curl --request GET \
--url 'https://uptimer24.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptimer24.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
Errors
Our API uses conventional HTTP status codes to indicate the success or failure of a request.
{
"errors": [
{
"title": "Sizin API-y\u0259 giri\u015finiz yoxdur.",
"status": 401
}
]
}
200 Request completed successfully
400 Bad request - Required parameters are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate limit exceeded
500 Internal server error - this means there is a problem on our end
Bütün API son nöqtə nəticələri başqa cür göstərilmədiyi təqdirdə UTC saat qurşağı ilə işləyir.
İstifadəçi
Uptime monitorları
DNS monitors
Server monitorları
Ürək döyüntüləri
Domen adlar
Bildiriş idarəçiləri
Status səhifələri
Status səhifəsi statistikası
Hadisələr
Projects
Custom domains
Hesab ödənişləri
Hesab qeydləri