Skip to main content
POST
Publish a bundle

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, an opaque member token, or a verified One Auth identity access token. The credential alone identifies the member and company. Member session JWTs, and portal JWTs the server minted read-only, are refused with 403 on every write.

Path Parameters

site_id
string<uuid>
required

Public id of one of the member's sites.

bundle_id
string<uuid>
required

The bundle's id, as the start of its upload answered it.

Body

application/json

What a publish may carry. The body is optional.

confirmMigrations
string[]

The ids of the destructive migration steps the owner confirmed. Nothing applies a schema yet, so they are only checked.

Required string length: 1 - 100

Response

The bundle is the site's current version. A publish repeated after it finished answers the same.

The site's current version after a publish.

status
integer
required

HTTP status code (mirrors the response status line).

data
object
required

The site's current version after a publish.

meta
object
required

Envelope metadata present on every response.