Check a document against recent events
POST/api/v0/event-definitions/:action/schema-versions/check/
Dry-run a document against the action's newest 50 stored events and report which it would reject; nothing is stored. Stored values are checked after redaction. Needs a team API key with any scope.
Request
Responses
- 200
- 400
- 403
- 404
How many events were run and which failed.
The document was refused: it is not a JSON object, is too large, is not a valid JSON Schema 2020-12 document, has a remote $ref, or the body is not JSON.
Missing, invalid or under-scoped API key.
No EventDefinition has that id, or it belongs to another team.