POST/shorts.v1alpha1.OwnershipService/GetOwnershipMap

GetOwnershipMap

The desk's map: every stock with a current substantial holder, what its notices disclose, and how that moved over a window.

Parameters

Connect-Protocol-VersionheaderRequired
number [1]

Define the version of the Connect protocol

Connect-Timeout-Msheader
number

Define the timeout, in ms

Request Body

application/json
object

The desk's map request. The dates are YYYY-MM-DD, inclusive. Empty means the default: the 91 days ending at the newest notice read. A span over 366 days is InvalidArgument.

fromstring

(proto string)

fundFromstring

The index funds' window, when it is not the notice window: the snapshot dates the fund figures compare, at most 366 days apart. Empty takes from and to (the notice window), and one empty bound is filled as the desk fills it. (proto string)

fundTostring

(proto string)

tostring

(proto string)

Responses

200Success
application/json
object
asOfstring

(proto string)

endFilesFromstring

The as-at range of the end files the comparison reads. (proto string)

endFilesTostring

(proto string)

fromstring

(proto string)

fundFromstring

The index funds' window the fund figures compare, as served. (proto string)

fundTostring

(proto string)

fundsComparedinteger <int32>

Index funds compared in the window: each with a file at its start (or inside the window) and a newer file at the end. Zero when the window holds one file per fund, in which case every fund change is unknown. (proto int32)

startFilesFromstring

The as-at range of the start files the comparison reads. (proto string)

startFilesTostring

(proto string)

stocksarray

(proto shorts.v1alpha1.MapStock)

Array Items:
tostring

(proto string)

defaultError
application/json
object

Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation

codestring [canceled, unknown, invalid_argument, deadline_exceeded, not_found, already_exists, permission_denied, resource_exhausted, failed_precondition, aborted, out_of_range, unimplemented, internal, unavailable, data_loss, unauthenticated]

The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

detailsarray

A list of messages that carry the error details. There is no limit on the number of messages.

Array Items:
messagestring

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.OwnershipService/GetOwnershipMap" \
  -H "Content-Type: application/json" \
  -d '{
  "from": "string",
  "fundFrom": "string",
  "fundTo": "string",
  "to": "string"
}'