{"type":"api","title":"Get Notification Rule","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - Alarms Notification"],"description":"Get all rules or specific notification rule by its Id ","operationId":"getNotificationRule","parameters":[{"name":"ruleId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"site-id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"@rid":{"type":"integer","format":"int64","example":1158},"accountDetails":{"type":"string","example":"cqx@cisco.com"},"alarmName":{"type":"string","example":"BFD_Node_Up"},"devicesAttached":{"type":"string","example":"1712133e-0246-4281-8152-3317b796d2bc"},"emailThreshold":{"type":"integer","format":"int64","example":5},"lastUpdated":{"type":"integer","format":"int64","example":1588177200725},"notificationRuleId":{"type":"string","example":"e947efc8-e86a-4eb4-b8ce-7ed0c2828f13"},"notificationRuleName":{"type":"string","example":"testwebhook"},"severity":{"type":"string","example":"Medium"},"updatedBy":{"type":"string","example":"admin"},"webhookPassword":{"type":"string","example":"$CRYPT$R21YRfP4HWOv+Z9nSi7zRw==$hEU/zplzA+IJlI/4LsNY/Q=="},"webhookUrl":{"type":"string","example":"https://localhost:8444"},"webhookUsername":{"type":"string","example":"admin"}},"$$ref":"#/components/schemas/NotificationsRuleData"}}},"$$ref":"#/components/schemas/NotificationsRulesResponse"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Alarms-read","__originalOperationId":"getNotificationRule","method":"get","path":"/notifications/rules"}}