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 (#33104)

github-actions[bot]d35855cb58ff
diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json
index f6373ea7e1d..b1de4affd6c 100644
--- a/apps/docs/spec/api_v1_openapi.json
+++ b/apps/docs/spec/api_v1_openapi.json
@@ -2203,6 +2203,30 @@
"security": [{ "bearer": [] }]
}
},
+ "/v1/projects/{ref}/database/context": {
+ "get": {
+ "operationId": "getDatabaseMetadata",
+ "summary": "Gets database metadata for the given project.",
+ "description": "This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.",
+ "deprecated": true,
+ "parameters": [
+ { "name": "ref", "required": true, "in": "path", "schema": { "type": "string" } }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/GetProjectDbMetadataResponseDto" }
+ }
+ }
+ },
+ "403": { "description": "" }
+ },
+ "tags": ["Database"],
+ "security": [{ "bearer": [] }]
+ }
+ },
"/v1/projects/{ref}/functions": {
"get": {
"operationId": "v1-list-all-functions",
@@ -3759,6 +3783,7 @@
"effective_cache_size": { "type": "string" },
"logical_decoding_work_mem": { "type": "string" },
"maintenance_work_mem": { "type": "string" },
+ "track_activity_query_size": { "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 },
@@ -3786,6 +3811,7 @@
"effective_cache_size": { "type": "string" },
"logical_decoding_work_mem": { "type": "string" },
"maintenance_work_mem": { "type": "string" },
+ "track_activity_query_size": { "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 },
@@ -4506,6 +4532,16 @@
"properties": { "query": { "type": "string" } },
"required": ["query"]
},
+ "GetProjectDbMetadataResponseDto": {
+ "type": "object",
+ "properties": {
+ "databases": {
+ "type": "array",
+ "items": { "type": "object", "properties": {}, "additionalProperties": true }
+ }
+ },
+ "required": ["databases"]
+ },
"FunctionResponse": {
"type": "object",
"properties": {
diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
index 4c400afce40..3026c4a5ddd 100644
--- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
+++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
@@ -4949,6 +4949,9 @@
"maintenance_work_mem": {
"type": "string"
},
+ "track_activity_query_size": {
+ "type": "string"
+ },
"max_connections": {
"type": "integer",
"minimum": 1,
@@ -5067,6 +5070,9 @@
"maintenance_work_mem": {
"type": "string"
},
+ "track_activity_query_size": {
+ "type": "string"
+ },
"max_connections": {
"type": "integer",
"minimum": 1,
@@ -5162,6 +5168,9 @@
"maintenance_work_mem": {
"type": "string"
},
+ "track_activity_query_size": {
+ "type": "string"
+ },
"max_connections": {
"type": "integer",
"minimum": 1,
@@ -8544,6 +8553,56 @@
]
}
},
+ "/v1/projects/{ref}/database/context": {
+ "get": {
+ "operationId": "getDatabaseMetadata",
+ "summary": "Gets database metadata for the given project.",
+ "description": "This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable.",
+ "deprecated": true,
+ "parameters": [
+ {
+ "name": "ref",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "databases": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ }
+ },
+ "required": ["databases"]
+ }
+ }
+ }
+ },
+ "403": {
+ "description": ""
+ }
+ },
+ "tags": ["Database"],
+ "security": [
+ {
+ "bearer": []
+ }
+ ]
+ }
+ },
"/v1/projects/{ref}/functions": {
"get": {
"operationId": "v1-list-all-functions",
@@ -12568,6 +12627,9 @@
"maintenance_work_mem": {
"type": "string"
},
+ "track_activity_query_size": {
+ "type": "string"
+ },
"max_connections": {
"type": "integer",
"minimum": 1,
@@ -12652,6 +12714,9 @@
"maintenance_work_mem": {
"type": "string"
},
+ "track_activity_query_size": {
+ "type": "string"
+ },
"max_connections": {
"type": "integer",
"minimum": 1,
@@ -14420,6 +14485,20 @@
},
"required": ["query"]
},
+ "GetProjectDbMetadataResponseDto": {
+ "type": "object",
+ "properties": {
+ "databases": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ }
+ }
+ },
+ "required": ["databases"]
+ },
"FunctionResponse": {
"type": "object",
"properties": {