Skip to content

Commit 057fdd0

Browse files
[Workers KV] Fixing broken links. (#19212)
* Fixing broken links. * Update src/content/docs/kv/get-started.mdx Co-authored-by: Rebecca Tamachiro <[email protected]> * Update src/content/docs/kv/concepts/kv-bindings.mdx Co-authored-by: Rebecca Tamachiro <[email protected]> --------- Co-authored-by: Rebecca Tamachiro <[email protected]>
1 parent 0e9beaf commit 057fdd0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
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
@@ -73,4 +73,4 @@ Delete more than one key-value pair at a time with Wrangler or [via the REST API
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

7575
## Other methods to access KV
76-
You can also [delete key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#delete) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/delete/).
76+
You can also [delete key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#kv-namespace-delete) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/delete/).

src/content/docs/kv/api/list-keys.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ await NAMESPACE.put(key, "", {
159159
```
160160
161161
## Other methods to access KV
162-
You can also [list keys on the command line with Wrangler](/kv/reference/kv-commands/#list) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/list/).
162+
You can also [list keys on the command line with Wrangler](/kv/reference/kv-commands/#kv-namespace-list) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/list/).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,5 @@ The effective `cacheTtl` of an already cached item can be reduced by getting it
166166
167167
## Other methods to access KV
168168
169-
You can [read key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#get) and [from the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/get/).
169+
You can [read key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#kv-key-get) and [from the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/get/).
170170

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,4 @@ async function retryWithBackoff(
270270
271271
## Other methods to access KV
272272
273-
You can also [write key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#create) and [write data via the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/update/).
273+
You can also [write key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#kv-namespace-create) and [write data via the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/update/).

src/content/docs/kv/concepts/kv-bindings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ kv_namespaces = [
7878

7979
## Access KV from Durable Objects and Workers using ES modules format
8080

81-
[Durable Objects](/durable-objects/) use ES modules format. Instead of a global variable, bindings are available as properties of the `env` parameter [passed to the constructor](/durable-objects/get-started/#3-write-a-class-to-define-a-durable-object).
81+
[Durable Objects](/durable-objects/) use ES modules format. Instead of a global variable, bindings are available as properties of the `env` parameter [passed to the constructor](/durable-objects/get-started/walkthrough/#3-write-a-durable-object-class).
8282

8383
An example might look like:
8484

src/content/docs/kv/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ You can view key-value pairs directly from the dashboard.
315315

316316
When using [`wrangler dev`](/workers/wrangler/commands/#dev) to develop locally, Wrangler defaults to using a local version of KV to avoid interfering with any of your live production data in KV. This means that reading keys that you have not written locally returns null.
317317

318-
To have `wrangler dev` connect to your Workers KV namespace running on Cloudflare's global network, call `wrangler dev --remote` instead. This uses the `preview_id` of the KV binding configuration in the `wrangler.toml` file. See the [KV binding docs](/kv/concepts/kv-bindings/#using-the-kv-binding-when-developing-locally) for more information.
318+
To have `wrangler dev` connect to your Workers KV namespace running on Cloudflare's global network, call `wrangler dev --remote` instead. This uses the `preview_id` of the KV binding configuration in the `wrangler.toml` file. Refer to the [KV binding docs](/kv/concepts/kv-bindings/#use-kv-bindings-when-developing-locally) for more information.
319319

320320
:::
321321

0 commit comments

Comments
 (0)