{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/9792902d-b2cb-3a50-8089-29b3532bc5ed","info":{"title":"Crosswork Alarms and Events APIs","description":"Crosswork Alarms and Events APIs allow applications to create, update, acknowledge and clear alarms.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/FAULT_MANAGEMENT/fault-infra-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{server_ip}:30603/crosswork/alarm/v1","description":"Alarm/Alarm-Rest"}]},"spec":{"title":"alarmsV2Event","type":"object","description":"An Event structure, an application/service will post this proto as an input for the Alarm Center to create Events and Alarms","properties":{"EventId":{"type":"string","description":"Generated uuid to identify uniquely the event. Will be generated by the client lib."},"Source":{"title":"The source of this event","type":"string","description":"The source from which the event originated"},"GeneratedBy":{"title":"Generated by of this event","type":"string","description":"The entity that generated this event"},"ApplicationSpecificID":{"title":"The ApplicationSpecificID of this event","type":"string","description":"A specific identifier related to the application"},"DisplayName":{"title":"The Display Name of this event","type":"string","description":"A user-friendly display name for the event"},"eventName":{"title":"Event Name","type":"string","description":"The name of the event"},"Timestamp":{"type":"string","description":"The time this event was created. Will be filled by the client lib.","format":"int64"},"EventSeverity":{"title":"Defines the Event/Alarm severity","type":"string","description":"The severity level of the event or alarm","default":"InvalidSeverity","enum":["InvalidSeverity","Clear","Info","Warning","Minor","Major","Critical"],"$$ref":"#/components/schemas/alarmsSeverity"},"Description":{"type":"string","description":"A free text, parametrized, description. Do not need to fill if there is an event type..."},"Params":{"title":"Parameters for the event case Text","type":"object","additionalProperties":{"type":"string"},"description":"Key-value pairs of parameters for the event"},"EventCategory":{"title":"Defines the Category of the Event/Alarm","type":"string","enum":["System","Network","Security","External"],"description":"The category of the event or alarm can be System/Network/Security/External","$$ref":"#/components/schemas/alarmsCategoryUpdate"},"Flagging":{"title":"If the event is a flagging event, e.g. raise an alarm","type":"boolean","description":"Whether the event should flag an alarm"},"event_case":{"title":"Event case","type":"integer","format":"int32","description":"The specific case or scenario for the event"},"originServicePodId":{"title":"API is applicable for System & Network events only","type":"string","description":"Identifier for the service pod where the event originated"}},"$$ref":"#/components/schemas/alarmsV2Event"}}