Skip to main content
POST
Publish an app's draft as its next version (AS15)

Path Parameters

id
string
required

Body

application/json
changelog
string
required

One line, 1..=200 characters: what changed

dry_run
boolean

AS15 b10: run the gate (tests, lint) on the draft and answer what would be published (would_publish, the version number, the revision, the scopes it adds, blocked), writing nothing.

expected_version
integer

The draft's save counter as the publisher saw it (409 PROJECT_VERSION_MISMATCH when it moved)

override
object

Publish over a red gate; the reason (10..=500 characters) is recorded

Response

The version, the gate's full reports, and its pin

app
string
lint
object
pin
object
tests
object
unchanged
boolean

The draft is the latest version's revision: nothing was published

version
object

One published version of an app (ss.app.version/1, AS15), as its publication line app/<id> records it: the revision people run, the changelog line, the scopes and what they add over the previous version's, the gate's result (and a person's override of a red gate), who published it and when, and the project commit that was read and tested (the pin tag/app/<id>/v<n> points at it).