POST /api/v1/publish/deploy
Deploy
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/publish/deploy" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"full_rebuild":false,"instance_id":"example-prod-hugo-vps"}'Response 202
Section titled “Response 202”The contract carries no example for this response; schema: TaskAccepted. Field-level shape: interactive explorer.
Returns
Section titled “Returns”TaskAccepted — Successful Response
| Field | Type | Description |
|---|---|---|
detail | object | null (opt.) | |
status | string (opt.) | |
task_id | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
Idempotency-Key | header | no | string | — | uuid | Optional. |
Request body
Section titled “Request body”| Field | Type | Required | Description |
|---|---|---|---|
full_rebuild | boolean | no | |
instance_id | string | yes |
Example:
{ "full_rebuild": false, "instance_id": "example-prod-hugo-vps"}Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.