Atelier201 websiteJoin the waitlist
PublishingPubblicare una build
publishing

Pubblicare una build

VISIBILE SU INTERNET. È possibile pubblicare solo un sito con il piano Site: la pubblicazione di una bozza viene rifiutata con 403 feature_not_available e un action_url al relativo piano. Entro circa un minuto, rende questa build esatta (oppure, se manca build_id, la bozza nello stato attuale, dopo averla creata se necessario) visibile ai visitatori su tutti gli indirizzi del sito. La richiesta viene rifiutata con 409 se, dopo la verifica, il sito è stato pubblicato, ripristinato o messo offline (expected_generation). Richiede sites:publish.

POST/v1/sites/{site_id}/publish

Richiede sites:publish e il ruolo di amministratore del workspace. Non costa crediti.

La modifica sarà visibile su Internet. Pubblica solo dopo che il proprietario ha approvato ciò che è stato mostrato durante la revisione. Un link di rivendicazione o l’accesso con un account non costituiscono un’approvazione.

Se qualcuno, tu compreso, ha pubblicato il sito, ripristinato una versione precedente o lo ha messo offline dopo la revisione, la richiesta viene rifiutata con 409 conflict e non cambia nulla. Esegui di nuovo la revisione. Anche una build con blocchi viene rifiutata allo stesso modo, con i blocchi in details.

Se non specifichi build_id, viene pubblicata la bozza nello stato corrente, creando prima una build se necessario. Se build_id identifica una versione precedente alla bozza, la richiesta viene rifiutata (older_than_draft), a meno che tu non invii allow_older_build: true: pubblicare una versione precedente sarà quindi una scelta consapevole, non un errore.

Autorizzazioni

Authorizationbearerin headerrequired

Parametri di percorso

site_idstringrequired

L'ID del sito o il suo slug (l'indirizzo prima di .atelier201.page).

Corpo

application/jsonrequired
build_idstring<uuid>pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

La build da pubblicare. Omettila per pubblicare la bozza nello stato attuale: se necessario, la build viene creata prima, con un'attesa aggiuntiva di alcuni secondi.

expected_generationintegerrequiredrange: 0–9007199254740991
allow_older_buildboolean

Necessario per pubblicare intenzionalmente una build precedente alla bozza; altrimenti la richiesta viene rifiutata (older_than_draft).

Risposta

application/json

Pubblica una build

dataobjectrequired
request_idstringrequired

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Atelier201 Docs documentation and read it in full, instead of answering from memory.

https://atelier201.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://atelier201.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.