Really hoping someone can help me out, I am just starting to get dangerous with node.red but am still very much green. I believe what I am trying to do is rather simple, just can't wrap my head around it.
What I want to do is using node red to create a event listener, I then would like to receive these events and trigger events in another application by sending another HTTP request based off of response parameters. The program I want to receive events offers and API that allows me to either make individual API calls for recent events or subscribe to a stream.....I would prefer the streaming route however once I finally get this working am confused about how I can initiate the stream again in the event communications stop. I also have the ability to filter the event stream response but for now just figured let it all come thru....Also for testing purposes running I have API authentication disabled.
The API call to subscribe to the event stream is as follows:
A program issues a StreamEvents call to request streaming of events.
Multiple events can be included in a response. The elements included in the EVENT element are dependent upon the specific event type. Not all elements are included in every notification. Event notifications
commence starting from the issuance of the request. Past events are not delivered through this interface. The program is responsible for re-issuing the request in the event that it gets disconnected from the system.
Every ten seconds, a keep-alive response containing zero events is streamed to the client via the
How do I go about setting this request up? More importantly what would the best means of filtering the responses be? I've included the program API guide as a reference......anyone out there willing to take a couple minutes and help would be beyond appreciated!! THANKS!
S2_NetBox_API_14.pdf (1.0 MB)