GET api/venues/status
From Social ID Developers
(Difference between revisions)
(Created page with "== Description == Venues status monitoring API. Returns sign in information for each venue. == Resource URL == GET https://wifi.socialidnow.com/api/venues/status == Aut...") |
(→Authentication) |
||
Line 9: | Line 9: | ||
== Authentication == | == Authentication == | ||
− | This API requires Wi-Fi | + | This API requires Wi-Fi API authentication. See [[Authentication]]. |
== Response == | == Response == |
Latest revision as of 15:48, 26 October 2017
Contents |
Description
Venues status monitoring API. Returns sign in information for each venue.
Resource URL
GET https://wifi.socialidnow.com/api/venues/status
Authentication
This API requires Wi-Fi API authentication. See Authentication.
Response
Response Body
[venues] | Hash of account venues identified by their names. |
---|---|
last_sign_in_at 1 | UTC datetime of last occurrence of a user login. |
last_accepted_at 1 | UTC datetime of last confirmation by the controller of a user login. |
1 These fields are not necessarily related to the same login occurrence.
Examples
Request
curl -X GET 'https://wifi.socialidnow.com/api/venues/status' \ --user <wifi_api_id>:<wifi_api_secret>
Response
Response Body
{ "Venue A": { "last_sign_in_at": "2012-10-05T14:51:45Z", "last_accepted_at": null }, "Venue B": { "last_sign_in_at": null, "last_accepted_at": null }, "Venue C": { "last_sign_in_at": "2013-08-03T08:14:33Z", "last_accepted_at": "2013-08-03T08:16:40Z" } }