/shorts.v1alpha1.StockService/GetStockDetailsGetStockDetails
Provides a more in-depth breakdown of a particular stock's metadata.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
Request for GetStockDetails RPC, specifying the product code.
(proto string)
Responses
* Table "public.metadata" Column | Type | Collation | Nullable | Default -------------------+------+-----------+----------+--------- company_name | text | | | address | text | | | summary | text | | | details | text | | | website | text | | | stock_code | text | | | links | text | | | images | text | | | company_logo_link | text | | | gcsUrl | text | | |
(proto string)
(proto string)
(proto string)
(proto string)
(proto string)
(proto string)
(proto google.protobuf.Timestamp)
(proto string)
(proto string)
(proto stocks.v1alpha1.FinancialReport)
(proto stocks.v1alpha1.FinancialStatements)
(proto stocks.v1alpha1.FinancialStatementSet)
(proto string)
(proto stocks.v1alpha1.FinancialStatementsInfo)
(proto stocks.v1alpha1.FinancialStatementSet)
(proto bool)
(proto string)
(proto string)
(proto stocks.v1alpha1.CompanyPerson)
Original format of discovered logo (svg, png, etc) (proto string)
Logo URLs (populated by logo discovery pipeline) Full logo PNG URL (background removed) (proto string)
Icon-only logo PNG URL (proto string)
Original URL where the logo was found (proto string)
Original SVG logo URL (if discovered as SVG) (proto string)
(proto string)
(proto string)
(proto string)
(proto stocks.v1alpha1.SocialMediaLinks)
(proto string)
(proto string)
(proto string)
(proto string)
(proto string)
(proto string)
(proto string)
(proto string)
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.StockService/GetStockDetails" \
-H "Content-Type: application/json" \
-d '{
"productCode": "string"
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.StockService/GetStockDetails" \
-H "Content-Type: application/json" \
-d '{
"productCode": "string"
}'