{"type":"api","title":"Get Syslog Destinations","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/181eb68a-7ae6-3fee-8588-bdd2b4e91d68","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":"1.0.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/FAULT_MANAGEMENT/fault-infra-deprecated-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{server_ip}:30603/crosswork/alarms/v1","description":"Alarms"}]},"spec":{"tags":["Alarms"],"summary":"Get Syslog Destinations","operationId":"getRestDestinationList","deprecated":true,"responses":{"200":{"description":"A successful response.","content":{"*/*":{"schema":{"title":"Rest Destination List","type":"object","description":"List of configured Rest destinations.","properties":{"data":{"type":"array","items":{"title":"Rest Destination","type":"object","description":"Configuration details for a Rest destination.","properties":{"host":{"title":"IPv4 or IPv6 address of the Rest server","type":"string","description":"The IP address of the Rest server."},"port":{"title":"Listening port of the Rest server","type":"integer","format":"int32","description":"The port on which the Rest server is listening."},"url":{"title":"Rest server url","type":"string","description":"The URL of the Rest server."},"username":{"title":"Username for http request","type":"string","description":"Username required for HTTP requests."},"password":{"title":"Password for http request","type":"string","description":"Password required for HTTP requests."}},"$$ref":"#/components/schemas/alarmsRestDestination"},"description":"A list of Rest destinations."}},"$$ref":"#/components/schemas/alarmsRestDestinationList"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","description":"Structure representing a runtime error.","properties":{"error":{"type":"string","description":"The error message."},"code":{"type":"integer","format":"int32","description":"The error code."},"message":{"type":"string","description":"A detailed error message."},"details":{"type":"array","items":{"type":"object","description":"A protobuf Any type structure.","properties":{"type_url":{"type":"string","description":"The URL of the type."},"value":{"type":"string","format":"byte","description":"The value of the type."}},"$$ref":"#/components/schemas/protobufAny"},"description":"Additional details about the error."}},"$$ref":"#/components/schemas/runtimeError"}}}}},"parameters":[{"name":"body","in":"query","required":true,"description":"The body of the query parameters.","schema":{"title":"Rest Destination","type":"object","description":"Configuration details for a Rest destination.","properties":{"host":{"title":"IPv4 or IPv6 address of the Rest server","type":"string","description":"The IP address of the Rest server."},"port":{"title":"Listening port of the Rest server","type":"integer","format":"int32","description":"The port on which the Rest server is listening."},"url":{"title":"Rest server url","type":"string","description":"The URL of the Rest server."},"username":{"title":"Username for http request","type":"string","description":"Username required for HTTP requests."},"password":{"title":"Password for http request","type":"string","description":"Password required for HTTP requests."}},"$$ref":"#/components/schemas/alarmsRestDestination"}}],"__originalOperationId":"getRestDestinationList","method":"post","path":"/rest-dest/query"}}