POST/shorts.v1alpha1.OwnershipService/ListSubstantialNotices

ListSubstantialNotices

The substantial holding notices we could read, newest release first: filtered by window, event, kind, stock or registry holder, paged by a keyset cursor, with the window's activity on the first page for windows of up to 90 days.

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
cursorstring

"" for the first page, else the previous page's next_cursor. (proto string)

eventstring

"" or one of became, increased, decreased, changed, ceased, nz. (proto string)

includeActivityboolean

Also compute the window's counts, weekly buckets and largest moves (windows of at most 90 days; omitted above that, and with since or until). Only the first page (cursor ""): a page after a cursor never carries it. (proto bool)

industrystring

"" or an industry, matched exactly as the register's industries are. "" is no filter, so the stocks with no industry on record cannot be filtered to. (proto string)

institutionSlugstring

"" or a registry slug: that holder's notices, as its institution page reads them. Holders off the map cannot be filtered. (proto string)

kindstring

"" or a holder kind: an institution kind, corporate or unclassified. (proto string)

limitinteger <int32>

0 means 50; above 100 is 100. (proto int32)

sincestring

"" or YYYY-MM-DD: notices released on or after it, inclusive. Named dates are the window: window_days is ignored when since or until is named, and the response echoes 0. With no until the span runs to today; with no since it starts 365 days before until. A span over 366 days is InvalidArgument, as is an invalid date. (proto string)

stockCodestring

"" or an ASX code (1 to 6 uppercase alphanumerics). (proto string)

untilstring

"" or YYYY-MM-DD: notices released on or before it, inclusive. Refused as InvalidArgument when it is before since (see since for the span). (proto string)

windowDaysinteger <int32>

7, 30, 90 or 365; 0 means every notice read (no date clause). Another positive value rounds UP to the next served window, and one above 365 is 0; the response echoes the window used. A negative value is invalid. (proto int32)

Responses

200Success
application/json
object
activityobject

Only on a first page that set include_activity, for a window that allows it. (proto shorts.v1alpha1.NoticeActivity)

becameinteger <int32>

(proto int32)

ceasedinteger <int32>

(proto int32)

changedinteger <int32>

(proto int32)

decreasedinteger <int32>

(proto int32)

increasedinteger <int32>

(proto int32)

nzinteger <int32>

(proto int32)

asOfstring

(proto string)

nextCursorstring

The cursor for the next page; "" on the last page. (proto string)

noticesarray

(proto shorts.v1alpha1.SubstantialNotice)

Array Items:
totalinteger <int32>

Notices matching the filters in the window; the cursor does not narrow it. (proto int32)

windowDaysinteger <int32>

The window used, echoed: 0 is every notice read (no date clause). (proto int32)

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/ListSubstantialNotices" \
  -H "Content-Type: application/json" \
  -d '{
  "cursor": "string",
  "event": "string",
  "includeActivity": true,
  "industry": "string",
  "institutionSlug": "string",
  "kind": "string",
  "limit": 0,
  "since": "string",
  "stockCode": "string",
  "until": "string",
  "windowDays": 0
}'