/shorts.v1alpha1.PoliticiansService/GetPoliticianAnalyticsAggregate shape of the register: which parties declare interests in which industries, and where members are from.
COUNTS OF PEOPLE AND DECLARATIONS ONLY. There is no weight, size, exposure or value here and none may be added — the registers do not record any, so any such figure would be invented. A cell says "N members of this party declared an interest in a company in this industry", and nothing more.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
Restrict to interests declared as current, rather than every interest ever declared across parliaments 44-48. (proto bool)
Cap the industry axis to the N most-declared, so the heatmap stays readable. The remainder is NOT silently dropped — the response reports what was cut. (proto int32)
Responses
(proto google.protobuf.Timestamp)
(proto shorts.v1alpha1.PartyIndustryCell)
PartyIndustryCell is one cell of the party x industry matrix.
The axes, pre-ordered, so the client does not re-derive an ordering and silently disagree with the server about which industries were included. (proto shorts.v1alpha1.IndustryTotal)
Industries excluded by top_industries, stated rather than dropped silently. (proto int32)
(proto shorts.v1alpha1.PartyTotal)
(proto string)
(proto shorts.v1alpha1.StateTotal)
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.PoliticiansService/GetPoliticianAnalytics" \
-H "Content-Type: application/json" \
-d '{
"currentOnly": true,
"topIndustries": 0
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.PoliticiansService/GetPoliticianAnalytics" \
-H "Content-Type: application/json" \
-d '{
"currentOnly": true,
"topIndustries": 0
}'