Select to view content in your preferred language

Build a Feed HTTP Poll for AVA Aware (Requires Two steps for Authentication).

511
1
Jump to solution
03-19-2023 10:41 AM
JeffSilberberg
Occasional Contributor III

So I am trying to poll the AVA Aware API for data. The process is to Post to dologin, and if you are valid get back a cookie with the "token" value to use for authentication that appears to last 24 hours.  Then do the necessary get for the feed, in my case I want to poll for counts every 10 minutes.   In creating a HTTP Poller Feed I do not see a obvious way to implement this two step process.  

The process is not much different than Velocity's in, that I have to get a bearertoken every so often to be a to authenticate to a receiver. 

https://docs.video.avasecurity.com/Integrations/api/api-getstart.htm?tocpath=Integrations%7CDevelopi...

 

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
JeffSilberberg
Occasional Contributor III

 

Solution is to build a middleware process on another resource that is then POSTing to the Feed with  restructured JSON that combines multiple inputs fro the Camera(s) AI.   

View solution in original post

0 Kudos
1 Reply
JeffSilberberg
Occasional Contributor III

 

Solution is to build a middleware process on another resource that is then POSTing to the Feed with  restructured JSON that combines multiple inputs fro the Camera(s) AI.   

0 Kudos