Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1649,13 +1649,15 @@
/workflows/reference/storage-options/ /workers/platform/storage-options/ 301

# workers KV
/kv/glossary/ /kv/reference/glossary/ 301
/kv/platform/environments/ /kv/reference/environments/ 301
/kv/platform/kv-commands/ /kv/reference/kv-commands/ 301
/kv/platform/kv-commands/ /kv/kv-commands/ 301
/kv/learning/ /kv/reference/ 301
/kv/learning/how-kv-works/ /kv/concepts/how-kv-works/ 301
/kv/learning/kv-bindings/ /kv/concepts/kv-bindings/ 301
/kv/learning/kv-namespaces/ /kv/concepts/kv-namespaces/ 301
/kv/reference/how-kv-works/ /kv/concepts/how-kv-works/ 301
/kv/reference/kv-commands/ /kv/kv-commands/ 301
/kv/reference/kv-bindings/ /kv/concepts/kv-bindings/ 301
/kv/reference/kv-namespaces/ /kv/concepts/kv-namespaces/ 301
/kv/tutorials/workers-kv-from-rust/ /workers/tutorials/workers-kv-from-rust/ 301
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/api/delete-key-value-pairs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ Delete more than one key-value pair at a time with Wrangler or [via the REST API
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/).

## Other methods to access KV
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/).
You can also [delete key-value pairs from the command line with Wrangler](/kv/kv-commands/#kv-namespace-delete) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/delete/).
2 changes: 1 addition & 1 deletion src/content/docs/kv/api/list-keys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ await NAMESPACE.put(key, "", {
```
## Other methods to access KV
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/).
You can also [list keys on the command line with Wrangler](/kv/kv-commands/#kv-namespace-list) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/list/).
2 changes: 1 addition & 1 deletion src/content/docs/kv/api/read-key-value-pairs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ The effective `cacheTtl` of an already cached item can be reduced by getting it
## Other methods to access KV
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/).
You can [read key-value pairs from the command line with Wrangler](/kv/kv-commands/#kv-key-get) and [from the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/get/).
2 changes: 1 addition & 1 deletion src/content/docs/kv/api/write-key-value-pairs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,4 @@ async function retryWithBackoff(
## Other methods to access KV
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/).
You can also [write key-value pairs from the command line with Wrangler](/kv/kv-commands/#kv-namespace-create) and [write data via the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/update/).
2 changes: 1 addition & 1 deletion src/content/docs/kv/demos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Demos and architectures
sidebar:
order: 5
order: 7

---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/examples/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hideChildren: false
pcx_content_type: navigation
title: Examples
sidebar:
order: 4
order: 6
group:
hideIndex: true
---
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/kv/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ Exactly **one** of `--binding` or `--namespace-id` is required.
To view the value directly within the terminal, add `--text`
:::

Refer to the [`kv bulk` documentation](/kv/reference/kv-commands/#kv-bulk) to write a file of multiple key-value pairs to a given KV namespace.
Refer to the [`kv bulk` documentation](/kv/kv-commands/#kv-bulk) to write a file of multiple key-value pairs to a given KV namespace.

</TabItem><TabItem label='Dashboard'>

Expand Down Expand Up @@ -470,4 +470,4 @@ If you have any feature requests or notice any bugs, share your feedback directl

- Learn more about the [KV API](/kv/api/).
- Understand how to use [Environments](/kv/reference/environments/) with Workers KV.
- Read the Wrangler [`kv` command documentation](/kv/reference/kv-commands/).
- Read the Wrangler [`kv` command documentation](/kv/kv-commands/).
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
pcx_content_type: reference
title: Wrangler KV commands
title: KV Wrangler commands
sidebar:
order: 2
order: 5
---

import {Render} from "~/components"
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/observability/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Observability
sidebar:
order: 5
order: 7
group:
hideIndex: true

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/platform/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Platform
sidebar:
order: 5
order: 8
group:
hideIndex: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/reference/environments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ wrangler kv key put --namespace-id=<YOUR_ID> "<KEY>" "<VALUE>"

:::caution

Since version 3.60.0, Wrangler KV commands support the `kv ...` syntax. If you are using versions of Wrangler below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/) for KV page.
Since version 3.60.0, Wrangler KV commands support the `kv ...` syntax. If you are using versions of Wrangler below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/) for KV page.
:::

Most `kv` subcommands also allow you to specify an environment with the optional `--env` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Glossary
pcx_content_type: glossary
sidebar:
order: 7
order: 10

---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pcx_content_type: navigation
title: Reference
sidebar:
order: 6
order: 9
group:
hideIndex: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/tutorials/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Tutorials
pcx_content_type: navigation
hideChildren: true
sidebar:
order: 4
order: 6

---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/kv/workers-kv-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ pcx_content_type: navigation
title: KV REST API
external_link: /api/resources/kv/subresources/namespaces/methods/list/
sidebar:
order: 8
order: 4

---
6 changes: 3 additions & 3 deletions src/content/partials/workers/wrangler-commands/kv.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `kv ...` commands allow you to manage your Workers KV resources in the Cloud

:::caution

Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/#deprecations) for KV page.
Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/#deprecations) for KV page.
:::

<AnchorHeading title="`create`" slug="kv-namespace-create" depth={3} />
Expand Down Expand Up @@ -155,7 +155,7 @@ The `kv ...` commands allow you to manage your Workers KV resources in the Cloud

:::caution

Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/) for KV page.
Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/) for KV page.
:::

<AnchorHeading title="`put`" slug="kv-key-put" depth={3} />
Expand Down Expand Up @@ -380,7 +380,7 @@ The `kv ...` commands allow you to manage your Workers KV resources in the Cloud

:::caution

Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/) for KV page.
Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/) for KV page.
:::

<AnchorHeading title="`put`" slug="kv-bulk-put" depth={3} />
Expand Down
Loading