Documentation sections
HOBA
Release, generation, and activation
Publication is a sequence of states. A successful call at one step does not mean the site has changed.
Draft, release, and current pointer
The draft is mutable tables; a release is an immutable snapshot. POST .../publish returns 201 with release_id and release_number, but only stages it. The site becomes public after generation completes and POST .../releases/{id}/activate runs. Before the first activation, GET .../current-release returns 404; the release list shows current or ready plus generation_status.
Generation and the artifact inventory
After staging, Core issues a generation token valid for 300 seconds; POST /api/v1/generate with {site_id, release_id, mode} and the bearer token renders the site inside Core. On the internal/legacy path the finalizer accepts paths, where every uploaded artifact appears exactly once, including index.html. Core checks the index and reads and hashes every file; an incomplete inventory returns 409, a retry with the same inventory succeeds, and uploads after completion are refused. An expired token requires a new token, not a new publication.
Activation, schedule, and rollback
Only a staged release whose generation completed can be activated; otherwise the response is 409 RELEASE_NOT_STAGED. Activating an already-current release also returns 409 because it is no longer staged. rollback moves the pointer to an earlier generated release and fails with RELEASE_NOT_GENERATED when generation did not complete. A schedule can only target a staged release, a past time returns 422, cancellation is DELETE, and a second cancellation returns 409.
What a release contains
A release contains the resolved pages, layouts, navigation, metadata, forms, plugins, and media bytes. Artifacts live under /sites/{site_id}/{release_id}/... and do not change when the draft is edited later. The Composer preview uses the same planner but creates no release and emits no sitemap, feed, search index, or redirects. A green preview therefore does not prove that a release was generated.
A lost response and retries
publish is not idempotent: a retry stages the next release. After a timeout, read GET .../releases (newest first) and compare release_number; do not publish blindly. Do not retry activation of the current release: it returns 409. Repeating finalization with the same complete inventory is safe; repeating it with an incomplete one is not.
A website you can manage yourself.
Hi, I’m Hobbit! I can show you what HOBA can do. Where shall we start?