Skip to content

Commit 23c4995

Browse files
authored
fix(kv): Link to new nested API URLs for kv (#21968)
1 parent 38c1b51 commit 23c4995

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/content/docs/kv/api/delete-key-value-pairs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Calling the `delete()` method will remove the key and value from your KV namespa
6868

6969
### Delete data in bulk
7070

71-
Delete more than one key-value pair at a time with Wrangler or [via the REST API](/api/resources/kv/subresources/namespaces/methods/bulk_delete/).
71+
Delete more than one key-value pair at a time with Wrangler or [via the REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/bulk_delete/).
7272

7373
The bulk REST API can accept up to 10,000 KV pairs at once. Bulk writes are not supported using the [KV binding](/kv/concepts/kv-bindings/).
7474

src/content/docs/kv/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ See the full [Workers KV binding API reference](/kv/api/read-key-value-pairs/).
142142
</TabItem>
143143
</Tabs>
144144

145-
See the full Workers KV [REST API and SDK reference](/api/resources/kv/subresources/namespaces/methods/list/) for details on using REST API from external applications, with pre-generated SDK's for external TypeScript, Python, or Go applications.
145+
See the full Workers KV [REST API and SDK reference](/api/resources/kv/) for details on using REST API from external applications, with pre-generated SDK's for external TypeScript, Python, or Go applications.
146146

147147
</TabItem>
148148
</Tabs>

src/content/docs/kv/platform/pricing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Render } from "~/components"
1212

1313
## Pricing FAQ
1414

15-
### When writing via KV's [REST API](/api/resources/kv/subresources/namespaces/methods/bulk_update/), how are writes charged?
15+
### When writing via KV's [REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/bulk_update/), how are writes charged?
1616

1717
Each key-value pair in the `PUT` request is counted as a single write, identical to how each call to `PUT` in the Workers API counts as a write. Writing 5,000 keys via the REST API incurs the same write costs as making 5,000 `PUT` calls in a Worker.
1818

src/content/docs/kv/reference/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ No. A bulk request to Workers KV, regardless of the amount of keys included in t
3535

3636
## Pricing
3737

38-
### When writing via Workers KV's [REST API](/api/resources/kv/subresources/namespaces/methods/bulk_update/), how are writes charged?
38+
### When writing via Workers KV's [REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/bulk_update/), how are writes charged?
3939

4040
Each key-value pair in the `PUT` request is counted as a single write, identical to how each call to `PUT` in the Workers API counts as a write. Writing 5,000 keys via the REST API incurs the same write costs as making 5,000 `PUT` calls in a Worker.
4141

src/content/docs/kv/workers-kv-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
pcx_content_type: navigation
33
title: KV REST API
4-
external_link: /api/resources/kv/subresources/namespaces/methods/list/
4+
external_link: /api/resources/kv/
55
sidebar:
66
order: 8
77

src/content/release-notes/kv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ entries:
99
title: Workers KV REST API bulk operations provide granular errors
1010
description: |-
1111
12-
The REST API endpoints for bulk operations ([write](/api/resources/kv/subresources/namespaces/methods/bulk_update/), [delete](/api/resources/kv/subresources/namespaces/methods/bulk_delete/)) now return the keys of operations that failed during the bulk operation. The updated response bodies are documented in the [REST API documentation](/api/resources/kv/subresources/namespaces/methods/list/) and contain the following information in the `result` field:
12+
The REST API endpoints for bulk operations ([write](/api/resources/kv/subresources/namespaces/subresources/keys/methods/bulk_update/), [delete](/api/resources/kv/subresources/namespaces/subresources/keys/methods/bulk_delete/)) now return the keys of operations that failed during the bulk operation. The updated response bodies are documented in the [REST API documentation](/api/resources/kv/subresources/namespaces/methods/list/) and contain the following information in the `result` field:
1313
1414
```
1515
{
@@ -26,5 +26,5 @@ entries:
2626
2727
Workers KV now has a new [metrics dashboard](/kv/observability/metrics-analytics/#view-metrics-in-the-dashboard) and [analytics API](/kv/observability/metrics-analytics/#query-via-the-graphql-api) that leverages the [GraphQL Analytics API](/analytics/graphql-api/) used by many other Cloudflare products. The new analytics API provides per-account and per-namespace metrics for both operations and storage, including latency metrics for read and write operations to Workers KV.
2828
29-
The legacy Workers KV [analytics REST API](/api/resources/kv/subresources/namespaces/subresources/analytics/methods/list/) will be turned off as of January 31st, 2025.
29+
The legacy Workers KV analytics REST API will be turned off as of January 31st, 2025.
3030
Developers using this API will receive a series of email notifications prior to the shutdown of the legacy API.

0 commit comments

Comments
 (0)