GET /service/facilities/wifi_access_log/all
Return WiFi access log records.
Resource URL
https://api.data.um.edu.mo/service/facilities/wifi_access_log/v1.0.0/all
Resource Information
Response format | JSON |
Requires authorization? | Yes |
Rate limited? | Yes |
Parameters
Parameter | Related Field | Required | Description | Type | Filter Type | Example |
---|---|---|---|---|---|---|
date_from | dateTime | optional | Datetime, in UTC+08:00 (inclusive). | query | range | 2019-05-05T12:29:00 |
date_to | dateTime | optional | Datetime, in UTC+08:00 (inclusive). | query | range | 2019-05-05T12:29:00 |
ap_name | apName | optional | Identity for the WiFi access point. | query | simple | UG-E-7 |
client_status | clientStatus | optional | Status of access:
| query | simple | Auth success |
id | hashID | optional | Hashed ID representing the device connected to WiFi, same device got same hashID within the same day. | query | simple | da37029726ad20df17d4e3a9fbf04e1e |
oui | oui | optional | An OUI (Organizationally Unique Identifier) which identifies a vendor or manufacturer of the device connected to WiFi . | query | regular expression | Apple, Inc. |
Example Request
https://api.data.um.edu.mo/service/facilities/wifi_access_log/v1.0.0/all?date_from=2019-07-14T12:30:00&date_to=2019-07-14T12:35:00&ap_name=UG&client_status=Auth%20success&oui=apple
(Example to retrieve WiFi access log of Apple device which successfully connected to WiFi AP name which contains string pattern “UG” from 2019/07/14 12:30:00 to 2019/07/14 12:35:00)
Example Response
{ "_embedded": [ { "_id": "5d2d29fa6f517c6cbfd99a95", "dateTime": "2019-07-14T12:34:47+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "aac380e50810d8e644b37bc598d8c124", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 },{ "_id": "5d2d29fa6f517c6cbfd99a8f", "dateTime": "2019-07-14T12:33:29+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "216ddb1bd51242277459b4c81e77b13d", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 },{ "_id": "5d2d29fa6f517c6cbfd99a8b", "dateTime": "2019-07-14T12:30:37+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "0ee907347a25d0fbc03a4b0c66572565", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 },{ "_id": "5d2d29fa6f517c6cbfd99a89", "dateTime": "2019-07-14T12:30:12+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "654f3a428bfc9934fdba8e1bb0953033", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 },{ "_id": "5d2d29fa6f517c6cbfd99a88", "dateTime": "2019-07-14T12:30:16+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "654f3a428bfc9934fdba8e1bb0953033", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 },{ "_id": "5d2d29fa6f517c6cbfd99a85", "dateTime": "2019-07-14T12:30:13+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "f1438e1c6822c72e6f50c3033a3d9edd", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 },{ "_id": "5d2d29fa6f517c6cbfd99a84", "dateTime": "2019-07-14T12:30:24+08:00", "apName": "UG-E-7", "clientStatus": "Auth success", "hashID": "2871c16d6be8f6a407c63a7efedf9a2d", "oui": "Apple, Inc.", "apLatitude": 22.12958887780108, "apLongitude": 113.5460717744827 }] , "_returned": 7 }