Listing Custom Event Names
Note After April 30, 2018, Amazon Mobile Analytics features will be provided only by Amazon Pinpoint. If you're new to Mobile Analytics, use Amazon Pinpoint instead. If you're currently using Mobile Analytics, see Migrating from Amazon Mobile Analytics to Amazon Pinpoint. |
This query lists the valid custom event names for an app. The URL for this query is:
https://mobileanalytics.us-east-1.amazonaws.com/2014-06-05/apps/<
YOUR APP ID
>/events
Example Response
Here is an example of the JSON returned in the response of a query for the names of the custom events for an app.
{ _links : { curies : [ { href : http://docs.aws.amazon.com/mobileanalytics/latest/ug/server-reference.html#event:{rel}, name : event, templated : true } ], self : { href : /2014-06-05/apps/<
YOUR APP ID
>/events, name : events, title : Events Collection }, event:by-name : [ { href : /2014-06-05/apps/<YOUR APP ID
>/events/{eventName}, name : event-by-name, title : Event By Name, templated : true } ], item : [ { href : /2014-06-05/apps/<YOUR APP ID
>/events/LevelComplete, name : LevelComplete }, { href : /2014-06-05/apps/<YOUR APP ID
>/events/LevelUp, name : LevelUp } ], up : [ { href : /2014-06-05/apps/<YOUR APP ID
>, name : <YOUR APP ID
> } ] }, appId : <YOUR APP ID
>, itemCount : 2, pageCount : 1 }