Publish draft
POSThttps://api.butterix.com/v1/sites/:site/editor/publish
Merges the draft branch into the production branch (and pushes to the remote when Git is connected), then triggers a production deployment. Returns 409 on merge conflicts.
Authentication
Authorization
An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.
biti_session
The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.
Path parameters
Request
This endpoint expects an object.
Response
Production deployment triggered