diff --git a/docs-main/global-synchronizer/faq.mdx b/docs-main/global-synchronizer/faq.mdx index 0fe316e35..0e000b50a 100644 --- a/docs-main/global-synchronizer/faq.mdx +++ b/docs-main/global-synchronizer/faq.mdx @@ -175,7 +175,7 @@ Are there working examples of using the websocket version of the json api? The `v2/updates/trees` JSON ledger api is deprecated so what is replacing it? -> A `v2/updates` is being added in 3.3 and will be available soon. In the interim, you can use `v2/updates/flat` which has the same behavior as `UpdateService.GetUpdates`. +> `v2/updates/trees` (along with `v2/updates/flats`) has been removed. Use `v2/updates` instead, which has the same behavior as `UpdateService.GetUpdates`. The `updateFormat` request field is now required: set `updateFormat.includeTransactions.transactionShape` to `TRANSACTION_SHAPE_LEDGER_EFFECTS` to get the tree-shaped transactions that `v2/updates/trees` previously returned. diff --git a/docs-main/global-synchronizer/reference/api-configuration.mdx b/docs-main/global-synchronizer/reference/api-configuration.mdx index facb83262..c3a35c54e 100644 --- a/docs-main/global-synchronizer/reference/api-configuration.mdx +++ b/docs-main/global-synchronizer/reference/api-configuration.mdx @@ -236,7 +236,7 @@ Configure the JSON API endpoint by adding the `server` parameter group. ## Websockets -The endpoints that result in large data sets (`/v2/commands/completions`, `/v2/state/active-contracts`, `/v2/updates`, `/v2/updates/flats`, and `/v2/updates/trees`) come in two flavors: +The endpoints that result in large data sets (`/v2/commands/completions`, `/v2/state/active-contracts`, `/v2/updates`) come in two flavors: - a websocket capable of returning an arbitrarily long result set in a stream - a HTTP post request returning a limited list of results diff --git a/docs-main/sdks-tools/api-reference/json-api.mdx b/docs-main/sdks-tools/api-reference/json-api.mdx index aa490f99d..71e1c1d13 100644 --- a/docs-main/sdks-tools/api-reference/json-api.mdx +++ b/docs-main/sdks-tools/api-reference/json-api.mdx @@ -96,7 +96,6 @@ curl localhost:7575/v2/state/active-contracts \ }, "verbose": false }, - "verbose": false, "activeAtOffset": 20 }' ``` @@ -105,7 +104,7 @@ curl localhost:7575/v2/state/active-contracts \ ### Transaction Streaming -The JSON API supports both HTTP POST and WebSocket connections for streaming updates. Use `/v2/updates` or `/v2/updates/flats` for flat transaction streams, and `/v2/updates/trees` for transaction trees. WebSocket connections use the `daml.ws.auth` subprotocol. +The JSON API supports both HTTP POST and WebSocket connections for streaming updates on `/v2/updates`. WebSocket connections use the `daml.ws.auth` subprotocol. ### Ledger End