Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat: update mgmt api docs (#29708)

github-actions[bot]55bdda2401c4
diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json
index 24ce1e9ea69..652b67c004a 100644
--- a/apps/docs/spec/api_v1_openapi.json
+++ b/apps/docs/spec/api_v1_openapi.json
@@ -1302,7 +1302,7 @@
},
"/v1/projects/{ref}/upgrade/eligibility": {
"get": {
- "operationId": "v1-get-postgrest-upgrade-eligibility",
+ "operationId": "v1-get-postgres-upgrade-eligibility",
"summary": "[Beta] Returns the project's eligibility for upgrades",
"parameters": [
{
@@ -1331,7 +1331,7 @@
},
"/v1/projects/{ref}/upgrade/status": {
"get": {
- "operationId": "v1-get-postgrest-upgrade-status",
+ "operationId": "v1-get-postgres-upgrade-status",
"summary": "[Beta] Gets the latest status of the project's upgrade",
"parameters": [
{
@@ -1340,6 +1340,12 @@
"in": "path",
"description": "Project ref",
"schema": { "minLength": 20, "maxLength": 20, "type": "string" }
+ },
+ {
+ "name": "tracking_id",
+ "required": false,
+ "in": "query",
+ "schema": { "type": "string" }
}
],
"responses": {
@@ -3322,21 +3328,25 @@
"PostgresConfigResponse": {
"type": "object",
"properties": {
- "statement_timeout": { "type": "string" },
"effective_cache_size": { "type": "string" },
+ "logical_decoding_work_mem": { "type": "string" },
"maintenance_work_mem": { "type": "string" },
"max_connections": { "type": "integer", "minimum": 1, "maximum": 262143 },
"max_locks_per_transaction": { "type": "integer", "minimum": 10, "maximum": 2147483640 },
"max_parallel_maintenance_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers_per_gather": { "type": "integer", "minimum": 0, "maximum": 1024 },
+ "max_replication_slots": { "type": "integer" },
"max_slot_wal_keep_size": { "type": "string" },
"max_standby_archive_delay": { "type": "string" },
"max_standby_streaming_delay": { "type": "string" },
"max_wal_size": { "type": "string" },
+ "max_wal_senders": { "type": "integer" },
"max_worker_processes": { "type": "integer", "minimum": 0, "maximum": 262143 },
"shared_buffers": { "type": "string" },
+ "statement_timeout": { "type": "string" },
"wal_keep_size": { "type": "string" },
+ "wal_sender_timeout": { "type": "string" },
"work_mem": { "type": "string" },
"session_replication_role": { "enum": ["origin", "replica", "local"], "type": "string" }
}
@@ -3344,21 +3354,25 @@
"UpdatePostgresConfigBody": {
"type": "object",
"properties": {
- "statement_timeout": { "type": "string" },
"effective_cache_size": { "type": "string" },
+ "logical_decoding_work_mem": { "type": "string" },
"maintenance_work_mem": { "type": "string" },
"max_connections": { "type": "integer", "minimum": 1, "maximum": 262143 },
"max_locks_per_transaction": { "type": "integer", "minimum": 10, "maximum": 2147483640 },
"max_parallel_maintenance_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers": { "type": "integer", "minimum": 0, "maximum": 1024 },
"max_parallel_workers_per_gather": { "type": "integer", "minimum": 0, "maximum": 1024 },
+ "max_replication_slots": { "type": "integer" },
"max_slot_wal_keep_size": { "type": "string" },
"max_standby_archive_delay": { "type": "string" },
"max_standby_streaming_delay": { "type": "string" },
"max_wal_size": { "type": "string" },
+ "max_wal_senders": { "type": "integer" },
"max_worker_processes": { "type": "integer", "minimum": 0, "maximum": 262143 },
"shared_buffers": { "type": "string" },
+ "statement_timeout": { "type": "string" },
"wal_keep_size": { "type": "string" },
+ "wal_sender_timeout": { "type": "string" },
"work_mem": { "type": "string" },
"session_replication_role": { "enum": ["origin", "replica", "local"], "type": "string" }
}
diff --git a/apps/docs/spec/common-api-sections.json b/apps/docs/spec/common-api-sections.json
index 0c3f6acb81e..60edcf133c9 100644
--- a/apps/docs/spec/common-api-sections.json
+++ b/apps/docs/spec/common-api-sections.json
@@ -382,15 +382,15 @@
"type": "operation"
},
{
- "id": "v1-get-postgrest-upgrade-eligibility",
- "title": "Get postgrest upgrade eligibility",
- "slug": "v1-get-postgrest-upgrade-eligibility",
+ "id": "v1-get-postgres-upgrade-eligibility",
+ "title": "Get postgres upgrade eligibility",
+ "slug": "v1-get-postgres-upgrade-eligibility",
"type": "operation"
},
{
- "id": "v1-get-postgrest-upgrade-status",
- "title": "Get postgrest upgrade status",
- "slug": "v1-get-postgrest-upgrade-status",
+ "id": "v1-get-postgres-upgrade-status",
+ "title": "Get postgres upgrade status",
+ "slug": "v1-get-postgres-upgrade-status",
"type": "operation"
},
{
diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
index e3ae70b6c4a..4c42320c234 100644
--- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
+++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
@@ -3837,7 +3837,7 @@
},
"/v1/projects/{ref}/upgrade/eligibility": {
"get": {
- "operationId": "v1-get-postgrest-upgrade-eligibility",
+ "operationId": "v1-get-postgres-upgrade-eligibility",
"summary": "[Beta] Returns the project's eligibility for upgrades",
"parameters": [
{
@@ -3948,7 +3948,7 @@
},
"/v1/projects/{ref}/upgrade/status": {
"get": {
- "operationId": "v1-get-postgrest-upgrade-status",
+ "operationId": "v1-get-postgres-upgrade-status",
"summary": "[Beta] Gets the latest status of the project's upgrade",
"parameters": [
{
@@ -3961,6 +3961,14 @@
"maxLength": 20,
"type": "string"
}
+ },
+ {
+ "name": "tracking_id",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
}
],
"responses": {
@@ -4403,10 +4411,10 @@
"schema": {
"type": "object",
"properties": {
- "statement_timeout": {
+ "effective_cache_size": {
"type": "string"
},
- "effective_cache_size": {
+ "logical_decoding_work_mem": {
"type": "string"
},
"maintenance_work_mem": {
@@ -4437,6 +4445,9 @@
"minimum": 0,
"maximum": 1024
},
+ "max_replication_slots": {
+ "type": "integer"
+ },
"max_slot_wal_keep_size": {
"type": "string"
},
@@ -4449,6 +4460,9 @@
"max_wal_size": {
"type": "string"
},
+ "max_wal_senders": {
+ "type": "integer"
+ },
"max_worker_processes": {
"type": "integer",
"minimum": 0,
@@ -4457,9 +4471,15 @@
"shared_buffers": {
"type": "string"
},
+ "statement_timeout": {
+ "type": "string"
+ },
"wal_keep_size": {
"type": "string"
},
+ "wal_sender_timeout": {
+ "type": "string"
+ },
"work_mem": {
"type": "string"
},
@@ -4506,10 +4526,10 @@
"schema": {
"type": "object",
"properties": {
- "statement_timeout": {
+ "effective_cache_size": {
"type": "string"
},
- "effective_cache_size": {
+ "logical_decoding_work_mem": {
"type": "string"
},
"maintenance_work_mem": {
@@ -4540,6 +4560,9 @@
"minimum": 0,
"maximum": 1024
},
+ "max_replication_slots": {
+ "type": "integer"
+ },
"max_slot_wal_keep_size": {
"type": "string"
},
@@ -4552,6 +4575,9 @@
"max_wal_size": {
"type": "string"
},
+ "max_wal_senders": {
+ "type": "integer"
+ },
"max_worker_processes": {
"type": "integer",
"minimum": 0,
@@ -4560,9 +4586,15 @@
"shared_buffers": {
"type": "string"
},
+ "statement_timeout": {
+ "type": "string"
+ },
"wal_keep_size": {
"type": "string"
},
+ "wal_sender_timeout": {
+ "type": "string"
+ },
"work_mem": {
"type": "string"
},
@@ -4583,10 +4615,10 @@
"schema": {
"type": "object",
"properties": {
- "statement_timeout": {
+ "effective_cache_size": {
"type": "string"
},
- "effective_cache_size": {
+ "logical_decoding_work_mem": {
"type": "string"
},
"maintenance_work_mem": {
@@ -4617,6 +4649,9 @@
"minimum": 0,
"maximum": 1024
},
+ "max_replication_slots": {
+ "type": "integer"
+ },
"max_slot_wal_keep_size": {
"type": "string"
},
@@ -4629,6 +4664,9 @@
"max_wal_size": {
"type": "string"
},
+ "max_wal_senders": {
+ "type": "integer"
+ },
"max_worker_processes": {
"type": "integer",
"minimum": 0,
@@ -4637,9 +4675,15 @@
"shared_buffers": {
"type": "string"
},
+ "statement_timeout": {
+ "type": "string"
+ },
"wal_keep_size": {
"type": "string"
},
+ "wal_sender_timeout": {
+ "type": "string"
+ },
"work_mem": {
"type": "string"
},
@@ -11438,10 +11482,10 @@
"PostgresConfigResponse": {
"type": "object",
"properties": {
- "statement_timeout": {
+ "effective_cache_size": {
"type": "string"
},
- "effective_cache_size": {
+ "logical_decoding_work_mem": {
"type": "string"
},
"maintenance_work_mem": {
@@ -11472,6 +11516,9 @@
"minimum": 0,
"maximum": 1024
},
+ "max_replication_slots": {
+ "type": "integer"
+ },
"max_slot_wal_keep_size": {
"type": "string"
},
@@ -11484,6 +11531,9 @@
"max_wal_size": {
"type": "string"
},
+ "max_wal_senders": {
+ "type": "integer"
+ },
"max_worker_processes": {
"type": "integer",
"minimum": 0,
@@ -11492,9 +11542,15 @@
"shared_buffers": {
"type": "string"
},
+ "statement_timeout": {
+ "type": "string"
+ },
"wal_keep_size": {
"type": "string"
},
+ "wal_sender_timeout": {
+ "type": "string"
+ },
"work_mem": {
"type": "string"
},
@@ -11507,10 +11563,10 @@
"UpdatePostgresConfigBody": {
"type": "object",
"properties": {
- "statement_timeout": {
+ "effective_cache_size": {
"type": "string"
},
- "effective_cache_size": {
+ "logical_decoding_work_mem": {
"type": "string"
},
"maintenance_work_mem": {
@@ -11541,6 +11597,9 @@
"minimum": 0,
"maximum": 1024
},
+ "max_replication_slots": {
+ "type": "integer"
+ },
"max_slot_wal_keep_size": {
"type": "string"
},
@@ -11553,6 +11612,9 @@
"max_wal_size": {
"type": "string"
},
+ "max_wal_senders": {
+ "type": "integer"
+ },
"max_worker_processes": {
"type": "integer",
"minimum": 0,
@@ -11561,9 +11623,15 @@
"shared_buffers": {
"type": "string"
},
+ "statement_timeout": {
+ "type": "string"
+ },
"wal_keep_size": {
"type": "string"
},
+ "wal_sender_timeout": {
+ "type": "string"
+ },
"work_mem": {
"type": "string"
},