Put a source on the site, as an application release or into its public folder
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/sites/{id}/deploy-sourcePut a source on the site, as an application release or into its public folder (ADR 0025)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
source_idstring required
Example
{
"source_id": "string"
}Responses
200 Done; for an application, the release is being started
Content type: application/json
object
releaseobject optionalbytesinteger (int64) requiredpipelinestring optionalSet when the deploy runs as a pipeline (build, blue-green, migration gate; ADR 0170)
Example
{
"release": {},
"bytes": 0,
"pipeline": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required