Publish a draft
POST/api/v0/event-definitions/:action/schema-versions/:version/publish/
Publish a draft: ingest validates against it from now on, and the version it supersedes starts its deprecation window. Publishing a published version changes nothing. Requires the manage scope on a key that is not limited to named trails. Expects no request body.
Request
Responses
- 200
- 403
- 404
The published version.
Response Headers
ETag
A validator for this version; it changes whenever the version does. Send it back as If-Match.
Missing, invalid or under-scoped API key.
The action is not defined for this team, or it has no such schema version.