{"type":"api","title":"Subscribe for alarm notifications in XML format","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/6a01584a-e9b9-3cf8-9996-d950a6b28d9f","info":{"title":"Connection Oriented Alarm Notification Streaming","description":"Connection Oriented Alarm Notification Streaming APIs exposed by Notification 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":"1.0.0"},"tags":[{"name":"Connection Oriented Alarm Notification Streaming"}],"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/Notification/cnctnorntd-alarm-stream-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{server_ip}:30603/crosswork/notification/restconf/streams/v2","description":"Generated server url"}]},"spec":{"tags":["Connection Oriented Alarm Notification Streaming"],"operationId":"websocketAlarm_xml","summary":"Subscribe for alarm notifications in XML format","description":"This API should be used over a websocket connection config","parameters":[{"name":"Authorization","description":"\u003cb\u003eBasic\u003c/b\u003e - [Username/Password encoded in base64] or \u003cb\u003eJWT\u003c/b\u003e - [Token generated using the username/password]","in":"header","required":true,"schema":{"type":"string"}},{"name":"client-ip","description":"Required only for \u003cb\u003eBasic\u003c/b\u003e Authorization. Ip of the server/machine where websocket client is running","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"101":{"description":"Connection successful with the server","content":{"application/txt":{"schema":{"type":"string","examples":["subscription-id=6658"]}}}},"401":{"description":"Unauthorized. The request has not been applied because it lacks valid authentication credentials for the target resource."},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"500":{"description":"Internal Server Error - operation-failed"}},"__originalOperationId":"websocketAlarm-xml","method":"get","path":"/alarm.xml"}}