/shorts.v1alpha1.PoliticiansService/GetPoliticianGetPolitician
One politician's profile: declared interests, property, and terms served.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
(proto string)
Responses
consumers redirect when it differs from the request (proto string)
Extraction coverage FOR THIS PERSON, so a consumer can never present "declared nothing" when the truth is "not yet read". A member's register documents are discovered long before they are parsed (the 44th and 45th Parliaments are scans awaiting the vision tier). Without these two lists an empty `interests` is indistinguishable from a member who genuinely declared nothing — an absence claim about a named individual, which influence-editorial-standards forbids. Three buckets, not two, and the threshold is a SHARE not "any". A parliament where one document out of 155 parsed is not a parliament we have read. Claiming it would make every member whose own document failed to parse render an empty list under a heading that says we looked — a false absence claim about a named individual. read in full (>= 95% of documents) (proto int32)
(proto shorts.v1alpha1.DeclaredInterest)
DeclaredInterest is one holding over one continuous period. declared_from_known distinguishes "declared since this date" from "declared as at a statement whose date the form did not state". A consumer must render the second as an unknown start and never substitute a guess.
read in part — an empty list here proves nothing (proto int32)
documents exist, none read (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)
Suburbs in the member's division, from the ABS boundary join. These are suburbs REPRESENTED, which has nothing to do with anything owned. (proto string)
(proto shorts.v1alpha1.PoliticianTerm)
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/GetPolitician" \
-H "Content-Type: application/json" \
-d '{
"slug": "string"
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.PoliticiansService/GetPolitician" \
-H "Content-Type: application/json" \
-d '{
"slug": "string"
}'