API referenceSections

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-settings

The provider's Git preview settings (ADR 0160); provider tenant only

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Settings

Content type: application/json

  • domain string required

    Previews are named <slug>.<domain>; *.<domain> must point to the servers. Empty: no new previews

  • certificates boolean required

    Ask Let's Encrypt for each preview's name

  • max_copy_mb integer required

    Largest live database a preview may copy, MB

    • minimum 1
Example
{
  "domain": "string",
  "certificates": true,
  "max_copy_mb": 1
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required