அறிவிப்பு கையாளுநர்கள்
GET https://tistos.com/api/notification-handlers/
curl --request GET \
--url 'https://tistos.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
அளவுருக்கள் | விவரங்கள் | விளக்கம் |
---|---|---|
page | விருப்பமான முழு எண் | நீங்கள் முடிவுகளைப் பெற விரும்பும் பக்கம் எண். இயல்பாக 1 ஆக இருக்கும். |
results_per_page | விருப்பமான முழு எண் | ஒரு பக்கத்திற்கு நீங்கள் எவ்வளவு முடிவுகளை விரும்புகிறீர்கள். அனுமதிக்கப்பட்ட மதிப்புகள்: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . இயல்பாக 25 ஆக உள்ளது. |
{ "data": [ { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "[email protected]" }, "is_enabled": true, "last_datetime": null, "datetime": "2025-10-16 10:59:04", } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://tistos.com/api/notification-handlers?page=1", "last": "https://tistos.com/api/notification-handlers?page=1", "next": null, "prev": null, "self": "https://tistos.com/api/notification-handlers?page=1" } }
GET https://tistos.com/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://tistos.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/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": "2025-10-16 10:59:04", } }
POST https://tistos.com/api/notification-handlers
அளவுருக்கள் | விவரங்கள் | விளக்கம் |
---|---|---|
name | தேவையானது கோப்பு | - |
type | தேவையானது கோப்பு | அனுமதிக்கப்பட்ட மதிப்புகள்: email , webhook , slack , discord , telegram , microsoft_teams |
விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = email மின்னஞ்சல் | |
webhook | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = webhook Webhook URL |
slack | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = slack Slack webhook URL |
discord | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = discord Discord webhook URL |
telegram | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = telegram Telegram API டோக்கன் |
telegram_chat_id | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = telegram Telegram அரட்டை ஐடி |
microsoft_teams | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = microsoft_teams Microsoft Teams webhook URL |
curl --request POST \
--url 'https://tistos.com/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://tistos.com/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://tistos.com/api/notification-handlers/{notification_handler_id}
அளவுருக்கள் | விவரங்கள் | விளக்கம் |
---|---|---|
name | விருப்பமான கோப்பு | - |
type | விருப்பமான கோப்பு | அனுமதிக்கப்பட்ட மதிப்புகள்: email , webhook , slack , discord , telegram , microsoft_teams |
விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = email மின்னஞ்சல் | |
webhook | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = webhook Webhook URL |
slack | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = slack Slack webhook URL |
discord | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = discord Discord webhook URL |
telegram | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = telegram Telegram API டோக்கன் |
telegram_chat_id | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = telegram Telegram அரட்டை ஐடி |
microsoft_teams | விருப்பமான கோப்பு | எப்போது கிடைக்கும்: type = microsoft_teams Microsoft Teams webhook URL |
is_enabled | விருப்பமான பூலியன் | - |
curl --request POST \
--url 'https://tistos.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' \
--url 'https://tistos.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://tistos.com/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://tistos.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \