diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-bulk.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-bulk.md index 106c9694e..dcf69894a 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-bulk.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-bulk.md @@ -313,10 +313,17 @@ A JSON-encoded payload body with the processing status against each entry needs ```json { - "statuses": { - "entryId": "", + "statuses": + [ + { + "entryId": "", "status": "" - } + }, + { + "entryId": "", + "status": "" + } + ] } ``` @@ -334,7 +341,7 @@ Please refer [Expected HTTP Response for Bulk Subscribe]({{< ref pubsub_api.md > Please refer following code samples for how to use Bulk Subscribe: -{{< tabs "Java" "JavaScript" ".NET" "HTTP API (Bash)" "HTTP API (PowerShell)" >}} +{{< tabs "Java" "JavaScript" ".NET" >}} {{% codetab %}} diff --git a/daprdocs/content/en/reference/api/pubsub_api.md b/daprdocs/content/en/reference/api/pubsub_api.md index a421e89a5..68619a753 100644 --- a/daprdocs/content/en/reference/api/pubsub_api.md +++ b/daprdocs/content/en/reference/api/pubsub_api.md @@ -262,10 +262,17 @@ A JSON-encoded payload body with the processing status against each entry needs ```json { - "statuses": { - "entryId": "", + "statuses": + [ + { + "entryId": "", "status": "" - } + }, + { + "entryId": "", + "status": "" + } + ] } ```