Skip to content

Commit

Permalink
thomasgauvin: add changelog entry for response bodies in bulk operations
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgauvin committed Nov 14, 2024
1 parent f4062eb commit 5d61792
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/content/changelogs/kv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ productLink: "/kv/"
productArea: Developer platform
productAreaLink: /workers/platform/changelog/platform/
entries:
- publish_date: "2024-11-14"
title: Workers KV REST API bulk operations provide granular errors
description: |-
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:
```
{
"successful_key_count": number,
"unsuccessful_keys": string[]
}
```
The unsuccessful keys are an array of the keys that have unsuccessfully been written to all storage backends of Workers KV and should be retried.
- publish_date: "2024-08-08"
title: New KV Analytics API
description: |-
Expand Down

0 comments on commit 5d61792

Please sign in to comment.