Publish draft
Promotes the current draft to the next published version. version is incremented
by 1 and has_draft becomes false.
Existing exports that referenced earlier versions are unaffected: each export snapshots the schema content at the time it was created. New exports created after publishing will use the new version.
Returns 404 not_found if there is no draft to publish.
Authorizations
Your API key. Get one from the dashboard at https://app.ticksupply.com/api-keys
Headers
Unique key for idempotent requests. If you retry a request with the same key, you'll receive the original response without the operation being performed again.
Must be a valid UUID (any version — v4 recommended for uniqueness), up to 128 characters.
128Response
Draft published.
Export schema with the content of its latest published version. Returned by create and get-by-id. Exports that reference the schema by name or ID snapshot the latest published version at the time the export is created.