From 693bdc38d045353e5782f86febff4fddc82bb93a Mon Sep 17 00:00:00 2001 From: "supabase-supabase-autofixer[bot]" <248690971+supabase-supabase-autofixer[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 11:36:20 +0200 Subject: [PATCH] feat: update mgmt api docs (#47172) This PR updates mgmt api docs automatically. Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com> --- apps/docs/spec/api_v1_openapi.json | 25 +++++++- .../transforms/api_v1_openapi_deparsed.json | 58 ++++++++++++++++++- 2 files changed, 80 insertions(+), 3 deletions(-) diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json index 5cbed875278..1af817aed15 100644 --- a/apps/docs/spec/api_v1_openapi.json +++ b/apps/docs/spec/api_v1_openapi.json @@ -683,6 +683,12 @@ "type": "string" } }, + { + "name": "target_flow", + "required": false, + "in": "query", + "schema": { "type": "string" } + }, { "name": "resource", "required": false, @@ -7704,7 +7710,6 @@ "type": { "type": "string", "enum": ["specific"] }, "code": { "type": "string", - "minLength": 1, "description": "Specific region code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint.", "enum": [ "us-east-1", @@ -7779,6 +7784,10 @@ "type": "string", "format": "uri", "description": "Template URL used to create the project from the CLI." + }, + "high_availability": { + "type": "boolean", + "description": "[Experimental] Whether to enable high availability for the project." } }, "required": ["db_pass", "name", "organization_slug"], @@ -9033,6 +9042,20 @@ "type": { "type": "string", "enum": ["pg_graphql_introspection_change"] } }, "required": ["type"] + }, + { + "type": "object", + "properties": { + "type": { "type": "string", "enum": ["ltree_reindex_required"] } + }, + "required": ["type"] + }, + { + "type": "object", + "properties": { + "type": { "type": "string", "enum": ["operator_estimator_gate"] } + }, + "required": ["type"] } ] } diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json index de1ae800bcc..a52a6d0f5ef 100644 --- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json +++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json @@ -1161,7 +1161,6 @@ }, "code": { "type": "string", - "minLength": 1, "description": "Specific region code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint.", "enum": [ "us-east-1", @@ -1239,6 +1238,10 @@ "type": "string", "format": "uri", "description": "Template URL used to create the project from the CLI." + }, + "high_availability": { + "type": "boolean", + "description": "[Experimental] Whether to enable high availability for the project." } }, "required": ["db_pass", "name", "organization_slug"], @@ -1830,6 +1833,14 @@ "type": "string" } }, + { + "name": "target_flow", + "required": false, + "in": "query", + "schema": { + "type": "string" + } + }, { "name": "resource", "required": false, @@ -8126,6 +8137,26 @@ } }, "required": ["type"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["ltree_reindex_required"] + } + }, + "required": ["type"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["operator_estimator_gate"] + } + }, + "required": ["type"] } ] } @@ -23393,7 +23424,6 @@ }, "code": { "type": "string", - "minLength": 1, "description": "Specific region code. The codes supported are not a stable API, and should be retrieved from the /available-regions endpoint.", "enum": [ "us-east-1", @@ -23471,6 +23501,10 @@ "type": "string", "format": "uri", "description": "Template URL used to create the project from the CLI." + }, + "high_availability": { + "type": "boolean", + "description": "[Experimental] Whether to enable high availability for the project." } }, "required": ["db_pass", "name", "organization_slug"], @@ -25398,6 +25432,26 @@ } }, "required": ["type"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["ltree_reindex_required"] + } + }, + "required": ["type"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["operator_estimator_gate"] + } + }, + "required": ["type"] } ] }