Skip to main content

Create a draft schema version

POST 

/api/v0/event-definitions/:action/schema-versions/

Store a document as a new draft at the next version number; numbers are never reused. A draft validates nothing until it is published. To change a published version, create a draft from its document with your edit applied. Requires the manage scope on a key that is not limited to named trails.

Request​

Responses​

The new draft.

Response Headers
    ETag

    A validator for this version; it changes whenever the version does. Send it back as If-Match.