Cloudflare KV · Schema

Api Response Common Failure

Key-Value StoreEdge ComputingCloudflare WorkersDistributed StorageGlobal DatabaseCacheConfiguration Management

Properties

Name Type Description
errors object
messages object
result object
success boolean Whether the API call was successful.
View JSON Schema on GitHub

JSON Schema

workers-kv_api-response-common-failure.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/cloudflare-kv/json-schema/workers-kv_api-response-common-failure.json",
  "title": "Api Response Common Failure",
  "properties": {
    "errors": {
      "allOf": [
        {
          "$ref": "#/components/schemas/workers-kv_messages"
        }
      ],
      "example": [
        {
          "code": 7003,
          "message": "No route for the URI"
        }
      ],
      "minLength": 1
    },
    "messages": {
      "allOf": [
        {
          "$ref": "#/components/schemas/workers-kv_messages"
        }
      ],
      "example": []
    },
    "result": {
      "nullable": true,
      "type": "object",
      "x-stainless-empty-object": true
    },
    "success": {
      "description": "Whether the API call was successful.",
      "enum": [
        false
      ],
      "example": false,
      "type": "boolean"
    }
  },
  "required": [
    "success",
    "errors",
    "messages",
    "result"
  ],
  "type": "object"
}