Templates

Publish a version

No body: publishes the newest draft. {"version": N}: makes that version current (rollback included).

post/templates/{ref}/publish

Request

  • Base URL: https://api.oveyon.com/v1
  • URL: https://api.oveyon.com/v1/templates/{ref}/publish
  • Auth: HTTP bearer

Path parameters

refstring required

Request body

versioninteger

An integer ≥ 1 (a string of digits, e.g. "3", is accepted too). Anything else — true, [3], "0x3", 1.5 — is 400 bad_request, never a guess.

Response

Published

idinteger required
namestring required
versioninteger required

The version that is now current.

status'published' required

Changes

No recorded changes to this operation across all 1 revision of this API.