UNPKG

manifest

Version:

The backend for AI code editors

28 lines (27 loc) 912 B
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://schema.manifest.build/definitions/hooks/hook-schema.json", "title": "Hook Schema", "description": "A hook related to an event the entity records. Doc: https://manifest.build/docs/hooks", "type": "object", "properties": { "url": { "description": "The URL to send the request to.", "type": "string" }, "method": { "type": "string", "description": "The HTTP method to use, defaults to POST.", "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"] }, "headers": { "type": "object", "description": "The headers to send with the request", "additionalProperties": { "type": "string" } } }, "required": ["url"], "additionalProperties": false }