The provider's Git preview settings
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/preview-settingsThe provider's Git preview settings (ADR 0160); provider tenant only
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Settings
Content type: application/json
domainstring requiredPreviews are named <slug>.<domain>; *.<domain> must point to the servers. Empty: no new previews
certificatesboolean requiredAsk Let's Encrypt for each preview's name
max_copy_mbinteger requiredLargest live database a preview may copy, MB
- minimum 1
Example
{
"domain": "string",
"certificates": true,
"max_copy_mb": 1
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required