Skip to content

Commit 4ef411d

Browse files
thomasgauvinrts-robOxyjun
authored
thomasgauvin: add changelog entry for response bodies in bulk operations (#18164)
* thomasgauvin: add changelog entry for response bodies in bulk operations * Update src/content/changelogs/kv.yaml Co-authored-by: Rob Sutter <[email protected]> * Update src/content/changelogs/kv.yaml * Update src/content/changelogs/kv.yaml Co-authored-by: Jun Lee <[email protected]> * Update src/content/changelogs/kv.yaml * Update src/content/changelogs/kv.yaml --------- Co-authored-by: Rob Sutter <[email protected]> Co-authored-by: Jun Lee <[email protected]>
1 parent 5e5e984 commit 4ef411d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/content/changelogs/kv.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ productLink: "/kv/"
55
productArea: Developer platform
66
productAreaLink: /workers/platform/changelog/platform/
77
entries:
8+
- publish_date: "2024-11-14"
9+
title: Workers KV REST API bulk operations provide granular errors
10+
description: |-
11+
12+
The REST API endpoints for bulk operations ([write](/api/operations/workers-kv-namespace-write-multiple-key-value-pairs), [delete](workers-kv-namespace-delete-multiple-key-value-pairs)) now return the keys of operations that failed during the bulk operation. The updated response bodies are documented in the [REST API documentation](/api/operations/workers-kv-namespace-list-namespaces) and contain the following information in the `result` field:
13+
14+
```
15+
{
16+
"successful_key_count": number,
17+
"unsuccessful_keys": string[]
18+
}
19+
```
20+
21+
The unsuccessful keys are an array of keys that were not written successfully to all storage backends and therefore should be retried.
22+
823
- publish_date: "2024-08-08"
924
title: New KV Analytics API
1025
description: |-

0 commit comments

Comments
 (0)