From c456e204066dc4de831b209022f69d1eb5a9463c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 06:17:21 +0000 Subject: [PATCH] Update JSON Ledger API AsyncAPI reference Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../ledger-api-asyncapi/source-artifacts.json | 2 +- docs-main/docs.json | 8 + .../operations/details.mdx | 37 ++- .../details.mdx | 146 +++++++++++ .../publish.mdx | 248 ++++++++++++++++++ .../subscribe.mdx | 236 +++++++++++++++++ .../v2-commands-completions/details.mdx | 6 +- 7 files changed, 679 insertions(+), 4 deletions(-) create mode 100644 docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/details.mdx create mode 100644 docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/publish.mdx create mode 100644 docs-main/reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/subscribe.mdx diff --git a/config/x2mdx/ledger-api-asyncapi/source-artifacts.json b/config/x2mdx/ledger-api-asyncapi/source-artifacts.json index ad11aedd7..2835e8cf4 100644 --- a/config/x2mdx/ledger-api-asyncapi/source-artifacts.json +++ b/config/x2mdx/ledger-api-asyncapi/source-artifacts.json @@ -11,7 +11,7 @@ }, { "version": "3.5", - "canton_version": "3.5.6" + "canton_version": "3.5.7" } ] } diff --git a/docs-main/docs.json b/docs-main/docs.json index e219a699a..126584b7d 100644 --- a/docs-main/docs.json +++ b/docs-main/docs.json @@ -758,6 +758,14 @@ { "group": "AsyncAPI", "pages": [ + { + "group": "/v2/commands/command-completions", + "pages": [ + "reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/publish", + "reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/subscribe", + "reference/json-api-asyncapi-reference/operations/v2-commands-command-completions/details" + ] + }, { "group": "/v2/commands/completions", "pages": [ diff --git a/docs-main/reference/json-api-asyncapi-reference/operations/details.mdx b/docs-main/reference/json-api-asyncapi-reference/operations/details.mdx index 63c6f50b9..92d7a890a 100644 --- a/docs-main/reference/json-api-asyncapi-reference/operations/details.mdx +++ b/docs-main/reference/json-api-asyncapi-reference/operations/details.mdx @@ -60,12 +60,47 @@ Use the channel page to choose a specific `publish` or `subscribe` action. Actio
Subscribe to command completion events. This streaming endpoint provides more flexibility in filtering than the predecessor ``CompletionStream``.
+Subscribe to command completion events.
+Deprecated: please use ``GetCompletions`` instead. Subscribe to command completion events.
AsyncAPI Channel
+ + +Subscribe to command completion events. This streaming endpoint provides more flexibility in filtering than the predecessor ``CompletionStream``.
+ + +Publish GetCompletionsRequest messages from the client to /v2/commands/command-completions.
+Receive Either_JsCantonError_CompletionStreamResponse messages from /v2/commands/command-completions on the subscription stream.
+/v2/commands/command-completions
+ + +parties
+ array[string]
+
+ beginExclusive
+ string
+
+ parties
+ array[string]
+
+ beginExclusive
+ string
+
+ /v2/commands/command-completions
+ + +completionResponse
+ object
+
+ completionResponse
+ object
+
+ Subscribe to command completion events.
+Deprecated: please use ``GetCompletions`` instead. Subscribe to command completion events.