/shorts.v1alpha1.PoliticiansService/GetPoliticianExplorerProfileGetPoliticianExplorerProfile
Count-based analytics for one politician's explorer profile.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
(proto string)
(proto int32)
Responses
(proto google.protobuf.Timestamp)
(proto string)
(proto int32)
(proto shorts.v1alpha1.RegisterHolderCount)
(proto shorts.v1alpha1.RegisterIndustryCount)
(proto shorts.v1alpha1.RegisterItemCount)
(proto int32)
(proto int32)
(proto shorts.v1alpha1.Politician)
opaque; absent for some members (proto string)
'house' | 'senate' (most recent term) (proto string)
Counts only. Never a value. (proto int32)
(proto int32)
(proto string)
House seat (proto string)
(proto int32)
(proto string)
(proto string)
(proto int32)
(proto string)
(proto string)
the credit line the licence requires (proto string)
as Commons states it: "CC BY-SA 4.0", "Public domain" (proto string)
the Commons file page carrying the full terms (proto string)
Portrait photograph, from Wikimedia Commons via Wikidata — NEVER from aph.gov.au, whose images are Commonwealth artefacts that §3.1's posture forbids mirroring and which may carry a separate photographer copyright. THE ATTRIBUTION FIELDS TRAVEL WITH THE URL AND ARE NOT OPTIONAL. CC BY and CC BY-SA permit publication only WITH the credit and a link to the terms, so a consumer that renders photo_url while dropping photo_licence / photo_source_url is breaching the licence, not just being untidy. A database CHECK makes the unattributed state unstorable; carrying the fields together here makes it unrenderable by accident too. Empty for ~26% of members: no Wikidata portrait, or the surname+division match was ambiguous and was withheld rather than guessed. Consumers render a monogram, never a placeholder face and never another person's photograph. (proto string)
canonical; consumers must never derive this (proto string)
UPPERCASE (proto string)
(proto string)
(proto shorts.v1alpha1.RegisterChangeEvent)
(proto shorts.v1alpha1.RegisterSourceDocument)
(proto string)
(proto shorts.v1alpha1.PoliticianTerm)
(proto shorts.v1alpha1.RegisterMonthlyCount)
(proto int32)
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/GetPoliticianExplorerProfile" \
-H "Content-Type: application/json" \
-d '{
"slug": "string",
"topIndustries": 0
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.PoliticiansService/GetPoliticianExplorerProfile" \
-H "Content-Type: application/json" \
-d '{
"slug": "string",
"topIndustries": 0
}'