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

github-actions[bot]aa623fec310a
diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json
index 6b1c9fc67bc..1660b7e6d45 100644
--- a/apps/docs/spec/api_v1_openapi.json
+++ b/apps/docs/spec/api_v1_openapi.json
@@ -314,7 +314,12 @@
"operationId": "v1-get-a-snippet",
"summary": "Gets a specific SQL snippet",
"parameters": [
- { "name": "id", "required": true, "in": "path", "schema": { "type": "uuid" } }
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": { "format": "uuid", "type": "string" }
+ }
],
"responses": {
"200": {
@@ -2070,10 +2075,10 @@
"schema": { "type": "string" }
},
{
- "name": "resource_multiplier",
+ "name": "compute_multiplier",
"required": false,
"in": "query",
- "schema": { "type": "string" }
+ "schema": { "minimum": 1, "maximum": 4, "type": "number" }
}
],
"requestBody": {
@@ -2219,10 +2224,10 @@
"schema": { "type": "string" }
},
{
- "name": "resource_multiplier",
+ "name": "compute_multiplier",
"required": false,
"in": "query",
- "schema": { "type": "string" }
+ "schema": { "minimum": 1, "maximum": 4, "type": "number" }
}
],
"requestBody": {
@@ -2849,12 +2854,12 @@
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"],
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"],
"description": "Release channel. If not provided, GA will be used."
},
"postgres_engine": {
"type": "string",
- "enum": ["15"],
+ "enum": ["15", "17-oriole"],
"description": "Postgres engine version. If not provided, the latest version will be used."
}
},
@@ -3087,12 +3092,12 @@
},
"ReleaseChannel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"PostgresEngine": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"CreateBranchBody": {
"type": "object",
@@ -4246,7 +4251,7 @@
"name": { "type": "string" },
"body": { "type": "string" },
"verify_jwt": { "type": "boolean" },
- "resource_multiplier": { "type": "string" }
+ "compute_multiplier": { "type": "number", "minimum": 1, "maximum": 4 }
},
"required": ["slug", "name", "body"]
},
@@ -4264,7 +4269,7 @@
"import_map": { "type": "boolean" },
"entrypoint_path": { "type": "string" },
"import_map_path": { "type": "string" },
- "resource_multiplier": { "type": "string" }
+ "compute_multiplier": { "type": "number" }
},
"required": ["version", "created_at", "updated_at", "id", "slug", "name", "status"]
},
@@ -4282,7 +4287,7 @@
"import_map": { "type": "boolean" },
"entrypoint_path": { "type": "string" },
"import_map_path": { "type": "string" },
- "resource_multiplier": { "type": "string" }
+ "compute_multiplier": { "type": "number" }
},
"required": ["version", "created_at", "updated_at", "id", "slug", "name", "status"]
},
@@ -4292,7 +4297,7 @@
"name": { "type": "string" },
"body": { "type": "string" },
"verify_jwt": { "type": "boolean" },
- "resource_multiplier": { "type": "string" }
+ "compute_multiplier": { "type": "number", "minimum": 1, "maximum": 4 }
}
},
"V1StorageBucketResponse": {
diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
index e5f54471530..6c6e1572af7 100644
--- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
+++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
@@ -561,12 +561,12 @@
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"],
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"],
"description": "Release channel. If not provided, GA will be used."
},
"postgres_engine": {
"type": "string",
- "enum": ["15"],
+ "enum": ["15", "17-oriole"],
"description": "Postgres engine version. If not provided, the latest version will be used."
}
},
@@ -1027,7 +1027,8 @@
"required": true,
"in": "path",
"schema": {
- "type": "uuid"
+ "format": "uuid",
+ "type": "string"
}
}
],
@@ -1866,12 +1867,12 @@
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"postgres_engine": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"branch_name": {
"type": "string"
@@ -4052,7 +4053,7 @@
"properties": {
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"target_version": {
"type": "string"
@@ -4122,7 +4123,7 @@
"properties": {
"current_app_version_release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"duration_estimate_hours": {
"type": "integer"
@@ -4144,11 +4145,11 @@
"postgres_version": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"app_version": {
"type": "string"
@@ -8182,11 +8183,13 @@
}
},
{
- "name": "resource_multiplier",
+ "name": "compute_multiplier",
"required": false,
"in": "query",
"schema": {
- "type": "string"
+ "minimum": 1,
+ "maximum": 4,
+ "type": "number"
}
}
],
@@ -8210,8 +8213,10 @@
"verify_jwt": {
"type": "boolean"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number",
+ "minimum": 1,
+ "maximum": 4
}
},
"required": ["slug", "name", "body"]
@@ -8234,8 +8239,10 @@
"verify_jwt": {
"type": "boolean"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number",
+ "minimum": 1,
+ "maximum": 4
}
},
"required": ["slug", "name", "body"]
@@ -8287,8 +8294,8 @@
"import_map_path": {
"type": "string"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number"
}
},
"required": [
@@ -8381,8 +8388,8 @@
"import_map_path": {
"type": "string"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number"
}
},
"required": [
@@ -8486,8 +8493,8 @@
"import_map_path": {
"type": "string"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number"
}
},
"required": [
@@ -8593,11 +8600,13 @@
}
},
{
- "name": "resource_multiplier",
+ "name": "compute_multiplier",
"required": false,
"in": "query",
"schema": {
- "type": "string"
+ "minimum": 1,
+ "maximum": 4,
+ "type": "number"
}
}
],
@@ -8617,8 +8626,10 @@
"verify_jwt": {
"type": "boolean"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number",
+ "minimum": 1,
+ "maximum": 4
}
}
}
@@ -8636,8 +8647,10 @@
"verify_jwt": {
"type": "boolean"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number",
+ "minimum": 1,
+ "maximum": 4
}
}
}
@@ -8688,8 +8701,8 @@
"import_map_path": {
"type": "string"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number"
}
},
"required": [
@@ -9961,7 +9974,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
}
},
"id": {
@@ -10336,12 +10349,12 @@
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"],
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"],
"description": "Release channel. If not provided, GA will be used."
},
"postgres_engine": {
"type": "string",
- "enum": ["15"],
+ "enum": ["15", "17-oriole"],
"description": "Postgres engine version. If not provided, the latest version will be used."
}
},
@@ -10898,12 +10911,12 @@
},
"ReleaseChannel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"PostgresEngine": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"CreateBranchBody": {
"type": "object",
@@ -10925,12 +10938,12 @@
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"postgres_engine": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"branch_name": {
"type": "string"
@@ -11647,7 +11660,7 @@
"properties": {
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"target_version": {
"type": "string"
@@ -11670,11 +11683,11 @@
"postgres_version": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"app_version": {
"type": "string"
@@ -11687,7 +11700,7 @@
"properties": {
"current_app_version_release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"duration_estimate_hours": {
"type": "integer"
@@ -11709,11 +11722,11 @@
"postgres_version": {
"type": "string",
"description": "Postgres engine version. If not provided, the latest version will be used.",
- "enum": ["15"]
+ "enum": ["15", "17-oriole"]
},
"release_channel": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
},
"app_version": {
"type": "string"
@@ -13823,8 +13836,10 @@
"verify_jwt": {
"type": "boolean"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number",
+ "minimum": 1,
+ "maximum": 4
}
},
"required": ["slug", "name", "body"]
@@ -13868,8 +13883,8 @@
"import_map_path": {
"type": "string"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number"
}
},
"required": ["version", "created_at", "updated_at", "id", "slug", "name", "status"]
@@ -13913,8 +13928,8 @@
"import_map_path": {
"type": "string"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number"
}
},
"required": ["version", "created_at", "updated_at", "id", "slug", "name", "status"]
@@ -13931,8 +13946,10 @@
"verify_jwt": {
"type": "boolean"
},
- "resource_multiplier": {
- "type": "string"
+ "compute_multiplier": {
+ "type": "number",
+ "minimum": 1,
+ "maximum": 4
}
}
},
@@ -14952,7 +14969,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
+ "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
}
},
"id": {