DNS monitors

GET https://stool.gtx.cl/api/dns-monitors/
curl --request GET \
--url 'https://stool.gtx.cl/api/dns-monitors/' \
--header 'Authorization: Bearer {api_key}' \
Parameters Details Description
page Optional Integer The page number that you want results from. Defaults to 1.
results_per_page Optional Integer How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Defaults to 25.
{ "data": [ { "id": 1, "project_id": 0, "name": "Sample", "target": "example.com", "dns": { "A": [ { "host": "example.com", "ip": "12.12.12.12" } ], "CNAME": [], "HINFO": [], "CAA": [], "MX": [], ... }, "notifications": [1], "settings": { "dns_check_interval_seconds": 300 }, "total_checks": 1, "total_changes": 0, "last_check_datetime": "2024-01-03 01:48:42", "next_check_datetime": "2024-01-03 01:49:13", "last_change_datetime": null, "is_enabled": true, "datetime": "2023-12-31 03:54:09", "last_datetime": "2024-01-03 00:16:36" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://stool.gtx.cl/api/dns-monitors?&page=1", "last": "https://stool.gtx.cl/api/dns-monitors?&page=1", "next": null, "prev": null, "self": "https://stool.gtx.cl/api/dns-monitors?&page=1" } }
GET https://stool.gtx.cl/api/dns-monitors/{dns_monitor_id}
curl --request GET \
--url 'https://stool.gtx.cl/api/dns-monitors/{dns_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "project_id": 0, "name": "Sample", "target": "example.com", "dns": { "A": [ { "host": "example.com", "ip": "12.12.12.12" } ], "CNAME": [], "HINFO": [], "CAA": [], "MX": [], ... }, "notifications": [1], "settings": { "dns_check_interval_seconds": 300 }, "total_checks": 1, "total_changes": 0, "last_check_datetime": "2024-01-03 01:48:42", "next_check_datetime": "2024-01-03 01:49:13", "last_change_datetime": null, "is_enabled": true, "datetime": "2023-12-31 03:54:09", "last_datetime": "2024-01-03 00:16:36" } }
DELETE https://stool.gtx.cl/api/dns-monitors/{dns_monitor_id}
curl --request DELETE \
--url 'https://stool.gtx.cl/api/dns-monitors/{dns_monitor_id}' \
--header 'Authorization: Bearer {api_key}' \