AsyncAPI channel · Codehooks
· Codehooks Events API
collection/beforeUpdate
Triggered before a document is updated in a collection. Allows validation or transformation of the update data.
Channel address
collection/beforeUpdate
Operations
subscribe
onBeforeUpdate
Before document update hook
Messages
DocumentUpdateEvent
Event payload containing the update data and target document identifier during update hooks.
Content-Type:
application/jsonAbout AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.