Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

docs(api): remove unsupported preview and Highlight fields

Andras Bacsai0894251de94a
diff --git a/app/Http/Controllers/Api/ServicesController.php b/app/Http/Controllers/Api/ServicesController.php
index 47f9d17db3..30d13ac286 100644
--- a/app/Http/Controllers/Api/ServicesController.php
+++ b/app/Http/Controllers/Api/ServicesController.php
@@ -1487,7 +1487,6 @@ class ServicesController extends Controller
properties: [
'key' => ['type' => 'string', 'description' => 'The key of the environment variable.'],
'value' => ['type' => 'string', 'description' => 'The value of the environment variable.'],
- 'is_preview' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is used in preview deployments.'],
'is_literal' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is a literal, nothing espaced.'],
'is_multiline' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is multiline.'],
'is_shown_once' => ['type' => 'boolean', 'description' => 'If true, the saved value is hidden in the UI and API responses. MCP never returns environment variable values.'],
@@ -1631,7 +1630,6 @@ class ServicesController extends Controller
properties: [
'key' => ['type' => 'string', 'description' => 'The key of the environment variable.'],
'value' => ['type' => 'string', 'description' => 'The value of the environment variable.'],
- 'is_preview' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is used in preview deployments.'],
'is_literal' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is a literal, nothing espaced.'],
'is_multiline' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is multiline.'],
'is_shown_once' => ['type' => 'boolean', 'description' => 'If true, the saved value is hidden in the UI and API responses. MCP never returns environment variable values.'],
@@ -1764,7 +1762,6 @@ class ServicesController extends Controller
properties: [
'key' => ['type' => 'string', 'description' => 'The key of the environment variable.'],
'value' => ['type' => 'string', 'description' => 'The value of the environment variable.'],
- 'is_preview' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is used in preview deployments.'],
'is_literal' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is a literal, nothing espaced.'],
'is_multiline' => ['type' => 'boolean', 'description' => 'The flag to indicate if the environment variable is multiline.'],
'is_shown_once' => ['type' => 'boolean', 'description' => 'If true, the saved value is hidden in the UI and API responses. MCP never returns environment variable values.'],
diff --git a/openapi.json b/openapi.json
index e48c0d86e1..611d8f87af 100644
--- a/openapi.json
+++ b/openapi.json
@@ -20992,10 +20992,6 @@
"type": "string",
"description": "The value of the environment variable."
},
- "is_preview": {
- "type": "boolean",
- "description": "The flag to indicate if the environment variable is used in preview deployments."
- },
"is_literal": {
"type": "boolean",
"description": "The flag to indicate if the environment variable is a literal, nothing espaced."
@@ -21087,10 +21083,6 @@
"type": "string",
"description": "The value of the environment variable."
},
- "is_preview": {
- "type": "boolean",
- "description": "The flag to indicate if the environment variable is used in preview deployments."
- },
"is_literal": {
"type": "boolean",
"description": "The flag to indicate if the environment variable is a literal, nothing espaced."
@@ -21181,10 +21173,6 @@
"type": "string",
"description": "The value of the environment variable."
},
- "is_preview": {
- "type": "boolean",
- "description": "The flag to indicate if the environment variable is used in preview deployments."
- },
"is_literal": {
"type": "boolean",
"description": "The flag to indicate if the environment variable is a literal, nothing espaced."
@@ -25986,9 +25974,6 @@
"is_logdrain_custom_enabled": {
"type": "boolean"
},
- "is_logdrain_highlight_enabled": {
- "type": "boolean"
- },
"is_logdrain_newrelic_enabled": {
"type": "boolean"
},
@@ -26072,9 +26057,6 @@
"logdrain_custom_config_parser": {
"type": "string"
},
- "logdrain_highlight_project_id": {
- "type": "string"
- },
"logdrain_newrelic_base_uri": {
"type": "string"
},
diff --git a/openapi.yaml b/openapi.yaml
index a0ed28c8e7..acaae528e9 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -13221,9 +13221,6 @@ paths:
value:
type: string
description: 'The value of the environment variable.'
- is_preview:
- type: boolean
- description: 'The flag to indicate if the environment variable is used in preview deployments.'
is_literal:
type: boolean
description: 'The flag to indicate if the environment variable is a literal, nothing espaced.'
@@ -13284,9 +13281,6 @@ paths:
value:
type: string
description: 'The value of the environment variable.'
- is_preview:
- type: boolean
- description: 'The flag to indicate if the environment variable is used in preview deployments.'
is_literal:
type: boolean
description: 'The flag to indicate if the environment variable is a literal, nothing espaced.'
@@ -13341,7 +13335,7 @@ paths:
properties:
data:
type: array
- items: { properties: { key: { type: string, description: 'The key of the environment variable.' }, value: { type: string, description: 'The value of the environment variable.' }, is_preview: { type: boolean, description: 'The flag to indicate if the environment variable is used in preview deployments.' }, is_literal: { type: boolean, description: 'The flag to indicate if the environment variable is a literal, nothing espaced.' }, is_multiline: { type: boolean, description: 'The flag to indicate if the environment variable is multiline.' }, is_shown_once: { type: boolean, description: 'If true, the saved value is hidden in the UI and API responses. MCP never returns environment variable values.' } }, type: object }
+ items: { properties: { key: { type: string, description: 'The key of the environment variable.' }, value: { type: string, description: 'The value of the environment variable.' }, is_literal: { type: boolean, description: 'The flag to indicate if the environment variable is a literal, nothing espaced.' }, is_multiline: { type: boolean, description: 'The flag to indicate if the environment variable is multiline.' }, is_shown_once: { type: boolean, description: 'If true, the saved value is hidden in the UI and API responses. MCP never returns environment variable values.' } }, type: object }
type: object
responses:
'201':
@@ -16630,8 +16624,6 @@ components:
type: boolean
is_logdrain_custom_enabled:
type: boolean
- is_logdrain_highlight_enabled:
- type: boolean
is_logdrain_newrelic_enabled:
type: boolean
is_metrics_enabled:
@@ -16689,8 +16681,6 @@ components:
type: string
logdrain_custom_config_parser:
type: string
- logdrain_highlight_project_id:
- type: string
logdrain_newrelic_base_uri:
type: string
logdrain_newrelic_license_key: