API Method: /api/live/registration/list
List registrations for live events.
Parameters
Parameter | Description |
---|---|
live_id | ID of the live event to list registration for. |
p | Page offset for the request. See [pagination](index#pagination) for details. |
size | Number of objects to include in the response. See [pagination](index#pagination) for details. |
Permission level
The minimum required permission level is:
read
Example XML Response
<response status="ok" permission_level="read" p="1" size="100" total_count="2" cached="0">
<liveregistration
live_registration_id="4657433"
token="Jw5kMSlXFLBl6tAP9TeFimYay6NA7gCQ"
live_id="4642498"
site_id="17480"
user_id=""
name="Steffen"
email=""
phone=""
ip_address="2.108.236.234"
country_iso="DK"
region="Capital Region"
city="Copenhagen"
longitude="12.5709"
latitude="55.6777"
unnamed_p="0"
approved_p="0"
calendar_p="0"
last_seen_time="2015-05-01 22:51:04.6949+02"
registration_time="2015-05-01 22:51:04.6949+02"
unregister_link="/no-way-jose/unregister?token=Jw5kMSlXFLBl6tAP9TeFimYay6NA7gCQ&live%5fregistration%5fid=4657433"/>
....
</response>
Example JSON Response
{
"status": "ok",
"permission_level":"read",
"cached":"0",
"liveregistrations":[
{
"live_registration_id": "4657433",
"token": "Jw5kMSlXFLBl6tAP9TeFimYay6NA7gCQ",
"live_id": "4642498",
"site_id": "17480",
"user_id": "",
"name": "Steffen",
"email": "",
"phone": "",
"ip_address": "2.108.236.234",
"country_iso": "DK",
"region": "Capital Region",
"city": "Copenhagen",
"longitude": "12.5709",
"latitude": "55.6777",
"unnamed_p": 0,
"approved_p": 0,
"calendar_p": 0,
"last_seen_time": "2015-05-01 22:51:04.6949+02",
"registration_time": "2015-05-01 22:51:04.6949+02",
"unregister_link": "/no-way-jose/unregister?token=Jw5kMSlXFLBl6tAP9TeFimYay6NA7gCQ&live%5fregistration%5fid=4657433"},
...
],
"p": "1",
"size": "100",
"total_count": "2",
"site": {...},
"endpoint": "/api/live/registration/list"
}