get http://localhost:3001/rest/json/stats/aggregate/trafficClass
Response format is an object with keys '0' for optimized traffic, '1' for passthrough-shaped, '2' for passthrough-unshaped, '3' for all traffic. Each one of these objects contains a hashmap where keys are Traffic Class values from 0 to 9 which contain the statistics.