Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following is a description of the Octopus platform API methods related to the Monitoring module, which allow, for example, to check when the last validation of a user in a Location has been performed.

Status panel

GET - Get WifiArea Status

This method returns the information shown in the Status Panel section for the WifiArea indicated by the wifiareaId parameter.

https://<server-domainname>/rest/<version>/reports/wifiarea/{wifiareaId}/status


Parameters

TYPE

Parameter

Significance

Type

Required

Default

HEAD

Authorization

Bearer <API_KEY>

String

YES


GET

wifiareaId

WifiArea identifier

String

YES



Response

HTTP CODE

Result

Response data

200

Ok


{
	"28N2S004": {
		"id": "28XXX004",
		"name": "WIFIAREA NAME",
		"address": "C/ Valentin Beato 22",
		"lat_lng": "41.72217,-3.569137",
		"avatar": "340",
		"devices": "2.1613",
		"total_time": "44719.63171935",
		"total_upload": "104487983.48870968",
		"total_download": "62382492.51182903",
		"last_session": "2017-10-20 14:52:15"
	}
}


401

Unauthorized

Explanation of the error

   

GET - Get WifiArea Group Status

This method returns the information shown in the Status Panel section for the WifiAreas that belong to the WifiArea group indicated by the wifiareaGroupId parameter.

https://<server-domainname>/rest/<version>/reports/wifiareagroups/{wifiareaGroupId}/status


Parameters

TYPE

Parameter

Significance

Type

Required

Default

HEAD

Authorization

Bearer <API_KEY>

String

YES


GET

wifiareaGroupId

WifiArea group identifier

String

YES



Response

HTTP CODE

Result

Response data

200

Ok


{
	"ITXXX006": {
		"id": "ITXXX006",
		"name": "Oficinas Milan",
		"address": "Calle Valentin Beato, 370, 20122 Milano,",
		"lat_lng": "44.421369,9.269482",
		"avatar": "489",
		"devices": null,
		"total_time": null,
		"total_upload": null,
		"total_download": null
	}
}


401

Unauthorized

Explanation of the error


  • No labels