Skip to main content
POST

Under Development, do not use in production yet Get download URLs and metadata for update history objects available for bulk download, between two record times. Note that the returned objects may include also updates outside of the requested record time range (since only full objects are served from storage), but guaranteed to include all updates in the requested range.

Body

application/json
string
required
OpenAPI type: string (date-time).The returned objects must include all updates with record time greater than start_record_time (but may also include updates before it).
string
required
OpenAPI type: string (date-time).The returned objects must include all updates with record time at most end_record_time (but may also include updates after it).
string
The pagination token returned from a previous call to this endpoint with the same arguments.
number
required
OpenAPI type: integer (int32).The maximum number of objects returned for this request.Minimum: 1; Maximum: 1000.
object
OpenAPI type: DamlValueEncoding.How daml values should be encoded in the response. “compact_json” is a compact, human-readable JSON encoding. It is the same encoding as the one used in the HTTP JSON API (v1) or the JavaScript codegen. “protobuf_json” is a verbose JSON encoding that is more difficult to parse, but contains type information, i.e., the values can be parsed losslessly without having access to the Daml source code. “ledger_api_json” is the JSON encoding of the JSON Ledger API (v2). It is identical to “compact_json”, with two differences: numeric values can be written in a different notation (e.g., “0.0000000000” instead of “0E-10”), and trailing fields of Daml records that are null are omitted. Daml upgrades can add optional fields at the end of a record. With “compact_json”, values created before such an upgrade can be returned with or without the new fields (as null) depending on the version of the app that serves the request. This encoding returns the same JSON regardless of the version. Optional and defaults to “compact_json”. Not all endpoints support all encodings. Requests for an encoding that an endpoint does not support are rejected.Allowed values: compact_json, protobuf_json, ledger_api_json.

Responses

200

ok
application/json
BulkStorageObjectRef[]
required
The list of references to the bulk storage objects containing the updates.
string
When requesting the next page of results, pass this as after to the next ListBulkUpdateHistoryObjectsRequest invocation. Will be absent when there are no more pages.

400

not found
application/json
string
required

404

not found
application/json
string
required

501

not implemented
application/json
string
required

History

Updated0.10.3

The POST /v0/history/bulk/updates operation changed in this snapshot.

Updated0.10.0

The POST /v0/history/bulk/updates operation changed in this snapshot.

Added0.5.18