HostTracker help - api REST subscription operations
BASE_URL: https://api1.host-tracker.com
GET BASE_URL/subscriptions/alertTypes - get array of accepted alert types. Currently ["Down","RepeatedlyDown","Up"] | ||
GET BASE_URL/subscriptions/reportTypes - get array of accepted report types. Currently ["Daily","Monthly","Quarterly","Weekly","Yearly"] | ||
GET BASE_URL/subscriptions?contactId=contactGuid&taskId=taskGuid&types=alertType&types=reportTypes - get subscriptions, possible filtered by contactId, taskId or subscriptionType | ||
POST BASE_URL/subscriptions - add new subscriptions | ||
DELETE BASE_URL/subscriptions - delete subscriptions |