Skip to main content
POST

Returns a page of the snapshot of the hosted parties at a ledger offset, which are satisfying the request’s query parameters. Once all pages are fetched by repeated calls to GetHostedPartiesPage, the client SHOULD begin retrieving topology updates from the update service, starting at the GetHostedPartiesPageResponse.hosted_at_offset. Clients SHOULD NOT assume that the set of hosted parties they receive reflects the state at the ledger end.

OpenAPIAdded 3.8

Authorizations

httpAuth

string
required
HTTP bearer authentication. Send the token as Authorization: Bearer <token>. Ledger API standard JWT token

apiKeyAuth

string
required
API key authentication in the header. Ledger API standard JWT token (websocket)

Body

application/json
number
OpenAPI type: integer (int64).The inclusive offset at which the snapshot of the hosted parties will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. Optional, if defined, it must be a valid absolute offset (positive integer) or ledger begin offset (zero). If zero, the empty set will be returned. If not defined and no page_token is set, the current ledger end will be used and it will be populated in the response. If not defined and a page_token is set, the hosted_at_offset used by the request from which the page_token originates will be used. Optional
object
OpenAPI type: HostedPartiesFilter.If not set, the default filter is used, which returns all parties hosted on any synchronizer on the local participant. Optional
string
To get the next page of the hosted parties snapshot, the page_token should be set to the next_page_token of the last GetHostedPartiesPageResponse. The page token only works if subsequent requests: - are executed on the same participant, - use the same hosted_at_offset and filter - and the participant’s store was not pruned to after the hosted_at_offset. If not specified, the first page of the hosted parties snapshot will be returned. Optional: can be empty
number
OpenAPI type: integer (int32).The result page will contain at most max_page_size hosted parties of the respective hosted parties snapshot. The server might reject max_page_size breaching the server-specified limit. Optional, if not defined, the default will be determined by the server. Optional

Responses

200

application/json
HostedParty[]
Optional: can be empty
integer (int64)
required
The hosted_at_offset which was specified in the request or calculated by the service. Required
string
If not present this is the last page. If present, this token must be used to get the next page. Optional: can be empty

400

Invalid value, Invalid value for: body
text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Added3.8