{"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":"alarmsV2GetEventsReq","type":"object","description":"Request Events proto, FilterCondition for Event","required":["filterParams"],"properties":{"filterParams":{"title":"FilterParams for events","type":"object","description":"FilterParams for events","required":["type","eventCategory"],"properties":{"type":{"type":"string","description":"The type of events to filter by","enum":["system","network","device"],"example":"system"},"eventId":{"type":"string","description":"The unique identifier of the event to filter by"},"object_description":{"type":"string","description":"A description of the object related to the event"},"eventCategory":{"type":"string","description":"The category of events to filter by"},"Source":{"type":"string","description":"The source of events to filter by"},"generatedBy":{"type":"string","description":"The entity that generated the events to filter by"},"eventSeverity":{"type":"string","description":"The severity of the events to filter by","enum":["critical","major","minor","warning","information","cleared"],"example":"major"},"eventName":{"type":"string","description":"The event name to filter events by"},"description":{"type":"string","description":"A description to filter events by"},"alarm_id":{"type":"string","description":"The ID of the alarm associated with the events to filter by"},"timestamp":{"type":"string","description":"The timestamp to filter events by"}},"$$ref":"#/components/schemas/FilterEventParams"},"filterCondition":{"type":"string","description":"The condition to apply for filtering events","enum":["and","or"],"example":"and"},"sortParams":{"type":"string","example":"timestamp.DESC/ASC","description":"The parameters to sort the events by"},"range":{"type":"string","description":"The range of events to return","default":"0-100"}},"$$ref":"#/components/schemas/alarmsV2GetEventsReq"}}