Aggregation of "total" table (REST) --Beta Release--
The "total" table (ID=258) allows three types of aggregation: monthly, daily, hourly.
The aggregation type is identified by mutually exclusive dimensions; output format is xsd:dateTime CCYY-MM-DDThh:mm:ssZ:
- monthly - u:month (e.g. 2009-01-01T00:00:00Z, where day is always 01)
- daily - u:day (e.g. 2009-01-05T00:00:00Z)
- hourly - u:hour (e.g. 2009-01-05T10:00:00Z)
- totals - u:totals: output is "Totals"
For example, to retrieve profile data by day, set the following parameters:
dimensions="u:day"&metrics="u:hits,u:bytes"
To retrieve profile data by hour, set the following parameters:
dimension="u:hour"&metrics="u:hits,u:bytes"