DX NetOps

Expand all | Collapse all

Retrieving events through REST

Jump to Best Answer
  • 1.  Retrieving events through REST

    Posted 03-16-2017 10:49 AM

    Is there any way to get a list of events against a particular device or related to a particular alarm using the REST interface?

     

    I know I can get events through CLI, but that will not work for this situation, I need a way to provide a link that someone can click which will return them the events and the information about the events.  Much like the <More> link in the OneClick alarm view - Component Details - Alarm Details tab.



  • 2.  Re: Retrieving events through REST
    Best Answer

    Posted 03-20-2017 01:04 PM

    Currently the REST API does not support getting events from Spectrum. The REST API only supports creating events at this time. I would suggest submitting an idea on the idea wall.



  • 3.  Re: Retrieving events through REST

    Posted 03-23-2017 05:53 PM

    https://communities.ca.com/message/241808622?commentID=241808622#comment-241808622 

     

    This has been asked some time ago already! This would be great to be able to do this via REST API, specifically being able to set a time range and/or event code filter. Yes, you can do it via sql, but since there is an API you should be able to do everything through it.