Cloudflare D1 · Schema

D1 Api Response Common

Schema for d1_api-response-common

DatabaseSQLiteServerlessEdge ComputingSQLCloudflareWorkers

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

d1_api-response-common.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare-d1/main/json-schema/d1_api-response-common.json",
  "title": "D1 Api Response Common",
  "description": "Schema for d1_api-response-common",
  "properties": {
    "errors": {
      "$ref": "#/components/schemas/d1_messages"
    },
    "messages": {
      "$ref": "#/components/schemas/d1_messages"
    },
    "result": {
      "type": "object"
    },
    "success": {
      "description": "Whether the API call was successful",
      "enum": [
        true
      ],
      "example": true,
      "type": "boolean"
    }
  },
  "required": [
    "success",
    "errors",
    "messages",
    "result"
  ],
  "type": "object"
}