added sample URLs for retrieving data
Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/be18bc18 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/be18bc18 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/be18bc18 Branch: refs/heads/master Commit: be18bc18dfb70c438690ce9180cc35bd2f84e9dd Parents: ac9cfff Author: Jeff West <[email protected]> Authored: Thu Jul 28 15:09:27 2016 -0700 Committer: Jeff West <[email protected]> Committed: Thu Jul 28 15:09:27 2016 -0700 ---------------------------------------------------------------------- .../samples/beacon-event-example.py | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/be18bc18/utils/usergrid-util-python/samples/beacon-event-example.py ---------------------------------------------------------------------- diff --git a/utils/usergrid-util-python/samples/beacon-event-example.py b/utils/usergrid-util-python/samples/beacon-event-example.py index 8e8bf02..e1c3efe 100644 --- a/utils/usergrid-util-python/samples/beacon-event-example.py +++ b/utils/usergrid-util-python/samples/beacon-event-example.py @@ -18,6 +18,30 @@ # */ # URL Templates for Usergrid +# +# Get all events for a user: +# https://usergrid.net/beacon-sample/event-example/users/jeff/events +# +# Get only enterStore events: +# https://usergrid.net/beacon-sample/event-example/users/jeff/events?ql=select * where eventtype=âenterStore' +# +# Get/filter beacon events for a user: +# https://usergrid.net/beacon-sample/event-example/users/jeff/events?ql=select * where eventtype=âbeacon' +# +# Get latest beacon event for user: +# https://usergrid.net/beacon-sample/event-example/users/jeff/events?ql=select * where eventtype=âbeaconâ&limit=1 +# +# Beacon events for store: +# https://usergrid.net/beacon-sample/event-example/users/jeff/events?ql=select * where eventtype=âbeacon' +# +# All events for store: +# https://usergrid.net/beacon-sample/event-example/stores/store_123/events +# +# All events for a beacon: +# https://usergrid.net/beacon-sample/event-example/beacons/store_456-b2/events +# +# Get Users who passed a specific beacon: +# https://usergrid.net/beacon-sample/event-example/beacons/3fd4fccb-d43b-11e5-978a-123320acb31f/events;ql=select%20* where profile=1/connecting/events/users __author__ = '[email protected]'
