mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
				synced 2025-10-31 18:57:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			431 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			431 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| //
 | |
| // Created by stephane bourque on 2021-07-19.
 | |
| //
 | |
| 
 | |
| #include "RESTAPI_deviceReportHandler.h"
 | |
| #include "StorageService.h"
 | |
| #include "RESTObjects/RESTAPI_FMSObjects.h"
 | |
| #include "Poco/JSON/Object.h"
 | |
| #include "Daemon.h"
 | |
| 
 | |
| namespace OpenWifi {
 | |
|     void RESTAPI_deviceReportHandler::DoGet() {
 | |
|         Daemon()->CreateDashboard();
 | |
|         Poco::JSON::Object  O;
 | |
|         Daemon()->GetDashboard().to_json(O);
 | |
|         ReturnObject(O);
 | |
|     }
 | |
| } | 
