Menu
Amazon Mobile Analytics
User Guide

Listing Custom Event Attribute 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 attribute names for a custom event. The URL for this query is:

https://mobileanalytics.us-east-1.amazonaws.com/2014-06-05/apps/<YOUR APP ID>/events/<CUSTOM EVENT NAME>/attributes

Example Response

Here is an example of the JSON returned in the response of a query for attribute names for a "LevelComplete" custom event. It returns three example attribute names in the item attribute.

{ "_links" : { "curies" : [{ "href" : "http://docs.aws.amazon.com/mobileanalytics/latest/ug/server-reference.html#event:{rel}, "name" : "attribute", "templated" : true } ], "self" : { "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes", "name" : "attributes", "title" : "Attributes Collection" }, "attribute:by-name" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/{attributeName}", "name" : "attribute-by-name", "title" : "Attribute By Name", "templated" : true } ], "item" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/Difficulty", "name" : "Difficulty" }, { "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/EndState", "name" : "EndState" }, { "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/LevelName", "name" : "LevelName" } ], "up" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete", "name" : "LevelComplete" } ] }, "appId" : "<YOUR APP ID>", "eventName" : "LevelComplete", "itemCount" : 3, "pageCount" : 1 }

On this page: