Hi.
I need to access some real time data from Airwave outside the Airwave environment eg. list of all down APs, loaded into another website (NMS).
I thought of a simple HTTP GET request:
I dont want the whole airwave page loaded into my other website, so when requesting all down APs in Airwave i found the request behind the scenes that produces all data as json:
https://10.x.x.x/api/list_view.json?list=ap_list_down&fv_id=39&ap_folder_id=1&expand_all=1
So far so good... However this gives me troubles with authentication and also I am refused to display data from outside Airwave "because it set 'X-Frame-Options' to 'SAMEORIGIN'"
Edit: Is it possible to get the list in jsonp data format instead of json? This way i may bypass the X-origin policy with my AJAX request
or
Is it possible to change the access control header from the server?
I also tried to set up a trigger when an AP goes down/up, and then send a SNMP Trap to the NMS. However this only tells me that an AP went down/up and it does not produce a list of all down APs. It would be a painful workaround to set up rules in my NMS to compute whether or not a specific AP is down right now based on the traps.
Airwave seems like a pretty closed environment, so is my approach wrong, or is it impossible right now?