{"type":"api","title":"Test Custom Syslog Event","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":{"tags":["alarm-rest"],"summary":"Test Custom Syslog Event","description":"Tests a custom syslog event with the provided device details and syslog message. \u003cbr\u003e \u003cbr\u003e\n **Mandatory Fields:**\n `deviceIp`,\n `deviceUuid`, \n `syslog`\n\u003cbr\u003e **Optional Fields:**\n `deviceName`\n\u003cbr\u003e","operationId":"testCustomSyslog","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request object for testing syslog events","properties":{"deviceName":{"type":"string","description":"Name of the device used in testing","example":"ncs540-125"},"deviceIp":{"type":"string","description":"IP address of the device used in testing","example":"3.4.5.6"},"deviceUuid":{"type":"string","description":"UUID of the device used in testing","example":"15d3811d-37fa-4e9d-8f20-200fd9f913fb"},"syslog":{"type":"string","description":"Syslog message used in testing","example":"%ETHPORT-5-IF_DOWN_ADMIN_DOWN: Interface Ethernet1/43 is down (Administratively down)"}},"required":["deviceIp","deviceUuid","syslog"],"$$ref":"#/components/schemas/SyslogTestRequest"}}},"required":true},"responses":{"200":{"description":"Syslog event tested successfully","content":{"application/json":{"schema":{"type":"object","description":"Response object for testing syslog events","properties":{"status":{"type":"string","description":"Status of the syslog test operation","example":"Success/Fail"},"message":{"type":"string","description":"Message indicating the result of the syslog test operation","example":"error-message"}},"$$ref":"#/components/schemas/SyslogTestResponse"}}}},"403":{"description":"Authentication and Authorization errors"},"500":{"description":"operation-failed Response with error"}},"__originalOperationId":"testCustomSyslog","method":"post","path":"/custom/syslog/test"}}