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

supabase-supabase-autofixer[bot]6e17d85e556e
diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json
index c06d729fb92..c068e1572aa 100644
--- a/apps/docs/spec/api_v1_openapi.json
+++ b/apps/docs/spec/api_v1_openapi.json
@@ -1753,6 +1753,13 @@
"example": "abcdefghijklmnopqrst",
"type": "string"
}
+ },
+ {
+ "name": "remove_addon",
+ "required": false,
+ "in": "query",
+ "description": "If true, also removes the custom domain add-on from the project subscription.",
+ "schema": { "default": "false", "type": "boolean" }
}
],
"responses": {
@@ -8826,6 +8833,11 @@
"slot_name": { "type": "string" }
},
"required": ["type", "slot_name"]
+ },
+ {
+ "type": "object",
+ "properties": { "type": { "type": "string", "enum": ["x86_architecture"] } },
+ "required": ["type"]
}
]
}
@@ -10733,7 +10745,8 @@
}
}
}
- }
+ },
+ "branches_only": { "type": "boolean" }
},
"required": ["role"]
}
@@ -10779,7 +10792,8 @@
}
}
}
- }
+ },
+ "branches_only": { "type": "boolean" }
},
"required": ["role"]
}
@@ -10822,7 +10836,8 @@
}
}
}
- }
+ },
+ "branches_only": { "type": "boolean" }
},
"required": ["role"]
}
@@ -10865,7 +10880,8 @@
}
}
}
- }
+ },
+ "branches_only": { "type": "boolean" }
},
"required": ["role"]
}
@@ -10878,7 +10894,8 @@
{
"role": "postgres",
"expires_at": 1740787200,
- "allowed_networks": { "allowed_cidrs": [{ "cidr": "203.0.113.0/24" }] }
+ "allowed_networks": { "allowed_cidrs": [{ "cidr": "203.0.113.0/24" }] },
+ "branches_only": false
}
]
}
diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
index 39af844b2bb..f751be36285 100644
--- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
+++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json
@@ -4753,6 +4753,16 @@
"example": "abcdefghijklmnopqrst",
"type": "string"
}
+ },
+ {
+ "name": "remove_addon",
+ "required": false,
+ "in": "query",
+ "description": "If true, also removes the custom domain add-on from the project subscription.",
+ "schema": {
+ "default": "false",
+ "type": "boolean"
+ }
}
],
"responses": {
@@ -8034,6 +8044,16 @@
}
},
"required": ["type", "slot_name"]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["x86_architecture"]
+ }
+ },
+ "required": ["type"]
}
]
}
@@ -16444,6 +16464,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -16580,6 +16603,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -16692,6 +16718,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -16711,7 +16740,8 @@
"cidr": "203.0.113.0/24"
}
]
- }
+ },
+ "branches_only": false
}
]
}
@@ -16771,6 +16801,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -16884,6 +16917,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -24855,6 +24891,16 @@
}
},
"required": ["type", "slot_name"]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["x86_architecture"]
+ }
+ },
+ "required": ["type"]
}
]
}
@@ -28573,6 +28619,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -28644,6 +28693,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -28703,6 +28755,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -28763,6 +28818,9 @@
}
}
}
+ },
+ "branches_only": {
+ "type": "boolean"
}
},
"required": ["role"]
@@ -28782,7 +28840,8 @@
"cidr": "203.0.113.0/24"
}
]
- }
+ },
+ "branches_only": false
}
]
}