Chain Aggregations

Returns aggregations based on the item grouped by, and the selected aggregation.

Group by options

API request has to include group_by parameter.

This parameter controls result aggregations and can be one or more (comma separated values) of:

  • tier
  • reporting_org

Aggregation options

API request has to include aggregations parameter.

This parameter controls result aggregations and can be one or more (comma separated values) of:

  • count - node count

Request parameters

All filters available on the Chain List, can be used on aggregations.

GET /api/chains/aggregations/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "error_message": "Invalid value for mandatory field 'group_by'"
}