Notifika İşletmecileri
GET https://0o0.online/api/notification-handlers/
curl --request GET \
--url 'https://0o0.online/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://0o0.online/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
| Parametreler | Detaylar | Açıklama |
|---|---|---|
| search | seçmeli Çerçeve | Arama Çizgisi . |
| search_by | seçmeli Çerçeve | Hangi alanı arıyorsunuz. izin verilen değerler şunlardır: name. |
| is_enabled | seçmeli Boolean | |
| type | seçmeli Çerçeve | Hangi alanı arıyorsunuz. izin verilen değerler şunlardır: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id. |
| datetime_field | seçmeli Çerçeve | izin verilen değerler: datetime, last_datetime |
| datetime_start | seçmeli Çerçeve | Filtre sonuçları bu tarihten itibaren başlar. Y-m-d H:i:s formatı için. |
| datetime_end | seçmeli Çerçeve | Filtre sonuçları bu tarihine kadar. Y-m-d H:i:s formatı için. |
| order_by | seçmeli Çerçeve | Hangi alanda sonuçları sipariş edebilirsiniz. izin verilen değerler şunlardır: notification_handler_id, datetime, last_datetime, name. |
| order_type | seçmeli Çerçeve | Sonuçların sipariş edilmesi. izin verilen değerler şunlardır: ASC Yükseliş emri için ve DESC İndirme siparişleri için. |
| search | seçmeli Çerçeve | Arama Çizgisi . |
| search_by | seçmeli Çerçeve | Hangi alanı arıyorsunuz. izin verilen değerler şunlardır: name. |
| is_enabled | seçmeli Boolean | |
| type | seçmeli Çerçeve | Hangi alanı arıyorsunuz. izin verilen değerler şunlardır: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id. |
| datetime_field | seçmeli Çerçeve | izin verilen değerler: datetime, last_datetime |
| datetime_start | seçmeli Çerçeve | Filtre sonuçları bu tarihten itibaren başlar. Y-m-d H:i:s formatı için. |
| datetime_end | seçmeli Çerçeve | Filtre sonuçları bu tarihine kadar. Y-m-d H:i:s formatı için. |
| order_by | seçmeli Çerçeve | Hangi alanda sonuçları sipariş edebilirsiniz. izin verilen değerler şunlardır: notification_handler_id, datetime, last_datetime, name. |
| order_type | seçmeli Çerçeve | Sonuçların sipariş edilmesi. izin verilen değerler şunlardır: ASC Yükseliş emri için ve DESC İndirme siparişleri için. |
| page | seçmeli bütünü | İstediğiniz sayfa numarası sonuçları. 1. |
| results_per_page | seçmeli bütünü | Sayfa başına ne kadar sonuç istersiniz. izin verilen değerler şunlardır: 10, 25, 50, 100, 250, 500, 1000. eksiklikler için 25. |
{
"data": [
{
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "[email protected]"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-12-02 19:04:53",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://0o0.online/api/notification-handlers?page=1",
"last": "https://0o0.online/api/notification-handlers?page=1",
"next": null,
"prev": null,
"self": "https://0o0.online/api/notification-handlers?page=1"
}
}
GET https://0o0.online/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "[email protected]"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-12-02 19:04:53",
}
}
POST https://0o0.online/api/notification-handlers
| Parametreler | Detaylar | Açıklama |
|---|---|---|
| name | Zorunlu Çerçeve | - |
| type | Zorunlu Çerçeve | izin verilen değerler: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id |
| seçmeli Çerçeve | Mevcut olduğunda: type = email E-posta | |
| webhook | seçmeli Çerçeve | Mevcut olduğunda: type = webhook WebHok URL |
| slack | seçmeli Çerçeve | Mevcut olduğunda: type = slack Slack Webhook Hakkında URL |
| discord | seçmeli Çerçeve | Mevcut olduğunda: type = discord Discord WebHok URL |
| telegram | seçmeli Çerçeve | Mevcut olduğunda: type = telegram Telegram API Token |
| telegram_chat_id | seçmeli Çerçeve | Mevcut olduğunda: type = telegram Telegram sohbet ID |
| microsoft_teams | seçmeli Çerçeve | Mevcut olduğunda: type = microsoft_teams Microsoft Webhook Takımları URL |
| google_chat | seçmeli Çerçeve | Mevcut olduğunda: type = google_chat Google Webhook sohbet URL |
| ntfy | seçmeli Çerçeve | Mevcut olduğunda: type = ntfy NTF Konusu URL |
| x_consumer_key | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| x_consumer_secret | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| x_access_token | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| x_access_token_secret | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| push_subscriber_id | seçmeli Çerçeve | Mevcut olduğunda: type = push_subscriber_id Push aboneliği |
curl --request POST \
--url 'https://0o0.online/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=[email protected]' \
--url 'https://0o0.online/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=[email protected]' \
{
"data": {
"id": 1
}
}
POST https://0o0.online/api/notification-handlers/{notification_handler_id}
| Parametreler | Detaylar | Açıklama |
|---|---|---|
| name | seçmeli Çerçeve | - |
| type | seçmeli Çerçeve | izin verilen değerler: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id |
| seçmeli Çerçeve | Mevcut olduğunda: type = email E-posta | |
| webhook | seçmeli Çerçeve | Mevcut olduğunda: type = webhook WebHok URL |
| slack | seçmeli Çerçeve | Mevcut olduğunda: type = slack Slack Webhook Hakkında URL |
| discord | seçmeli Çerçeve | Mevcut olduğunda: type = discord Discord WebHok URL |
| telegram | seçmeli Çerçeve | Mevcut olduğunda: type = telegram Telegram API Token |
| telegram_chat_id | seçmeli Çerçeve | Mevcut olduğunda: type = telegram Telegram sohbet ID |
| microsoft_teams | seçmeli Çerçeve | Mevcut olduğunda: type = microsoft_teams Microsoft Webhook Takımları URL |
| google_chat | seçmeli Çerçeve | Mevcut olduğunda: type = google_chat Google Webhook sohbet URL |
| ntfy | seçmeli Çerçeve | Mevcut olduğunda: type = ntfy NTF Konusu URL |
| x_consumer_key | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| x_consumer_secret | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| x_access_token | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| x_access_token_secret | seçmeli Çerçeve | Mevcut olduğunda: type = x Telegram API Token |
| push_subscriber_id | seçmeli Çerçeve | Mevcut olduğunda: type = push_subscriber_id Push aboneliği |
| is_enabled | seçmeli Boolean | - |
curl --request POST \
--url 'https://0o0.online/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' \
--url 'https://0o0.online/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://0o0.online/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \