Bildirim işleyicileri

GET https://monitor.ulusoytech.com/api/notification-handlers/
curl --request GET \
--url 'https://monitor.ulusoytech.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler Detaylar Açıklama
page Opsiyonel Tam sayı Sonuçları almak istediğiniz sayfa numarası. Varsayılan olarak 1’dir.
results_per_page Opsiyonel Tam sayı Sayfa başına almak istediğiniz sonuç sayısı. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Varsayılan olarak 25’dir.
{ "data": [ { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "hey@example.com" }, "is_enabled": true, "last_datetime": null, "datetime": "2025-04-26 10:16:24" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://monitor.ulusoytech.com/api/notification-handlers?&page=1", "last": "https://monitor.ulusoytech.com/api/notification-handlers?&page=1", "next": null, "prev": null, "self": "https://monitor.ulusoytech.com/api/notification-handlers?&page=1" } }
GET https://monitor.ulusoytech.com/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://monitor.ulusoytech.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "hey@example.com" }, "is_enabled": true, "last_datetime": null, "datetime": "2025-04-26 10:16:24" } }
POST https://monitor.ulusoytech.com/api/notification-handlers
Parametreler Detaylar Açıklama
name Zorunlu Dize -
type Zorunlu Dize İzin verilen değerler: email , webhook , slack , discord , telegram , microsoft_teams
email Opsiyonel Dize Mevcut olduğunda: type = email E-posta
webhook Opsiyonel Dize Mevcut olduğunda: type = webhook Webhook URL'si
slack Opsiyonel Dize Mevcut olduğunda: type = slack Slack webhook URL'si
discord Opsiyonel Dize Mevcut olduğunda: type = discord Discord webhook URL'si
telegram Opsiyonel Dize Mevcut olduğunda: type = telegram Telegram API Token
telegram_chat_id Opsiyonel Dize Mevcut olduğunda: type = telegram Telegram Chat ID
x_consumer_key Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
x_consumer_secret Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
x_access_token Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
x_access_token_secret Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
curl --request POST \
--url 'https://monitor.ulusoytech.com/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=hello@example.com' \
{ "data": { "id": 1 } }
POST https://monitor.ulusoytech.com/api/notification-handlers/{notification_handler_id}
Parametreler Detaylar Açıklama
name Opsiyonel Dize -
type Opsiyonel Dize İzin verilen değerler: email , webhook , slack , discord , telegram , microsoft_teams
email Opsiyonel Dize Mevcut olduğunda: type = email E-posta
webhook Opsiyonel Dize Mevcut olduğunda: type = webhook Webhook URL'si
slack Opsiyonel Dize Mevcut olduğunda: type = slack Slack webhook URL'si
discord Opsiyonel Dize Mevcut olduğunda: type = discord Discord webhook URL'si
telegram Opsiyonel Dize Mevcut olduğunda: type = telegram Telegram API Token
telegram_chat_id Opsiyonel Dize Mevcut olduğunda: type = telegram Telegram Chat ID
x_consumer_key Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
x_consumer_secret Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
x_access_token Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
x_access_token_secret Opsiyonel Dize Mevcut olduğunda: type = x Telegram API Token
is_enabled Opsiyonel Boolean -
curl --request POST \
--url 'https://monitor.ulusoytech.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example new name' \
--form 'is_enabled=1' \
{ "data": { "id": 1 } }
DELETE https://monitor.ulusoytech.com/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://monitor.ulusoytech.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \