Cloudflare KV · Schema

Bulk Write

Key-Value StoreEdge ComputingCloudflare WorkersDistributed StorageGlobal DatabaseCacheConfiguration Management
View JSON Schema on GitHub

JSON Schema

workers-kv_bulk_write.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/cloudflare-kv/json-schema/workers-kv_bulk_write.json",
  "title": "Bulk Write",
  "items": {
    "properties": {
      "base64": {
        "default": false,
        "description": "Indicates whether or not the server should base64 decode the value before storing it. Useful for writing values that wouldn't otherwise be valid JSON strings, such as images.",
        "type": "boolean"
      },
      "expiration": {
        "$ref": "#/components/schemas/workers-kv_expiration"
      },
      "expiration_ttl": {
        "$ref": "#/components/schemas/workers-kv_expiration_ttl"
      },
      "key": {
        "$ref": "#/components/schemas/workers-kv_key_name_bulk"
      },
      "metadata": {
        "$ref": "#/components/schemas/workers-kv_list_metadata"
      },
      "value": {
        "description": "A UTF-8 encoded string to be stored, up to 25 MiB in length.",
        "example": "Some string",
        "maxLength": 26214400,
        "type": "string"
      }
    },
    "required": [
      "key",
      "value"
    ],
    "type": "object"
  },
  "type": "array"
}