Menu
Amazon Mobile Analytics
User Guide

Listing Custom Event Attribute Names

This query lists the valid attribute names for a custom event. The URL for this query is:

Copy
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.

Copy
{ "_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: