{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/3ba2ebf1-2c82-351f-9129-0701a2a03db6","info":{"title":"APIs exposed by Alarm Rest service","description":"APIs exposed by Alarm Rest service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/fault-emf-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{server_ip}:30603/crosswork/alarm/v1","description":"Generated server url"}]},"spec":{"type":"object","description":"Configuration for an alarm policy","properties":{"policyname":{"type":"string","description":"Name of the policy"},"description":{"type":"string","description":"Description of the policy"},"action":{"type":"string","description":"Action type for the policy","example":"suppressAlarm/suppressEvent"},"deviceGroups":{"type":"array","description":"List of device groups associated with the policy","uniqueItems":true,"items":{"type":"string"}},"criteria":{"type":"string","description":"Criteria for the policy, such as event types","example":"eventType in [comma separated eventtypes]"}},"$$ref":"#/components/schemas/AlarmPolicy","title":"AlarmPolicy"}}