Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

prettier

Copple30b66ae7d58f
diff --git a/apps/reference/_api/usage.mdx b/apps/reference/_api/usage.mdx
index e5d52148f65..c8c8e4d8fa6 100644
--- a/apps/reference/_api/usage.mdx
+++ b/apps/reference/_api/usage.mdx
@@ -5,25 +5,17 @@ title: Usage
toc_max_heading_level: 3
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
-
## Organizations {#organizations}
Organization endpoints
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all organizations {#list-all-organizations}
@@ -34,12 +26,8 @@ GET https://api.supabase.com/v1/organizations
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -48,11 +36,8 @@ GET https://api.supabase.com/v1/organizations
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -67,16 +52,12 @@ GET https://api.supabase.com/v1/organizations
"type": "string"
}
},
- "required": [
- "id",
- "name"
- ]
+ "required": ["id", "name"]
}
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -87,8 +68,6 @@ Unexpected error listing organizations
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -97,7 +76,6 @@ Unexpected error listing organizations
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create an organization {#create-an-organization}
@@ -108,11 +86,8 @@ POST https://api.supabase.com/v1/organizations
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Body
```json
@@ -124,14 +99,11 @@ POST https://api.supabase.com/v1/organizations
"type": "string"
}
},
- "required": [
- "name"
- ]
+ "required": ["name"]
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -140,11 +112,8 @@ POST https://api.supabase.com/v1/organizations
<TabItem value="201">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -157,15 +126,11 @@ POST https://api.supabase.com/v1/organizations
"type": "string"
}
},
- "required": [
- "id",
- "name"
- ]
+ "required": ["id", "name"]
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -176,8 +141,6 @@ Unexpected error creating an organization
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -186,14 +149,10 @@ Unexpected error creating an organization
<br />
-
-
## Projects {#projects}
Project endpoints
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all projects {#list-all-projects}
@@ -204,12 +163,8 @@ GET https://api.supabase.com/v1/projects
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -218,11 +173,8 @@ GET https://api.supabase.com/v1/projects
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -246,19 +198,12 @@ GET https://api.supabase.com/v1/projects
"type": "string"
}
},
- "required": [
- "id",
- "organization_id",
- "name",
- "region",
- "created_at"
- ]
+ "required": ["id", "organization_id", "name", "region", "created_at"]
}
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -267,7 +212,6 @@ GET https://api.supabase.com/v1/projects
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create a project {#create-a-project}
@@ -278,11 +222,8 @@ POST https://api.supabase.com/v1/projects
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Body
```json
@@ -301,10 +242,7 @@ POST https://api.supabase.com/v1/projects
},
"plan": {
"type": "string",
- "enum": [
- "free",
- "pro"
- ]
+ "enum": ["free", "pro"]
},
"region": {
"type": "string",
@@ -324,18 +262,11 @@ POST https://api.supabase.com/v1/projects
]
}
},
- "required": [
- "db_pass",
- "name",
- "organization_id",
- "plan",
- "region"
- ]
+ "required": ["db_pass", "name", "organization_id", "plan", "region"]
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -344,11 +275,8 @@ POST https://api.supabase.com/v1/projects
<TabItem value="201">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -370,18 +298,11 @@ POST https://api.supabase.com/v1/projects
"type": "string"
}
},
- "required": [
- "id",
- "organization_id",
- "name",
- "region",
- "created_at"
- ]
+ "required": ["id", "organization_id", "name", "region", "created_at"]
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -390,7 +311,6 @@ POST https://api.supabase.com/v1/projects
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all functions {#list-all-functions}
@@ -401,35 +321,23 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -438,11 +346,8 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -460,11 +365,7 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
"type": "string"
},
"status": {
- "enum": [
- "ACTIVE",
- "REMOVED",
- "THROTTLED"
- ],
+ "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
"type": "string"
},
"version": {
@@ -494,7 +395,6 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -505,8 +405,6 @@ Failed to retrieve project's functions
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -515,7 +413,6 @@ Failed to retrieve project's functions
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create a function {#create-a-function}
@@ -526,34 +423,23 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Body
```json
@@ -575,16 +461,11 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
"type": "boolean"
}
},
- "required": [
- "slug",
- "name",
- "body"
- ]
+ "required": ["slug", "name", "body"]
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -593,11 +474,8 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
<TabItem value="201">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -613,11 +491,7 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
"type": "string"
},
"status": {
- "enum": [
- "ACTIVE",
- "REMOVED",
- "THROTTLED"
- ],
+ "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
"type": "string"
},
"version": {
@@ -646,7 +520,6 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -657,8 +530,6 @@ Failed to create project's function
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -667,7 +538,6 @@ Failed to create project's function
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Retrieve a function {#retrieve-a-function}
@@ -678,69 +548,41 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- include_body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">include_body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- function_slug
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Function slug
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">function_slug</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Function slug</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -749,11 +591,8 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -769,11 +608,7 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
"type": "string"
},
"status": {
- "enum": [
- "ACTIVE",
- "REMOVED",
- "THROTTLED"
- ],
+ "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
"type": "string"
},
"version": {
@@ -805,7 +640,6 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -816,8 +650,6 @@ Failed to retrieve function with given slug
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -826,7 +658,6 @@ Failed to retrieve function with given slug
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Update a function {#update-a-function}
@@ -837,51 +668,32 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- function_slug
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Function slug
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">function_slug</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Function slug</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Body
```json
@@ -903,7 +715,6 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -912,11 +723,8 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -932,11 +740,7 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
"type": "string"
},
"status": {
- "enum": [
- "ACTIVE",
- "REMOVED",
- "THROTTLED"
- ],
+ "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
"type": "string"
},
"version": {
@@ -965,7 +769,6 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -976,8 +779,6 @@ Failed to update function with given slug
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -986,7 +787,6 @@ Failed to update function with given slug
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Delete a function {#delete-a-function}
@@ -997,52 +797,32 @@ DELETE https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- function_slug
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Function slug
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">function_slug</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Function slug</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1051,12 +831,8 @@ DELETE https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1067,8 +843,6 @@ Failed to delete function with given slug
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1077,7 +851,6 @@ Failed to delete function with given slug
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all secrets {#list-all-secrets}
@@ -1088,35 +861,23 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1125,11 +886,8 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -1144,16 +902,12 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
"type": "string"
}
},
- "required": [
- "name",
- "value"
- ]
+ "required": ["name", "value"]
}
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1164,8 +918,6 @@ Failed to retrieve project's secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1174,7 +926,6 @@ Failed to retrieve project's secrets
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Bulk create secrets {#bulk-create-secrets}
@@ -1185,34 +936,23 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Body
```json
@@ -1230,16 +970,12 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
"pattern": {}
}
},
- "required": [
- "name",
- "value"
- ]
+ "required": ["name", "value"]
}
}
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1248,12 +984,8 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
<TabItem value="201">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1264,8 +996,6 @@ Failed to create project's secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1274,7 +1004,6 @@ Failed to create project's secrets
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Bulk delete secrets {#bulk-delete-secrets}
@@ -1285,34 +1014,23 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- ref
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
- Project ref
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">ref</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description">Project ref</div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Body
```json
@@ -1326,7 +1044,6 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1335,11 +1052,8 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
<TabItem value="200">
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
```json
{
"schema": {
@@ -1348,7 +1062,6 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
}
```
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1359,8 +1072,6 @@ Failed to delete secrets with given names
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1368,4 +1079,3 @@ Failed to delete secrets with given names
</Tabs>
<br />
-
diff --git a/apps/reference/_storage/generated/config.mdx b/apps/reference/_storage/generated/config.mdx
index 2cfc75f1a27..93872d8d73e 100644
--- a/apps/reference/_storage/generated/config.mdx
+++ b/apps/reference/_storage/generated/config.mdx
@@ -11,254 +11,280 @@ A sample `.env` file is located in the [storage repository](https://github.com/s
Use this file to configure your environment variables for your Storage server.
-
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->
## General {#general}
-
-
### `ANON_KEY` {#ANON_KEY}
A long-lived JWT with anonymous Postgres privileges.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `SERVICE_KEY` {#SERVICE_KEY}
A long-lived JWT with Postgres privileges to bypass Row Level Security.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `TENANT_ID` {#TENANT_ID}
The ID of a Storage tenant.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `REGION` {#REGION}
Region of your S3 bucket.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `GLOBAL_S3_BUCKET` {#GLOBAL_S3_BUCKET}
Name of your S3 bucket.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `POSTGREST_URL` {#POSTGREST_URL}
The URL of your PostgREST server.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `PGRST_JWT_SECRET` {#PGRST_JWT_SECRET}
A JWT Secret for the PostgREST database.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `DATABASE_URL` {#DATABASE_URL}
The URL of your Postgres database.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `PGOPTIONS` {#PGOPTIONS}
Additional configuration parameters for Postgres startup.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `FILE_SIZE_LIMIT` {#FILE_SIZE_LIMIT}
The maximum file size allowed.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `STORAGE_BACKEND` {#STORAGE_BACKEND}
The storage provider.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `FILE_STORAGE_BACKEND_PATH` {#FILE_STORAGE_BACKEND_PATH}
The location storage when the "STORAGE_BACKEND" is set to "file".
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->
## Multi-tenant {#multitenant}
-
-
### `IS_MULTITENANT` {#IS_MULTITENANT}
Operate across multiple tenants.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `MULTITENANT_DATABASE_URL` {#MULTITENANT_DATABASE_URL}
The URL of the multitenant Postgres database.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `X_FORWARDED_HOST_REGEXP` {#X_FORWARDED_HOST_REGEXP}
TBD.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `POSTGREST_URL_SUFFIX` {#POSTGREST_URL_SUFFIX}
The suffix for the PostgREST instance.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `ADMIN_API_KEYS` {#ADMIN_API_KEYS}
Secure API key for administrative endpoints.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
### `ENCRYPTION_KEY` {#ENCRYPTION_KEY}
An key for encryting/decrypting secrets.
-
<ul>
-<li>Required: <code>true</code></li>
-<li>Default: <code>None</code></li>
+ <li>
+ Required: <code>true</code>
+ </li>
+ <li>
+ Default: <code>None</code>
+ </li>
</ul>
<br />
-
-
diff --git a/apps/reference/_storage/generated/usage.mdx b/apps/reference/_storage/generated/usage.mdx
index 723e35571e9..fc6d15eab32 100644
--- a/apps/reference/_storage/generated/usage.mdx
+++ b/apps/reference/_storage/generated/usage.mdx
@@ -5,9 +5,8 @@ title: Usage
toc_max_heading_level: 3
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
@@ -15,15 +14,10 @@ API documentation for Supabase Storage
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
-
## Object {#object}
Object end-points
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Delete an object {#delete-an-object}
@@ -34,69 +28,41 @@ DELETE /object/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -109,8 +75,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -121,8 +85,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -131,7 +93,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Deprecated (use GET /object/authenticated/{bucketName} instead): Retrieve an object {#deprecated-use-get-objectauthenticatedbucketname-instead-retrieve-an-object}
@@ -142,69 +103,41 @@ GET /object/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -217,8 +150,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -227,7 +158,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Update the object at an existing key {#update-the-object-at-an-existing-key}
@@ -238,69 +168,41 @@ PUT /object/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -313,8 +215,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -325,8 +225,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -335,7 +233,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Upload a new object {#upload-a-new-object}
@@ -346,69 +243,41 @@ POST /object/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -421,8 +290,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -433,8 +300,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -443,7 +308,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Delete multiple objects {#delete-multiple-objects}
@@ -454,69 +318,41 @@ DELETE /object/{bucketName}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -529,8 +365,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -541,8 +375,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -551,7 +383,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Retrieve an object {#retrieve-an-object}
@@ -562,69 +393,41 @@ GET /object/authenticated/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -637,8 +440,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -647,7 +448,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Generate a presigned url to retrieve an object {#generate-a-presigned-url-to-retrieve-an-object}
@@ -658,86 +458,50 @@ POST /object/sign/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -750,8 +514,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -762,8 +524,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -772,7 +532,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Retrieve an object via a presigned URL {#retrieve-an-object-via-a-presigned-url}
@@ -783,69 +542,41 @@ GET /object/sign/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- token
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">token</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -858,8 +589,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -868,7 +597,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Generate presigned urls to retrieve objects {#generate-presigned-urls-to-retrieve-objects}
@@ -879,69 +607,41 @@ POST /object/sign/{bucketName}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -954,8 +654,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -966,8 +664,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -976,7 +672,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Moves an object {#moves-an-object}
@@ -987,52 +682,32 @@ POST /object/move
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1045,8 +720,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1057,8 +730,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1067,7 +738,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Search for objects under a prefix {#search-for-objects-under-a-prefix}
@@ -1078,69 +748,41 @@ POST /object/list/{bucketName}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1153,8 +795,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1165,8 +805,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1175,7 +813,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Copies an object {#copies-an-object}
@@ -1186,52 +823,32 @@ POST /object/copy
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1244,8 +861,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1256,8 +871,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1266,7 +879,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Retrieve an object from a public bucket {#retrieve-an-object-from-a-public-bucket}
@@ -1277,52 +889,32 @@ GET /object/public/{bucketName}/{wildcard}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketName
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketName</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- *
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">*</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1335,8 +927,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1345,14 +935,10 @@ Default Response
<br />
-
-
## Bucket {#bucket}
Bucket end-points
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create a bucket {#create-a-bucket}
@@ -1363,52 +949,32 @@ POST /bucket/
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1421,8 +987,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1433,8 +997,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1443,7 +1005,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Gets all buckets {#gets-all-buckets}
@@ -1454,35 +1015,23 @@ GET /bucket/
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1495,8 +1044,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1507,8 +1054,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1517,7 +1062,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Empty a bucket {#empty-a-bucket}
@@ -1528,52 +1072,32 @@ POST /bucket/{bucketId}/empty
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketId
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketId</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1586,8 +1110,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1598,8 +1120,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1608,7 +1128,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Get details of a bucket {#get-details-of-a-bucket}
@@ -1619,52 +1138,32 @@ GET /bucket/{bucketId}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketId
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketId</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1677,8 +1176,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1689,8 +1186,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1699,7 +1194,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Update properties of a bucket {#update-properties-of-a-bucket}
@@ -1710,52 +1204,32 @@ PUT /bucket/{bucketId}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- body
- </span>
- <span className="method-list-item-label-badge">
- optional
- </span>
- <span className="method-list-item-validation">
-
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">body</span>
+ <span className="method-list-item-label-badge">optional</span>
+ <span className="method-list-item-validation"></span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1768,8 +1242,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1780,8 +1252,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1790,7 +1260,6 @@ Default Response
<br />
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Delete a bucket {#delete-a-bucket}
@@ -1801,52 +1270,32 @@ DELETE /bucket/{bucketId}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
#### Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- bucketId
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">bucketId</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">
- authorization
- </span>
- <span className="method-list-item-label-badge">
- required
- </span>
- <span className="method-list-item-validation">
- string
- </span>
- </h4>
- <div class="method-list-item-description">
-
- </div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">authorization</span>
+ <span className="method-list-item-label-badge">required</span>
+ <span className="method-list-item-validation">string</span>
+ </h4>
+ <div class="method-list-item-description"></div>
</li>
</ul>
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1859,8 +1308,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1871,8 +1318,6 @@ Default Response
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
-
-
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1880,4 +1325,3 @@ Default Response
</Tabs>
<br />
-
diff --git a/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx b/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx
index 8d51f1acc90..cce37b26796 100644
--- a/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-onauthstatechange.mdx
@@ -1,16 +1,15 @@
---
id: auth-onauthstatechange
-title: "auth.onAuthStateChange()"
+title: 'auth.onAuthStateChange()'
slug: /auth-onauthstatechange
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Receive a notification every time an auth event happens.
-
```dart
final subscription = supabase.auth.onAuthStateChange((event, session) {
print(session?.user?.id);
@@ -18,32 +17,13 @@ final subscription = supabase.auth.onAuthStateChange((event, session) {
});
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Listen to auth changes
-
-
```dart
final subscription = supabase.auth.onAuthStateChange((event, session) {
print(session?.user?.id);
// handle auth state change
});
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/auth-session.mdx b/apps/reference/_supabase_dart/generated/auth-session.mdx
index 30ef6f1614c..70948e84238 100644
--- a/apps/reference/_supabase_dart/generated/auth-session.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-session.mdx
@@ -1,43 +1,23 @@
---
id: auth-session
-title: "auth.session()"
+title: 'auth.session()'
slug: /auth-session
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Returns the session data, if there is an active session.
-
```dart
final session = supabase.auth.session();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Get the session data
-
-
```dart
final session = supabase.auth.session();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/auth-signin.mdx b/apps/reference/_supabase_dart/generated/auth-signin.mdx
index 753a3091bf0..97c0e53ec86 100644
--- a/apps/reference/_supabase_dart/generated/auth-signin.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-signin.mdx
@@ -1,16 +1,15 @@
---
id: auth-signin
-title: "auth.signIn()"
+title: 'auth.signIn()'
slug: /auth-signin
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Log in an existing user, or login via a third-party provider.
-
```dart
final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');
@@ -18,34 +17,18 @@ final user = res.data?.user;
final error = res.error;
```
-
-
-
-
-
## Notes
- A user can sign up via email, phone number.
- If you provide `email` without a `password`, the user will be sent a magic link.
- The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)
-- Similarly, if you provide `phone` without a `password`, the user will be sent a one time password.
+- Similarly, if you provide `phone` without a `password`, the user will be sent a one time password.
- If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).
-
-
-
-
-
-
-
-
-
## Examples
### Sign in with email.
-
-
```dart
final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');
@@ -65,13 +48,12 @@ final error = res.error;
### Get OAuth sign in URL.
-Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth.
+Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth.
If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider).
-
```dart
final res = await supabase.auth.signIn(provider: Provider.github);
final url = res.data?.url;
final error = res.error;
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx b/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx
index 324e27f970c..4889854920d 100644
--- a/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-signinwithprovider.mdx
@@ -1,47 +1,30 @@
---
id: auth-signinwithprovider
-title: "auth.signInWithProvider()"
+title: 'auth.signInWithProvider()'
slug: /auth-signinwithprovider
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Signs the user in using third party OAuth providers.
-
```dart
final res = await supabase.auth.signInWithProvider(Provider.github);
final error = res.error;
```
-
-
-
-
-
## Notes
- `auth.signInWithProvider()` is only available on `supabase_flutter`
- It will open the browser to the relevant login page.
-
-
-
-
-
-
-
-
-
## Examples
### Sign in with provider.
-
-
```dart
final res = await supabase.auth.signInWithProvider(Provider.github);
@@ -53,7 +36,6 @@ final error = res.error;
Specify the redirect link to bring back the user via deeplink.
Note that `redirectTo` should be null for Flutter Web.
-
```dart
final res = await supabase.auth.signInWithProvider(
Provider.github,
@@ -71,7 +53,6 @@ final error = res.error;
If you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token.
You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider.
-
```dart
const { user, session, error } = await supabase.auth.signIn({
provider: 'github'
@@ -79,4 +60,4 @@ const { user, session, error } = await supabase.auth.signIn({
scopes: 'repo gist notifications'
})
const oAuthToken = session.provider_token // use to access provider API
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/auth-signout.mdx b/apps/reference/_supabase_dart/generated/auth-signout.mdx
index 54b06bef2b3..db73ae69d87 100644
--- a/apps/reference/_supabase_dart/generated/auth-signout.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-signout.mdx
@@ -1,47 +1,27 @@
---
id: auth-signout
-title: "auth.signOut()"
+title: 'auth.signOut()'
slug: /auth-signout
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Signs out the current user, if there is a logged in user.
-
```dart
final res = await supabase.auth.signOut();
final error = res.error;
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Sign out
-
-
```dart
final res = await supabase.auth.signOut();
final error = res.error;
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/auth-signup.mdx b/apps/reference/_supabase_dart/generated/auth-signup.mdx
index 8cede66fb47..8272db0bea1 100644
--- a/apps/reference/_supabase_dart/generated/auth-signup.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-signup.mdx
@@ -1,16 +1,15 @@
---
id: auth-signup
-title: "auth.signUp()"
+title: 'auth.signUp()'
slug: /auth-signup
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Creates a new user.
-
```dart
final res = await supabase.auth.signUp('[email protected]', 'example-password');
@@ -18,11 +17,6 @@ final user = res.data?.user;
final error = res.error;
```
-
-
-
-
-
## Notes
- By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)
@@ -30,21 +24,10 @@ final error = res.error;
- If "Email Confirmations" is turned off, both a `user` and a `session` will be returned
- When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.com](https://app.supabase.com)
-
-
-
-
-
-
-
-
-
## Examples
### Sign up.
-
-
```dart
final res = await supabase.auth.signUp('[email protected]', 'example-password');
@@ -54,4 +37,4 @@ final error = res.error;
### Sign up with third-party providers.
-If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
\ No newline at end of file
+If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase_flutter`.
diff --git a/apps/reference/_supabase_dart/generated/auth-update.mdx b/apps/reference/_supabase_dart/generated/auth-update.mdx
index 6c01d85fe3b..644a1a3e166 100644
--- a/apps/reference/_supabase_dart/generated/auth-update.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-update.mdx
@@ -1,16 +1,15 @@
---
id: auth-update
-title: "auth.update()"
+title: 'auth.update()'
slug: /auth-update
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Updates user data, if there is a logged in user.
-
```dart
final res = await supabase.auth.update(
UserAttributes(data: {'hello': 'world'})
@@ -19,35 +18,19 @@ final res = await supabase.auth.update(
final error = res.error;
```
-
-
-
-
-
## Notes
-It's generally better to store user data in a table inside your public schema (i.e. `public.users`).
+It's generally better to store user data in a table inside your public schema (i.e. `public.users`).
Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.
-
-
-
-
-
-
-
-
-
## Examples
### Update a user's metadata.
-
-
```dart
final res = await supabase.auth.update(
UserAttributes(data: {'hello': 'world'})
);
final error = res.error;
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/auth-user.mdx b/apps/reference/_supabase_dart/generated/auth-user.mdx
index 8fb8579e9bd..d3e087d6f2b 100644
--- a/apps/reference/_supabase_dart/generated/auth-user.mdx
+++ b/apps/reference/_supabase_dart/generated/auth-user.mdx
@@ -1,43 +1,23 @@
---
id: auth-user
-title: "auth.user()"
+title: 'auth.user()'
slug: /auth-user
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Returns the user data, if there is a logged in user.
-
```dart
final user = supabase.auth.user();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Get the logged in user
-
-
```dart
final user = supabase.auth.user();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/containedby.mdx b/apps/reference/_supabase_dart/generated/containedby.mdx
index 3f79b809110..8666429320b 100644
--- a/apps/reference/_supabase_dart/generated/containedby.mdx
+++ b/apps/reference/_supabase_dart/generated/containedby.mdx
@@ -1,14 +1,12 @@
---
id: containedby
-title: ".containedBy()"
+title: '.containedBy()'
slug: /containedby
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.containedBy('main_exports', ['cars', 'food', 'machine'])
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/contains.mdx b/apps/reference/_supabase_dart/generated/contains.mdx
index ae19c00d7a4..f3c795c848f 100644
--- a/apps/reference/_supabase_dart/generated/contains.mdx
+++ b/apps/reference/_supabase_dart/generated/contains.mdx
@@ -1,14 +1,12 @@
---
id: contains
-title: ".contains()"
+title: '.contains()'
slug: /contains
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.contains('main_exports', ['oil'])
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/delete.mdx b/apps/reference/_supabase_dart/generated/delete.mdx
index a070a51fa82..7a231ce7a99 100644
--- a/apps/reference/_supabase_dart/generated/delete.mdx
+++ b/apps/reference/_supabase_dart/generated/delete.mdx
@@ -1,16 +1,15 @@
---
id: delete
-title: "Delete data: delete()"
+title: 'Delete data: delete()'
slug: /delete
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Performs a DELETE on the table.
-
```dart
final res = await supabase
.from('cities')
@@ -19,34 +18,18 @@ final res = await supabase
.execute();
```
-
-
-
-
-
## Notes
- `delete()` should always be combined with [Filters](/docs/reference/dart/using-filters) to target the item(s) you wish to delete.
-
-
-
-
-
-
-
-
-
## Examples
### Delete records
-
-
```dart
final res = await supabase
.from('cities')
.delete()
.match({ 'id': 666 })
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/eq.mdx b/apps/reference/_supabase_dart/generated/eq.mdx
index 0a3ecdf3d6d..ff87e716890 100644
--- a/apps/reference/_supabase_dart/generated/eq.mdx
+++ b/apps/reference/_supabase_dart/generated/eq.mdx
@@ -1,16 +1,15 @@
---
id: eq
-title: ".eq()"
+title: '.eq()'
slug: /eq
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` exactly matches the specified `value`.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.eq('name', 'San Francisco')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/filter.mdx b/apps/reference/_supabase_dart/generated/filter.mdx
index f842f13109c..b5734905ab9 100644
--- a/apps/reference/_supabase_dart/generated/filter.mdx
+++ b/apps/reference/_supabase_dart/generated/filter.mdx
@@ -1,16 +1,15 @@
---
id: filter
-title: ".filter()"
+title: '.filter()'
slug: /filter
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose `column` satisfies the filter.
-
```dart
final res = await supabase
.from('cities')
@@ -19,11 +18,6 @@ final res = await supabase
.execute();
```
-
-
-
-
-
## Notes
- `.filter()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values, so it should only be used as an escape hatch in case other filters don't work.
@@ -34,21 +28,10 @@ final res = await supabase
.filter('id','cs','{${mylist.join(',')}}') // You can insert a Dart array list.
```
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -59,8 +42,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -71,8 +52,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -83,8 +62,6 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
@@ -94,12 +71,10 @@ final res = await supabase
### Filter embedded resources
-
-
```dart
final res = await supabase
.from('cities')
.select('name, countries ( name )')
.filter('countries.name', 'in', '("France","Japan")')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/getsubscriptions.mdx b/apps/reference/_supabase_dart/generated/getsubscriptions.mdx
index 4329a9e9239..b8ecd471f98 100644
--- a/apps/reference/_supabase_dart/generated/getsubscriptions.mdx
+++ b/apps/reference/_supabase_dart/generated/getsubscriptions.mdx
@@ -1,43 +1,23 @@
---
id: getsubscriptions
-title: "getSubscriptions()"
+title: 'getSubscriptions()'
slug: /getsubscriptions
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Returns an array of all your subscriptions.
-
```dart
final subscriptions = supabase.getSubscriptions();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Get all subscriptions
-
-
```dart
final subscriptions = supabase.getSubscriptions();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/gt.mdx b/apps/reference/_supabase_dart/generated/gt.mdx
index 8ea52486737..3a1993e0473 100644
--- a/apps/reference/_supabase_dart/generated/gt.mdx
+++ b/apps/reference/_supabase_dart/generated/gt.mdx
@@ -1,16 +1,15 @@
---
id: gt
-title: ".gt()"
+title: '.gt()'
slug: /gt
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` is greater than the specified `value`.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.gt('country_id', 250)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/gte.mdx b/apps/reference/_supabase_dart/generated/gte.mdx
index 797b03fc59f..f0f6e05224c 100644
--- a/apps/reference/_supabase_dart/generated/gte.mdx
+++ b/apps/reference/_supabase_dart/generated/gte.mdx
@@ -1,16 +1,15 @@
---
id: gte
-title: ".gte()"
+title: '.gte()'
slug: /gte
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` is greater than or equal to the specified `value`.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.gte('country_id', 250)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/ilike.mdx b/apps/reference/_supabase_dart/generated/ilike.mdx
index 98318596bca..122d7d6f4f5 100644
--- a/apps/reference/_supabase_dart/generated/ilike.mdx
+++ b/apps/reference/_supabase_dart/generated/ilike.mdx
@@ -1,16 +1,15 @@
---
id: ilike
-title: ".ilike()"
+title: '.ilike()'
slug: /ilike
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value in the stated `column` matches the supplied `pattern` (case insensitive).
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.ilike('name', '%la%')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/in_.mdx b/apps/reference/_supabase_dart/generated/in_.mdx
index ccc1a1162cb..183ffa5e800 100644
--- a/apps/reference/_supabase_dart/generated/in_.mdx
+++ b/apps/reference/_supabase_dart/generated/in_.mdx
@@ -1,18 +1,17 @@
---
id: in_
-title: ".in_()"
+title: '.in_()'
slug: /in_
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` is found on the specified `values`.
`is_` and `in_` filter methods are suffixed with `_` to avoid collisions with reserved keywords.
-
```dart
final res = await supabase
.from('cities')
@@ -21,29 +20,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -54,8 +34,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -66,8 +44,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -78,12 +54,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.in_('name', ['Rio de Janeiro', 'San Francisco'])
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/index.mdx b/apps/reference/_supabase_dart/generated/index.mdx
index de037a3817d..fbfdbb3875f 100644
--- a/apps/reference/_supabase_dart/generated/index.mdx
+++ b/apps/reference/_supabase_dart/generated/index.mdx
@@ -1,12 +1,11 @@
---
id: index
-title: "Getting started"
+title: 'Getting started'
slug: getting-started
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
-
-Supabase Dart.
\ No newline at end of file
+Supabase Dart.
diff --git a/apps/reference/_supabase_dart/generated/initializing.mdx b/apps/reference/_supabase_dart/generated/initializing.mdx
index f1c23348be7..87d744318c2 100644
--- a/apps/reference/_supabase_dart/generated/initializing.mdx
+++ b/apps/reference/_supabase_dart/generated/initializing.mdx
@@ -1,60 +1,37 @@
---
id: initializing
-title: "Initializing"
+title: 'Initializing'
slug: /initializing
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
## Dart
+
You can initialize a new Supabase client using the `SupabaseClient()` method.
The Supabase client is your entrypoint to the rest of the Supabase functionality
and is the easiest way to interact with everything we offer within the Supabase ecosystem.
-
## Flutter
For `supabase_flutter`, you will be using the static `initialize()` method on `Supabase` class.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Dart SupabaseClient()
-
-
```dart
final supabase = SupabaseClient('https://xyzcompany.supabase.co', 'public-anon-key');
```
### Flutter initialize()
-
-
```dart title="main.dart"
Future<void> main() async {
await Supabase.initialize(url: 'https://xyzcompany.supabase.co', anonKey: 'public-anon-key');
runApp(MyApp());
}
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/insert.mdx b/apps/reference/_supabase_dart/generated/insert.mdx
index 3ec02f2c4f3..52ceb6a8385 100644
--- a/apps/reference/_supabase_dart/generated/insert.mdx
+++ b/apps/reference/_supabase_dart/generated/insert.mdx
@@ -1,16 +1,15 @@
---
id: insert
-title: "Create data: insert()"
+title: 'Create data: insert()'
slug: /insert
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Performs an INSERT into the table.
-
```dart
final res = await supabase
.from('cities')
@@ -19,32 +18,16 @@ final res = await supabase
]).execute();
```
-
-
-
-
-
## Notes
- By default, every time you run `insert()`, the client library will make a `select` to return the full record.
-This is convenient, but it can also cause problems if your Policies are not configured to allow the `select` operation.
-If you are using Row Level Security and you are encountering problems, try setting the `returning` param to `minimal`.
-
-
-
-
-
-
-
-
-
+ This is convenient, but it can also cause problems if your Policies are not configured to allow the `select` operation.
+ If you are using Row Level Security and you are encountering problems, try setting the `returning` param to `minimal`.
## Examples
### Create a record
-
-
```dart
final res = await supabase
.from('cities')
@@ -55,8 +38,6 @@ final res = await supabase
### Bulk create
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,4 +45,4 @@ final res = await supabase
{'name': 'The Shire', 'country_id': 554},
{'name': 'Rohan', 'country_id': 555},
]).execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/installing.mdx b/apps/reference/_supabase_dart/generated/installing.mdx
index 8f27b56ad83..59d512d4dc0 100644
--- a/apps/reference/_supabase_dart/generated/installing.mdx
+++ b/apps/reference/_supabase_dart/generated/installing.mdx
@@ -1,16 +1,16 @@
---
id: installing
-title: "Installing"
+title: 'Installing'
slug: /installing
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
## Dart
-Dart libraries are built and supported by the community.
+Dart libraries are built and supported by the community.
```bash
dart pub add supabase
@@ -18,7 +18,7 @@ dart pub add supabase
Find the source code on [GitHub](https://github.com/supabase/supabase-dart).
-## Flutter
+## Flutter
For Flutter project, you can use [supabase_flutter](https://github.com/supabase/supabase-flutter).
@@ -27,6 +27,6 @@ flutter pub add supabase_flutter
```
`supabase_flutter` plugin uses `supabase` plugin internally, and it adds some Flutter specific functionality such as handling deeplinks coming back from magic link verifications.
-If you are creating a Flutter application, we recommend using `supabase_flutter` instead of `supabase`.
+If you are creating a Flutter application, we recommend using `supabase_flutter` instead of `supabase`.
-For the most part `supabase_flutter` shares the same API as `supabase` with few exceptions such as initialization or OAuth sign in.
\ No newline at end of file
+For the most part `supabase_flutter` shares the same API as `supabase` with few exceptions such as initialization or OAuth sign in.
diff --git a/apps/reference/_supabase_dart/generated/invoke.mdx b/apps/reference/_supabase_dart/generated/invoke.mdx
index d6720a25287..18e268fd562 100644
--- a/apps/reference/_supabase_dart/generated/invoke.mdx
+++ b/apps/reference/_supabase_dart/generated/invoke.mdx
@@ -1,47 +1,30 @@
---
id: invoke
-title: "invoke()"
+title: 'invoke()'
slug: /invoke
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Invokes a Supabase Function. See the [guide](/docs/guides/functions) for details on writing Functions.
-
```dart
final res = await supabaseClient.functions.invoke('hello', body: {'foo': 'baa'});
final data = res.data;
final error = res.error;
```
-
-
-
-
-
## Notes
- Requires an Authorization header.
- Invoke params generally match the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) spec.
-
-
-
-
-
-
-
-
-
## Examples
### Basic invocation.
-
-
```dart
final res = await supabaseClient.functions.invoke('hello', body: {'foo': 'baa'});
final data = res.data;
@@ -52,7 +35,6 @@ final error = res.error;
By default, `invoke()` will parse the response as JSON. You can parse the response in the following formats: `json`, `blob`, `text`, and `arrayBuffer`.
-
```dart
final res = await supabaseClient.functions.invoke(
'hello',
@@ -67,7 +49,6 @@ final error = res.error;
Any `headers` will be passed through to the function. A common pattern is to pass a logged-in user's JWT token as an Authorization header.
-
```dart
final res = await supabaseClient.functions.invoke(
'hello',
@@ -76,4 +57,4 @@ final res = await supabaseClient.functions.invoke(
'Authorization': 'Bearer ${supabase.auth.session()?.access_token}'
},
);
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/is_.mdx b/apps/reference/_supabase_dart/generated/is_.mdx
index ae3236803c7..59591e6fb80 100644
--- a/apps/reference/_supabase_dart/generated/is_.mdx
+++ b/apps/reference/_supabase_dart/generated/is_.mdx
@@ -1,18 +1,17 @@
---
id: is_
-title: ".is_()"
+title: '.is_()'
slug: /is_
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
A check for exact equality (null, true, false), finds all rows whose value on the stated `column` exactly match the specified `value`.
`is_` and `in_` filter methods are suffixed with `_` to avoid collisions with reserved keywords.
-
```dart
final res = await supabase
.from('cities')
@@ -21,29 +20,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -54,8 +34,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -66,8 +44,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -78,12 +54,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.is_('name', null)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/like.mdx b/apps/reference/_supabase_dart/generated/like.mdx
index f146621730b..641eea3ca57 100644
--- a/apps/reference/_supabase_dart/generated/like.mdx
+++ b/apps/reference/_supabase_dart/generated/like.mdx
@@ -1,16 +1,15 @@
---
id: like
-title: ".like()"
+title: '.like()'
slug: /like
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value in the stated `column` matches the supplied `pattern` (case sensitive).
-
```dart
final res = await supabase
.from('cities')
@@ -19,10 +18,8 @@ final res = await supabase
.execute();
```
-
## Parameters
-
<ul className="method-list-group">
<li className="method-list-item">
@@ -45,7 +42,6 @@ The column to filter on.
</li>
-
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
@@ -68,25 +64,10 @@ The pattern to filter with.
</ul>
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -97,8 +78,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -109,8 +88,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -121,12 +98,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.like('name', '%la%')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/limit.mdx b/apps/reference/_supabase_dart/generated/limit.mdx
index 776ff4c8738..0270d2ad524 100644
--- a/apps/reference/_supabase_dart/generated/limit.mdx
+++ b/apps/reference/_supabase_dart/generated/limit.mdx
@@ -1,16 +1,15 @@
---
id: limit
-title: "limit()"
+title: 'limit()'
slug: /limit
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Limits the result with the specified count.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With embedded resources
-
-
```dart
final res = await supabase
.from('countries')
@@ -61,4 +39,4 @@ final res = await supabase
.eq('name', 'United States')
.limit(1, foreignTable: 'cities' )
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/lt.mdx b/apps/reference/_supabase_dart/generated/lt.mdx
index d69fcf88852..e69bd0fa9cb 100644
--- a/apps/reference/_supabase_dart/generated/lt.mdx
+++ b/apps/reference/_supabase_dart/generated/lt.mdx
@@ -1,16 +1,15 @@
---
id: lt
-title: ".lt()"
+title: '.lt()'
slug: /lt
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` is less than the specified `value`.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.lt('country_id', 250)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/lte.mdx b/apps/reference/_supabase_dart/generated/lte.mdx
index 89fe11d8c53..039a1458f6c 100644
--- a/apps/reference/_supabase_dart/generated/lte.mdx
+++ b/apps/reference/_supabase_dart/generated/lte.mdx
@@ -1,16 +1,15 @@
---
id: lte
-title: ".lte()"
+title: '.lte()'
slug: /lte
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` is less than or equal to the specified `value`.
-
```dart
final res = await supabase
.from('cities')
@@ -19,10 +18,8 @@ final res = await supabase
.execute();
```
-
## Parameters
-
<ul className="method-list-group">
<li className="method-list-item">
@@ -45,7 +42,6 @@ The column to filter on.
</li>
-
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
@@ -68,25 +64,10 @@ The value to filter with.
</ul>
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -97,8 +78,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -109,8 +88,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -121,12 +98,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.lte('country_id', 250)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/match.mdx b/apps/reference/_supabase_dart/generated/match.mdx
index 9175d8d5e64..11beeffddce 100644
--- a/apps/reference/_supabase_dart/generated/match.mdx
+++ b/apps/reference/_supabase_dart/generated/match.mdx
@@ -1,16 +1,15 @@
---
id: match
-title: ".match()"
+title: '.match()'
slug: /match
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose columns match the specified `query` object.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.match({'name': 'Beijing', 'country_id': 156})
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/neq.mdx b/apps/reference/_supabase_dart/generated/neq.mdx
index 5e2ca77fb77..eb8606e1db3 100644
--- a/apps/reference/_supabase_dart/generated/neq.mdx
+++ b/apps/reference/_supabase_dart/generated/neq.mdx
@@ -1,16 +1,15 @@
---
id: neq
-title: ".neq()"
+title: '.neq()'
slug: /neq
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose value on the stated `column` doesn't match the specified `value`.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -64,8 +42,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -76,12 +52,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.neq('name', 'Lagos')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/not.mdx b/apps/reference/_supabase_dart/generated/not.mdx
index 4bfd32cdd2c..73983810af5 100644
--- a/apps/reference/_supabase_dart/generated/not.mdx
+++ b/apps/reference/_supabase_dart/generated/not.mdx
@@ -1,16 +1,15 @@
---
id: not
-title: ".not()"
+title: '.not()'
slug: /not
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows which doesn't satisfy the filter.
-
```dart
final res = await supabase
.from('cities')
@@ -19,11 +18,6 @@ final res = await supabase
.execute();
```
-
-
-
-
-
## Notes
- `.not()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values.
@@ -36,21 +30,10 @@ final res = await supabase
.not('id','in','(${mylist.join(',')})') // You can insert a Dart list array.
```
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -61,8 +44,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -73,8 +54,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -85,12 +64,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities)
.not('name', 'eq', 'Paris')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/or.mdx b/apps/reference/_supabase_dart/generated/or.mdx
index b0c48fd2a80..65c0524c452 100644
--- a/apps/reference/_supabase_dart/generated/or.mdx
+++ b/apps/reference/_supabase_dart/generated/or.mdx
@@ -1,16 +1,15 @@
---
id: or
-title: ".or()"
+title: '.or()'
slug: /or
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows satisfying at least one of the filters.
-
```dart
final res = await supabase
.from('cities')
@@ -19,11 +18,6 @@ final res = await supabase
.execute();
```
-
-
-
-
-
## Notes
- `.or()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values.
@@ -34,21 +28,10 @@ final res = await supabase
.or('id.in.(${mylist.join(',')}),rangecol.cs.(${mylistRange.join(',')}]') // You can insert a Dart list for list or range column.
```
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -59,12 +42,10 @@ final res = await supabase
### Use `or` with `and`
-
-
```dart
final res = await supabase
.from('cities')
.select('name, country_id')
.or('id.gt.20,and(name.eq.New Zealand,name.eq.France)')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/order.mdx b/apps/reference/_supabase_dart/generated/order.mdx
index 0254be99496..c4e4820d63f 100644
--- a/apps/reference/_supabase_dart/generated/order.mdx
+++ b/apps/reference/_supabase_dart/generated/order.mdx
@@ -1,16 +1,15 @@
---
id: order
-title: "order()"
+title: 'order()'
slug: /order
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Orders the result with the specified column.
-
```dart
final res = await supabase
.from('cities')
@@ -19,29 +18,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
@@ -52,8 +32,6 @@ final res = await supabase
### With embedded resources
-
-
```dart
final res = await supabase
.from('countries')
@@ -61,4 +39,4 @@ final res = await supabase
.eq('name', 'United States')
.order('name', foreignTable: 'cities')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/overlaps.mdx b/apps/reference/_supabase_dart/generated/overlaps.mdx
index b16e58d60f2..7dfd7db1a18 100644
--- a/apps/reference/_supabase_dart/generated/overlaps.mdx
+++ b/apps/reference/_supabase_dart/generated/overlaps.mdx
@@ -1,14 +1,12 @@
---
id: overlaps
-title: ".overlaps()"
+title: '.overlaps()'
slug: /overlaps
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.overlaps('main_exports', ['computers', 'minerals'])
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/range.mdx b/apps/reference/_supabase_dart/generated/range.mdx
index 4975f25d2fb..44bc2f0e702 100644
--- a/apps/reference/_supabase_dart/generated/range.mdx
+++ b/apps/reference/_supabase_dart/generated/range.mdx
@@ -1,16 +1,15 @@
---
id: range
-title: "range()"
+title: 'range()'
slug: /range
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Limits the result to rows within the specified range, inclusive.
-
```dart
final res = await supabase
.from('cities')
@@ -19,33 +18,14 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
.select('name, country_id')
.range(0,3)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/rangeadjacent.mdx b/apps/reference/_supabase_dart/generated/rangeadjacent.mdx
index ccfb037e68e..56957655479 100644
--- a/apps/reference/_supabase_dart/generated/rangeadjacent.mdx
+++ b/apps/reference/_supabase_dart/generated/rangeadjacent.mdx
@@ -1,14 +1,12 @@
---
id: rangeadjacent
-title: ".rangeAdjacent()"
+title: '.rangeAdjacent()'
slug: /rangeadjacent
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.rangeAdjacent('population_range_millions', '[70, 185]')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/rangegt.mdx b/apps/reference/_supabase_dart/generated/rangegt.mdx
index 129c0c021ef..de3edd00d77 100644
--- a/apps/reference/_supabase_dart/generated/rangegt.mdx
+++ b/apps/reference/_supabase_dart/generated/rangegt.mdx
@@ -1,14 +1,12 @@
---
id: rangegt
-title: ".rangeGt()"
+title: '.rangeGt()'
slug: /rangegt
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.rangeGt('population_range_millions', '[150, 250]')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/rangegte.mdx b/apps/reference/_supabase_dart/generated/rangegte.mdx
index c5c4b37f53c..13677d21c25 100644
--- a/apps/reference/_supabase_dart/generated/rangegte.mdx
+++ b/apps/reference/_supabase_dart/generated/rangegte.mdx
@@ -1,14 +1,12 @@
---
id: rangegte
-title: ".rangeGte()"
+title: '.rangeGte()'
slug: /rangegte
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.rangeGte('population_range_millions', '[150, 250]')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/rangelt.mdx b/apps/reference/_supabase_dart/generated/rangelt.mdx
index 65a7418e3cb..132d0472f23 100644
--- a/apps/reference/_supabase_dart/generated/rangelt.mdx
+++ b/apps/reference/_supabase_dart/generated/rangelt.mdx
@@ -1,14 +1,12 @@
---
id: rangelt
-title: ".rangeLt()"
+title: '.rangeLt()'
slug: /rangelt
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.rangeLt('population_range_millions', '[150, 250]')
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/rangelte.mdx b/apps/reference/_supabase_dart/generated/rangelte.mdx
index 02ffb4ff350..558908e2b91 100644
--- a/apps/reference/_supabase_dart/generated/rangelte.mdx
+++ b/apps/reference/_supabase_dart/generated/rangelte.mdx
@@ -1,14 +1,12 @@
---
id: rangelte
-title: ".rangeLte()"
+title: '.rangeLte()'
slug: /rangelte
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
-
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
```dart
final res = await supabase
@@ -18,29 +16,10 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -51,8 +30,6 @@ final res = await supabase
### With `update()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -63,8 +40,6 @@ final res = await supabase
### With `delete()`
-
-
```dart
final res = await supabase
.from('countries')
@@ -75,12 +50,10 @@ final res = await supabase
### With `rpc()`
-
-
```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_countries')
.rangeLte('population_range_millions', [150, 250])
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/removesubscription.mdx b/apps/reference/_supabase_dart/generated/removesubscription.mdx
index 64fcc7a592e..bca627c7b78 100644
--- a/apps/reference/_supabase_dart/generated/removesubscription.mdx
+++ b/apps/reference/_supabase_dart/generated/removesubscription.mdx
@@ -1,44 +1,27 @@
---
id: removesubscription
-title: "removeSubscription()"
+title: 'removeSubscription()'
slug: /removesubscription
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Removes an active subscription and returns the number of open connections.
-
```dart
supabase.removeSubscription(mySubscription);
```
-
-
-
-
-
## Notes
- Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed.
-
-
-
-
-
-
-
-
-
## Examples
### Remove a subscription
-
-
```dart
supabase.removeSubscription(mySubscription);
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/reset-password-email.mdx b/apps/reference/_supabase_dart/generated/reset-password-email.mdx
index 9d44be88193..15d7ea1d5bc 100644
--- a/apps/reference/_supabase_dart/generated/reset-password-email.mdx
+++ b/apps/reference/_supabase_dart/generated/reset-password-email.mdx
@@ -1,27 +1,21 @@
---
id: reset-password-email
-title: "Reset Password (Email)"
+title: 'Reset Password (Email)'
slug: /reset-password-email
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Sends a reset request to an email address.
-
```dart
final res = await supabase.auth.api.resetPasswordForEmail('[email protected]');
final error = res.error;
```
-
-
-
-
-
## Notes
Sends a reset request to an email address.
@@ -41,21 +35,10 @@ final res = await supabase.auth.api.updateUser(
);
```
-
-
-
-
-
-
-
-
-
## Examples
### Reset password
-
-
```dart
final res = await supabase.auth.api.resetPasswordForEmail('[email protected]');
@@ -64,9 +47,8 @@ final error = res.error;
### Reset password for Flutter
+You can pass `redirectTo` to open the app via deeplink when user opens the password reset email.
-
-You can pass `redirectTo` to open the app via deeplink when user opens the password reset email.
```dart
final res = await supabase.auth.api.resetPasswordForEmail(
@@ -76,4 +58,4 @@ final res = await supabase.auth.api.resetPasswordForEmail(
);
final error = res.error;
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/rpc.mdx b/apps/reference/_supabase_dart/generated/rpc.mdx
index 13a482d6651..4712abc8c57 100644
--- a/apps/reference/_supabase_dart/generated/rpc.mdx
+++ b/apps/reference/_supabase_dart/generated/rpc.mdx
@@ -1,42 +1,24 @@
---
id: rpc
-title: "Stored Procedures: rpc()"
+title: 'Stored Procedures: rpc()'
slug: /rpc
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
You can call stored procedures as a "Remote Procedure Call".
That's a fancy way of saying that you can put some logic into your database then call it from anywhere.
It's especially useful when the logic rarely changes - like password resets and updates.
-
```dart
final res = await supabase
.rpc('hello_world')
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Call a stored procedure
@@ -51,8 +33,6 @@ final res = await supabase
### With Parameters
-
-
```dart
final res = await supabase
.rpc('echo_city', params: { 'name': 'The Shire' })
@@ -64,9 +44,8 @@ final res = await supabase
You can specify a count option to get the row count along with your data.
Allowed values for count option are `exact`, `planned` and `estimated`.
-
```dart
final res = await supabase
.rpc('hello_world')
.execute(count: CountOption.exact);
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/select.mdx b/apps/reference/_supabase_dart/generated/select.mdx
index 65d07694f72..6817e616596 100644
--- a/apps/reference/_supabase_dart/generated/select.mdx
+++ b/apps/reference/_supabase_dart/generated/select.mdx
@@ -1,16 +1,15 @@
---
id: select
-title: "Fetch data: select()"
+title: 'Fetch data: select()'
slug: /select
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Performs vertical filtering with SELECT.
-
```dart
final res = await supabase
.from('cities')
@@ -21,11 +20,6 @@ final data = res.data;
final error = res.error;
```
-
-
-
-
-
## Notes
- By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed in Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data.
@@ -33,21 +27,10 @@ final error = res.error;
- `select()` can be combined with [Filters](/docs/reference/dart/using-filters)
- If using the Supabase hosted platform `apikey` is technically a reserved keyword, since the API gateway will pluck it out for authentication. [It should be avoided as a column name](https://github.com/supabase/supabase/issues/5465).
-
-
-
-
-
-
-
-
-
## Examples
### Getting your data
-
-
```dart
final res = await supabase
.from('cities')
@@ -87,14 +70,13 @@ final res = await supabase
### Query the same foreign table multiple times
-Sometimes you will need to query the same foreign table twice.
-In this case, you can use the name of the joined column to identify
-which join you intend to use. For convenience, you can also give an
-alias for each column. For example, if we had a shop of products,
-and we wanted to get the supplier and the purchaser at the same time
+Sometimes you will need to query the same foreign table twice.
+In this case, you can use the name of the joined column to identify
+which join you intend to use. For convenience, you can also give an
+alias for each column. For example, if we had a shop of products,
+and we wanted to get the supplier and the purchaser at the same time
(both in the users) table:
-
```dart
final res = await supabase
.from('products')
@@ -108,10 +90,9 @@ final res = await supabase
### Filtering with inner joins
-If you want to filter a table based on a child table's values you can use the `!inner()` function. For example, if you wanted
+If you want to filter a table based on a child table's values you can use the `!inner()` function. For example, if you wanted
to select all rows in a `message` table which belong to a user with the `username` "Jane":
-
```dart
final res = await supabase
.from('messages')
@@ -125,7 +106,6 @@ final res = await supabase
You can get the number of rows by using the count option.
Allowed values for count option are [exact](https://postgrest.org/en/stable/api.html#exact-count), [planned](https://postgrest.org/en/stable/api.html#planned-count) and [estimated](https://postgrest.org/en/stable/api.html#estimated-count).
-
```dart
final res = await supabase
.from('cities')
@@ -137,13 +117,12 @@ final count = res.count;
### Querying JSON data
-If you have data inside of a JSONB column, you can apply select
-and query filters to the data values. Postgres offers a
-[number of operators](https://www.postgresql.org/docs/current/functions-json.html)
-for querying JSON data. Also see
+If you have data inside of a JSONB column, you can apply select
+and query filters to the data values. Postgres offers a
+[number of operators](https://www.postgresql.org/docs/current/functions-json.html)
+for querying JSON data. Also see
[PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details.
-
```dart
final res = await supabase
.from('users')
@@ -159,11 +138,10 @@ final res = await supabase
By default the data is returned in JSON format, however you can also request for it to be returned as Comma Separated Values.
-
```dart
final res = await supabase
.from('users')
.select()
.csv()
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/single.mdx b/apps/reference/_supabase_dart/generated/single.mdx
index c3821a12257..2af86d71db7 100644
--- a/apps/reference/_supabase_dart/generated/single.mdx
+++ b/apps/reference/_supabase_dart/generated/single.mdx
@@ -1,16 +1,15 @@
---
id: single
-title: "single()"
+title: 'single()'
slug: /single
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error.
-
```dart
final res = await supabase
.from('cities')
@@ -19,33 +18,14 @@ final res = await supabase
.execute();
```
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### With `select()`
-
-
```dart
final res = await supabase
.from('cities')
.select('name, country_id')
.single()
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-createbucket.mdx b/apps/reference/_supabase_dart/generated/storage-createbucket.mdx
index 75164459de1..c8754e89a7a 100644
--- a/apps/reference/_supabase_dart/generated/storage-createbucket.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-createbucket.mdx
@@ -1,50 +1,33 @@
---
id: storage-createbucket
-title: "createBucket()"
+title: 'createBucket()'
slug: /storage-createbucket
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Creates a new Storage bucket
-
```dart
final res = await supabase
.storage
.createBucket('avatars');
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: `insert`
+ - `buckets` permissions: `insert`
- `objects` permissions: none
-
-
-
-
-
-
-
-
-
## Examples
### Create bucket
-
-
```dart
final res = await supabase
.storage
.createBucket('avatars');
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx b/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx
index 15213cda636..9d712da11dc 100644
--- a/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-deletebucket.mdx
@@ -1,50 +1,33 @@
---
id: storage-deletebucket
-title: "deleteBucket()"
+title: 'deleteBucket()'
slug: /storage-deletebucket
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first `empty()` the bucket.
-
```dart
final res = await supabase
.storage
.deleteBucket('avatars');
```
-
-
-
-
-
## Notes
- Policy permissions required:
- `buckets` permissions: `select` and `delete`
- `objects` permissions: none
-
-
-
-
-
-
-
-
-
## Examples
### Delete bucket
-
-
```dart
final res = await supabase
.storage
.deleteBucket('avatars');
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx b/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx
index 5d4192cf216..8755664388e 100644
--- a/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-emptybucket.mdx
@@ -1,50 +1,33 @@
---
id: storage-emptybucket
-title: "emptyBucket()"
+title: 'emptyBucket()'
slug: /storage-emptybucket
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Removes all objects inside a single bucket.
-
```dart
final res = await supabase
.storage
.emptyBucket('avatars');
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: `select`
+ - `buckets` permissions: `select`
- `objects` permissions: `select` and `delete`
-
-
-
-
-
-
-
-
-
## Examples
### Empty bucket
-
-
```dart
final res = await supabase
.storage
.emptyBucket('avatars');
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx b/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx
index 91cbe692808..dc267a1eadd 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-createsignedurl.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-createsignedurl
-title: "from.createSignedUrl()"
+title: 'from.createSignedUrl()'
slug: /storage-from-createsignedurl
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.
-
```dart
final res = await supabase
.storage
@@ -20,32 +19,16 @@ final res = await supabase
final signedURL = res.data;
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `select`
-
-
-
-
-
-
-
-
-
## Examples
### Create Signed URL
-
-
```dart
final res = await supabase
.storage
@@ -53,4 +36,4 @@ final res = await supabase
.createSignedUrl('avatar1.png', 60);
final signedURL = res.data;
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-download.mdx b/apps/reference/_supabase_dart/generated/storage-from-download.mdx
index 912e6781e38..653c6645a85 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-download.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-download.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-download
-title: "from.download()"
+title: 'from.download()'
slug: /storage-from-download
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Downloads a file.
-
```dart
final res = await supabase
.storage
@@ -18,35 +17,19 @@ final res = await supabase
.download('avatar1.png');
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `select`
-
-
-
-
-
-
-
-
-
## Examples
### Download file
-
-
```dart
final res = await supabase
.storage
.from('avatars')
.download('avatar1.png');
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx b/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx
index 5a698e6cbf6..e959b3786c1 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-getpublicurl.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-getpublicurl
-title: "from.getPublicUrl()"
+title: 'from.getPublicUrl()'
slug: /storage-from-getpublicurl
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Retrieve URLs for assets in public buckets
-
```dart
final res = supabase
.storage
@@ -20,33 +19,17 @@ final res = supabase
final publicURL = res.data;
```
-
-
-
-
-
## Notes
- The bucket needs to be set to public, either via [updateBucket()](/docs/reference/javascript/storage-updatebucket) or by going to Storage on [app.supabase.com](https://app.supabase.com), clicking the overflow menu on a bucket and choosing "Make public"
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: none
-
-
-
-
-
-
-
-
-
## Examples
### Returns the URL for an asset in a public bucket
-
-
```dart
final res = supabase
.storage
@@ -54,4 +37,4 @@ final res = supabase
.getPublicUrl('avatar1.png');
final publicURL = res.data;
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-list.mdx b/apps/reference/_supabase_dart/generated/storage-from-list.mdx
index e8d921f6280..dc27b6f191c 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-list.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-list.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-list
-title: "from.list()"
+title: 'from.list()'
slug: /storage-from-list
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Lists all the files within a bucket.
-
```dart
final res = await supabase
.storage
@@ -18,35 +17,19 @@ final res = await supabase
.list();
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `select`
-
-
-
-
-
-
-
-
-
## Examples
### List files in a bucket
-
-
```dart
final res = await supabase
.storage
.from('avatars')
.list();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-move.mdx b/apps/reference/_supabase_dart/generated/storage-from-move.mdx
index cb981f9743d..56858fe3a8d 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-move.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-move.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-move
-title: "from.move()"
+title: 'from.move()'
slug: /storage-from-move
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Moves an existing file, optionally renaming it at the same time.
-
```dart
final res = await supabase
.storage
@@ -18,35 +17,19 @@ final res = await supabase
.move('public/avatar1.png', 'private/avatar2.png');
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `update` and `select`
-
-
-
-
-
-
-
-
-
## Examples
### Move file
-
-
```dart
final res = await supabase
.storage
.from('avatars')
.move('public/avatar1.png', 'private/avatar2.png');
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-remove.mdx b/apps/reference/_supabase_dart/generated/storage-from-remove.mdx
index 73b0fcbbc67..691cc4153db 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-remove.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-remove.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-remove
-title: "from.remove()"
+title: 'from.remove()'
slug: /storage-from-remove
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Deletes files within the same bucket
-
```dart
final res = await supabase
.storage
@@ -18,35 +17,19 @@ final res = await supabase
.remove(['avatar1.png']);
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `delete` and `select`
-
-
-
-
-
-
-
-
-
## Examples
### Delete file
-
-
```dart
final res = await supabase
.storage
.from('avatars')
.remove(['avatar1.png']);
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-update.mdx b/apps/reference/_supabase_dart/generated/storage-from-update.mdx
index ee0d0064e40..f80f0759636 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-update.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-update.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-update
-title: "from.update()"
+title: 'from.update()'
slug: /storage-from-update
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Replaces an existing file at the specified path with a new one.
-
```dart
final avatarFile = File('path/to/file');
final res = await supabase
@@ -22,32 +21,16 @@ final res = await supabase
));
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `update` and `select`
-
-
-
-
-
-
-
-
-
## Examples
### Update file
-
-
```dart
final avatarFile = File('path/to/file');
final res = await supabase
@@ -57,4 +40,4 @@ final res = await supabase
cacheControl: '3600',
upsert: false
));
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-from-upload.mdx b/apps/reference/_supabase_dart/generated/storage-from-upload.mdx
index 28408900e68..2db6c5c27bf 100644
--- a/apps/reference/_supabase_dart/generated/storage-from-upload.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-from-upload.mdx
@@ -1,16 +1,15 @@
---
id: storage-from-upload
-title: "from.upload()"
+title: 'from.upload()'
slug: /storage-from-upload
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Uploads a file to an existing bucket.
-
```dart
final avatarFile = File('path/to/file');
final res = await supabase
@@ -22,10 +21,8 @@ final res = await supabase
));
```
-
## Parameters
-
<ul className="method-list-group">
<li className="method-list-item">
@@ -48,7 +45,6 @@ The relative file path. Should be of the format `folder/subfolder/filename.png`.
</li>
-
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
@@ -69,7 +65,6 @@ The body of the file to be stored in the bucket.
</li>
-
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
@@ -95,28 +90,16 @@ HTTP headers.
</ul>
-
## Notes
- Policy permissions required:
- - `buckets` permissions: none
+ - `buckets` permissions: none
- `objects` permissions: `insert`
-
-
-
-
-
-
-
-
-
## Examples
### Upload file
-
-
```dart
final avatarFile = File('path/to/file');
final res = await supabase
@@ -126,4 +109,4 @@ final res = await supabase
cacheControl: '3600',
upsert: false
));
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-getbucket.mdx b/apps/reference/_supabase_dart/generated/storage-getbucket.mdx
index 690be98854f..a6b7ccb20a1 100644
--- a/apps/reference/_supabase_dart/generated/storage-getbucket.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-getbucket.mdx
@@ -1,26 +1,23 @@
---
id: storage-getbucket
-title: "getBucket()"
+title: 'getBucket()'
slug: /storage-getbucket
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Retrieves the details of an existing Storage bucket.
-
```dart
final res = await supabase
.storage
.getBucket('avatars')
```
-
## Parameters
-
<ul className="method-list-group">
<li className="method-list-item">
@@ -45,30 +42,18 @@ The unique identifier of the bucket you would like to retrieve.
</ul>
-
## Notes
- Policy permissions required:
- - `buckets` permissions: `select`
+ - `buckets` permissions: `select`
- `objects` permissions: none
-
-
-
-
-
-
-
-
-
## Examples
### Get bucket
-
-
```dart
final res = await supabase
.storage
.getBucket('avatars')
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-listbuckets.mdx b/apps/reference/_supabase_dart/generated/storage-listbuckets.mdx
index d103b1a3c51..ca770173a04 100644
--- a/apps/reference/_supabase_dart/generated/storage-listbuckets.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-listbuckets.mdx
@@ -1,50 +1,33 @@
---
id: storage-listbuckets
-title: "listBuckets()"
+title: 'listBuckets()'
slug: /storage-listbuckets
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Retrieves the details of all Storage buckets within an existing product.
-
```dart
final res = await supabase
.storage
.listBuckets()
```
-
-
-
-
-
## Notes
- Policy permissions required:
- - `buckets` permissions: `select`
+ - `buckets` permissions: `select`
- `objects` permissions: none
-
-
-
-
-
-
-
-
-
## Examples
### List buckets
-
-
```dart
final res = await supabase
.storage
.listBuckets()
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/storage-updatebucket.mdx b/apps/reference/_supabase_dart/generated/storage-updatebucket.mdx
index d82f458cee6..1388bec4699 100644
--- a/apps/reference/_supabase_dart/generated/storage-updatebucket.mdx
+++ b/apps/reference/_supabase_dart/generated/storage-updatebucket.mdx
@@ -1,50 +1,33 @@
---
id: storage-updatebucket
-title: "updateBucket()"
+title: 'updateBucket()'
slug: /storage-updatebucket
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Updates a new Storage bucket
-
```dart
final res = await supabase
.storage
.updateBucket('avatars', { public: false });
```
-
-
-
-
-
## Notes
- Policy permissions required:
- `buckets` permissions: `update`
- `objects` permissions: none
-
-
-
-
-
-
-
-
-
## Examples
### Update bucket
-
-
```dart
final res = await supabase
.storage
.updateBucket('avatars', { public: false });
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/stream.mdx b/apps/reference/_supabase_dart/generated/stream.mdx
index d17d98db1e2..f2d826666ee 100644
--- a/apps/reference/_supabase_dart/generated/stream.mdx
+++ b/apps/reference/_supabase_dart/generated/stream.mdx
@@ -1,16 +1,15 @@
---
id: stream
-title: "stream()"
+title: 'stream()'
slug: /stream
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Notifies of data at the queried table.
-
```dart
supabase
.from('countries')
@@ -18,31 +17,15 @@ supabase
.execute();
```
-
-
-
-
-
## Notes
- `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List<Map<String, dynamic>>` by combining Postgrest and Realtime.
- Takes a list of primary key columns as its argument.
-
-
-
-
-
-
-
-
-
## Examples
### Listening to a specific table
-
-
```dart
supabase
.from('countries')
@@ -55,7 +38,6 @@ supabase
You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match.
This syntax is the as how you can filter data in Realtime
-
```dart
supabase
.from('countries:id=eq.120')
@@ -65,8 +47,6 @@ supabase
### With `order()`
-
-
```dart
supabase
.from('countries')
@@ -77,8 +57,6 @@ supabase
### With `limit()`
-
-
```dart
supabase
.from('countries')
@@ -86,4 +64,4 @@ supabase
.order('name', ascending: false)
.limit(10)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/subscribe.mdx b/apps/reference/_supabase_dart/generated/subscribe.mdx
index b6fb9752ef0..b7efb44f989 100644
--- a/apps/reference/_supabase_dart/generated/subscribe.mdx
+++ b/apps/reference/_supabase_dart/generated/subscribe.mdx
@@ -1,16 +1,15 @@
---
id: subscribe
-title: "on().subscribe()"
+title: 'on().subscribe()'
slug: /subscribe
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Subscribe to realtime changes in your database.
-
```dart
final mySubscription = supabase
.from('countries')
@@ -20,31 +19,15 @@ final mySubscription = supabase
.subscribe();
```
-
-
-
-
-
## Notes
- Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).
- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`
-
-
-
-
-
-
-
-
-
## Examples
### Listen to all database changes
-
-
```dart
final mySubscription = supabase
.from('countries')
@@ -56,8 +39,6 @@ final mySubscription = supabase
### Listening to a specific table
-
-
```dart
final mySubscription = supabase
.from('countries')
@@ -69,8 +50,6 @@ final mySubscription = supabase
### Listening to inserts
-
-
```dart
final mySubscription = supabase
.from('countries')
@@ -82,14 +61,13 @@ final mySubscription = supabase
### Listening to updates
-By default, Supabase will send only the updated record. If you want to receive the previous values as well you can
-enable full replication for the table you are listening too:
+By default, Supabase will send only the updated record. If you want to receive the previous values as well you can
+enable full replication for the table you are listening too:
```sql
alter table "your_table" replica identity full;
```
-
```dart
final mySubscription = supabase
.from('countries')
@@ -101,14 +79,13 @@ final mySubscription = supabase
### Listening to deletes
-By default, Supabase does not send deleted records. If you want to receive the deleted record you can
-enable full replication for the table you are listening too:
+By default, Supabase does not send deleted records. If you want to receive the deleted record you can
+enable full replication for the table you are listening too:
```sql
alter table "your_table" replica identity full;
```
-
```dart
final mySubscription = supabase
.from('countries')
@@ -139,4 +116,4 @@ final mySubscription = supabase
.from('countries:id=eq.200')
.on(SupabaseEventTypes.update, handleRecordUpdated)
.subscribe();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/textsearch.mdx b/apps/reference/_supabase_dart/generated/textsearch.mdx
index ae48da214e9..6570dc7bac1 100644
--- a/apps/reference/_supabase_dart/generated/textsearch.mdx
+++ b/apps/reference/_supabase_dart/generated/textsearch.mdx
@@ -1,46 +1,25 @@
---
id: textsearch
-title: ".textSearch()"
+title: '.textSearch()'
slug: /textsearch
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Finds all rows whose tsvector value on the stated `column` matches to_tsquery(query).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Examples
### Text search
-
-
```dart
final res = await supabase
.from('quotes')
.select('catchphrase')
- .textSearch('catchphrase', "'fat' & 'cat'",
- config: 'english'
+ .textSearch('catchphrase', "'fat' & 'cat'",
+ config: 'english'
)
.execute();
```
@@ -53,9 +32,9 @@ Uses PostgreSQL's `plainto_tsquery` function.
final res = await supabase
.from('quotes')
.select('catchphrase')
- .textSearch('catchphrase', "'fat' & 'cat'",
+ .textSearch('catchphrase', "'fat' & 'cat'",
type: TextSearchType.plain,
- config: 'english'
+ config: 'english'
)
.execute();
```
@@ -68,17 +47,17 @@ Uses PostgreSQL's `phraseto_tsquery` function.
final res = await supabase
.from('quotes')
.select('catchphrase')
- .textSearch('catchphrase', "'fat' & 'cat'",
+ .textSearch('catchphrase', "'fat' & 'cat'",
type: TextSearchType.phrase,
- config: 'english'
+ config: 'english'
)
.execute();
```
### Full normalization
-Uses PostgreSQL's `websearch_to_tsquery` function.
-This function will never raise syntax errors, which makes it possible to use raw user-supplied input for search, and can be used
+Uses PostgreSQL's `websearch_to_tsquery` function.
+This function will never raise syntax errors, which makes it possible to use raw user-supplied input for search, and can be used
with advanced operators.
- `unquoted text`: text not inside quote marks will be converted to terms separated by & operators, as if processed by plainto_tsquery.
@@ -86,14 +65,13 @@ with advanced operators.
- `OR`: the word “or” will be converted to the | operator.
- `-`: a dash will be converted to the ! operator.
-
```dart
final res = await supabase
.from('quotes')
.select('catchphrase')
- .textSearch('catchphrase', "'fat or cat'",
+ .textSearch('catchphrase', "'fat or cat'",
type: TextSearchType.websearch,
config: 'english'
)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/update.mdx b/apps/reference/_supabase_dart/generated/update.mdx
index 2e856ca908a..d2f7bd7aceb 100644
--- a/apps/reference/_supabase_dart/generated/update.mdx
+++ b/apps/reference/_supabase_dart/generated/update.mdx
@@ -1,16 +1,15 @@
---
id: update
-title: "Modify data: update()"
+title: 'Modify data: update()'
slug: /update
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Performs an UPDATE on the table.
-
```dart
final res = await supabase
.from('cities')
@@ -19,30 +18,14 @@ final res = await supabase
.execute();
```
-
-
-
-
-
## Notes
- `update()` should always be combined with [Filters](/docs/reference/dart/using-filters) to target the item(s) you wish to update.
-
-
-
-
-
-
-
-
-
## Examples
### Updating your data
-
-
```dart
final res = await supabase
.from('cities')
@@ -53,21 +36,20 @@ final res = await supabase
### Updating JSON data
-Postgres offers a
-[number of operators](https://www.postgresql.org/docs/current/functions-json.html)
-for working with JSON data. Right now it is only possible to update an entire JSON document,
+Postgres offers a
+[number of operators](https://www.postgresql.org/docs/current/functions-json.html)
+for working with JSON data. Right now it is only possible to update an entire JSON document,
but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys.
-
```dart
final res = await supabase
.from('users')
.update({
- 'address': {
+ 'address': {
'street': 'Melrose Place',
'postcode': 90210
}
})
.eq('address->postcode', 90210)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/upsert.mdx b/apps/reference/_supabase_dart/generated/upsert.mdx
index 763c322e048..68ff80fc25f 100644
--- a/apps/reference/_supabase_dart/generated/upsert.mdx
+++ b/apps/reference/_supabase_dart/generated/upsert.mdx
@@ -1,16 +1,15 @@
---
id: upsert
-title: "Upsert data: upsert()"
+title: 'Upsert data: upsert()'
slug: /upsert
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
Performs an UPSERT into the table.
-
```dart
final res = await supabase
.from('messages')
@@ -18,31 +17,15 @@ final res = await supabase
.execute();
```
-
-
-
-
-
## Notes
-- Primary keys should be included in the data payload in order for an update to work correctly.
+- Primary keys should be included in the data payload in order for an update to work correctly.
- Primary keys must be natural, not surrogate. There are however, [workarounds](https://github.com/PostgREST/postgrest/issues/1118) for surrogate primary keys.
-
-
-
-
-
-
-
-
-
## Examples
### Upsert your data
-
-
```dart
final res = await supabase
.from('messages')
@@ -52,11 +35,10 @@ final res = await supabase
### Upserting into tables with constraints
-Running the following will cause supabase to upsert data into the `users` table.
-If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row
+Running the following will cause supabase to upsert data into the `users` table.
+If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row
based on the column passed into `onConflict`.
-
```dart
final res = await supabase
.from('users')
@@ -68,14 +50,13 @@ final res = await supabase
Allowed values for count option are `exact`, `planned` and `estimated`.
-
```dart
final res = await supabase
.from('users')
- .upsert({
+ .upsert({
'id': 3,
- 'message': 'foo',
- 'username': 'supabot'
+ 'message': 'foo',
+ 'username': 'supabot'
})
.execute(count: CountOption.exact);
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/using-filters.mdx b/apps/reference/_supabase_dart/generated/using-filters.mdx
index c66f7fe9d74..b021848b264 100644
--- a/apps/reference/_supabase_dart/generated/using-filters.mdx
+++ b/apps/reference/_supabase_dart/generated/using-filters.mdx
@@ -1,14 +1,14 @@
---
id: using-filters
-title: "Using Filters"
+title: 'Using Filters'
slug: /using-filters
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
-Filters can be used on `select()`, `update()`, and `delete()` queries.
+Filters can be used on `select()`, `update()`, and `delete()` queries.
If a Stored Procedure returns a table response, you can also apply filters.
@@ -41,4 +41,4 @@ final res = await supabase
.gte('population', 1000)
.lt('population', 10000)
.execute();
-```
\ No newline at end of file
+```
diff --git a/apps/reference/_supabase_dart/generated/using-modifiers.mdx b/apps/reference/_supabase_dart/generated/using-modifiers.mdx
index 8b34339d826..e52ca73e09f 100644
--- a/apps/reference/_supabase_dart/generated/using-modifiers.mdx
+++ b/apps/reference/_supabase_dart/generated/using-modifiers.mdx
@@ -1,13 +1,13 @@
---
id: using-modifiers
-title: "Using Modifiers"
+title: 'Using Modifiers'
slug: /using-modifiers
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase_dart_v1_ref.yml
---
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
+import Tabs from '@theme/Tabs'
+import TabItem from '@theme/TabItem'
-Modifiers can be used on `select()` queries.
+Modifiers can be used on `select()` queries.
-If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function.
\ No newline at end of file
+If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function.