Schema for d1_api-response-common-failure
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare-d1/main/json-schema/d1_api-response-common-failure.json", "title": "D1 Api Response Common Failure", "description": "Schema for d1_api-response-common-failure", "properties": { "errors": { "allOf": [ { "$ref": "#/components/schemas/d1_messages" } ], "example": [ { "code": 7003, "message": "No route for the URI" } ], "minLength": 1 }, "messages": { "allOf": [ { "$ref": "#/components/schemas/d1_messages" } ], "example": [] }, "result": { "enum": [ null ], "nullable": true, "type": "object" }, "success": { "description": "Whether the API call was successful", "enum": [ false ], "example": false, "type": "boolean" } }, "required": [ "success", "errors", "messages", "result" ], "type": "object" }