Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions apps/docs/spec/api_v1_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,13 @@
"in": "query",
"description": "Organization slug",
"schema": { "pattern": "^[\\w-]+$", "type": "string" }
},
{
"name": "resource",
"required": false,
"in": "query",
"description": "Resource indicator for MCP (Model Context Protocol) clients",
"schema": { "enum": ["https://api.supabase.io/mcp"], "type": "string" }
}
],
"responses": { "204": { "description": "" } },
Expand Down Expand Up @@ -4395,7 +4402,12 @@
"code": { "type": "string" },
"code_verifier": { "type": "string" },
"redirect_uri": { "type": "string" },
"refresh_token": { "type": "string" }
"refresh_token": { "type": "string" },
"resource": {
"type": "string",
"enum": ["https://api.supabase.io/mcp"],
"description": "Resource indicator for MCP (Model Context Protocol) clients"
}
},
"additionalProperties": false
},
Expand Down Expand Up @@ -4532,12 +4544,7 @@
"name": { "type": "string" },
"description": { "type": "string", "nullable": true },
"hash": { "type": "string", "nullable": true },
"secret_jwt_template": {
"type": "object",
"properties": { "role": { "type": "string", "minLength": 1 } },
"required": ["role"],
"nullable": true
},
"secret_jwt_template": { "type": "object", "additionalProperties": {}, "nullable": true },
"inserted_at": { "type": "string", "format": "date-time", "nullable": true },
"updated_at": { "type": "string", "format": "date-time", "nullable": true }
},
Expand All @@ -4559,12 +4566,7 @@
"pattern": "^[a-z_][a-z0-9_]+$"
},
"description": { "type": "string", "nullable": true },
"secret_jwt_template": {
"type": "object",
"properties": { "role": { "type": "string", "minLength": 1 } },
"required": ["role"],
"nullable": true
}
"secret_jwt_template": { "type": "object", "additionalProperties": {}, "nullable": true }
},
"required": ["type", "name"]
},
Expand All @@ -4578,12 +4580,7 @@
"pattern": "^[a-z_][a-z0-9_]+$"
},
"description": { "type": "string", "nullable": true },
"secret_jwt_template": {
"type": "object",
"properties": { "role": { "type": "string", "minLength": 1 } },
"required": ["role"],
"nullable": true
}
"secret_jwt_template": { "type": "object", "additionalProperties": {}, "nullable": true }
}
},
"CreateBranchBody": {
Expand Down Expand Up @@ -4953,7 +4950,10 @@
"items": {
"type": "object",
"properties": {
"postgres_version": { "type": "string", "enum": ["15", "17", "17-oriole"] },
"postgres_version": {
"type": "string",
"enum": ["13", "14", "15", "17", "17-oriole"]
},
"release_channel": {
"type": "string",
"enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
Expand Down
104 changes: 32 additions & 72 deletions apps/docs/spec/transforms/api_v1_openapi_deparsed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,16 @@
"pattern": "^[\\w-]+$",
"type": "string"
}
},
{
"name": "resource",
"required": false,
"in": "query",
"description": "Resource indicator for MCP (Model Context Protocol) clients",
"schema": {
"enum": ["https://api.supabase.io/mcp"],
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -1088,6 +1098,11 @@
},
"refresh_token": {
"type": "string"
},
"resource": {
"type": "string",
"enum": ["https://api.supabase.io/mcp"],
"description": "Resource indicator for MCP (Model Context Protocol) clients"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -1624,13 +1639,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
},
"inserted_at": {
Expand Down Expand Up @@ -1710,13 +1719,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
}
},
Expand Down Expand Up @@ -1763,13 +1766,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
},
"inserted_at": {
Expand Down Expand Up @@ -1956,13 +1953,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
}
}
Expand Down Expand Up @@ -2008,13 +1999,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
},
"inserted_at": {
Expand Down Expand Up @@ -2117,13 +2102,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
},
"inserted_at": {
Expand Down Expand Up @@ -2243,13 +2222,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
},
"inserted_at": {
Expand Down Expand Up @@ -4962,7 +4935,7 @@
"properties": {
"postgres_version": {
"type": "string",
"enum": ["15", "17", "17-oriole"]
"enum": ["13", "14", "15", "17", "17-oriole"]
},
"release_channel": {
"type": "string",
Expand Down Expand Up @@ -14663,6 +14636,11 @@
},
"refresh_token": {
"type": "string"
},
"resource": {
"type": "string",
"enum": ["https://api.supabase.io/mcp"],
"description": "Resource indicator for MCP (Model Context Protocol) clients"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -14919,13 +14897,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
},
"inserted_at": {
Expand Down Expand Up @@ -14969,13 +14941,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
}
},
Expand All @@ -14996,13 +14962,7 @@
},
"secret_jwt_template": {
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1
}
},
"required": ["role"],
"additionalProperties": {},
"nullable": true
}
}
Expand Down Expand Up @@ -15581,7 +15541,7 @@
"properties": {
"postgres_version": {
"type": "string",
"enum": ["15", "17", "17-oriole"]
"enum": ["13", "14", "15", "17", "17-oriole"]
},
"release_channel": {
"type": "string",
Expand Down