The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Generates some config for the storage server
Copplef3629b5ecb12
diff --git a/apps/reference/_storage/config.mdx b/apps/reference/_storage/config.mdxdeleted file mode 100644index 4c7e3262d34..00000000000--- a/apps/reference/_storage/config.mdx+++ /dev/null@@ -1,10 +0,0 @@-----id: config-title: Configuration------<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->--A `config.toml` file is generated after running `supabase init`.--This file is located in the `supabase` folder under `supabase/config.toml`.diff --git a/apps/reference/_storage/generated/config.mdx b/apps/reference/_storage/generated/config.mdxnew file mode 100644index 00000000000..41f381a3a79--- /dev/null+++ b/apps/reference/_storage/generated/config.mdx@@ -0,0 +1,264 @@+---+id: config+slug: /config+title: Configuration+toc_max_heading_level: 2+---++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++A sample `.env` file is located in the [storage repository](https://github.com/supabase/storage-api/blob/master/.env.sample).++Use this file to configure your environment variables for your Storage server.+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++## General++++### `ANON_KEY`++A long-lived JWT with anonymous Postgres privileges.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `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>+</ul>++<br />+++### `TENANT_ID`++The ID of a Storage tenant.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `REGION`++Region of your S3 bucket.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `GLOBAL_S3_BUCKET`++Name of your S3 bucket.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `POSTGREST_URL`++The URL of your PostgREST server.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `PGRST_JWT_SECRET`++A JWT Secret for the PostgREST database.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `DATABASE_URL`++The URL of your Postgres database.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `PGOPTIONS`++Additional configuration parameters for Postgres startup.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `FILE_SIZE_LIMIT`++The maximum file size allowed.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `STORAGE_BACKEND`++The storage provider.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `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>+</ul>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->++## Multi-tenant++++### `IS_MULTITENANT`++Operate across multiple tenants.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `MULTITENANT_DATABASE_URL`++The URL of the multitenant Postgres database.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `X_FORWARDED_HOST_REGEXP`++TBD.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `POSTGREST_URL_SUFFIX`++The suffix for the PostgREST instance.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `ADMIN_API_KEYS`++Secure API key for administrative endpoints.+++<ul>+<li>Required: <code>true</code></li>+<li>Default: <code>None</code></li>+</ul>++<br />+++### `ENCRYPTION_KEY`++An key for encryting/decrypting secrets.+++<ul>+<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.mdxnew file mode 100644index 00000000000..a2deca3761a--- /dev/null+++ b/apps/reference/_storage/generated/usage.mdx@@ -0,0 +1,1894 @@+---+id: usage+slug: /usage+title: Usage+toc_max_heading_level: 3+---++import Tabs from '@theme/Tabs';+import TabItem from '@theme/TabItem';+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++API documentation for Supabase Storage+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Create a bucket {#create-a-bucket}++```+POST+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Gets all buckets {#gets-all-buckets}++```+GET+```++<!-- 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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Empty a bucket {#empty-a-bucket}++```+POST+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Get details of a bucket {#get-details-of-a-bucket}++```+GET+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Update properties of a bucket {#update-properties-of-a-bucket}++```+PUT+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Delete a bucket {#delete-a-bucket}++```+DELETE+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Delete an object {#delete-an-object}++```+DELETE+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<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}++```+GET+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<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}++```+PUT+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Upload a new object {#upload-a-new-object}++```+POST+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Delete multiple objects {#delete-multiple-objects}++```+DELETE+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Retrieve an object {#retrieve-an-object}++```+GET+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<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}++```+POST+```++<!-- 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>+</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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<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}++```+GET+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Generate presigned urls to retrieve objects {#generate-presigned-urls-to-retrieve-objects}++```+POST+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Moves an object {#moves-an-object}++```+POST+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Search for objects under a prefix {#search-for-objects-under-a-prefix}++```+POST+```++<!-- 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>+</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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++## Copies an object {#copies-an-object}++```+POST+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="200">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<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}++```+GET+```++<!-- 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>+</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>+</li>++</ul>+++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++### Responses++<Tabs>++<TabItem value="400">++Default Response++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++++<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->++</TabItem>++</Tabs>++<br />+diff --git a/apps/reference/_storage/intro.mdx b/apps/reference/_storage/intro.mdxindex 7e9de6cd7a2..9119cd01cbc 100644--- a/apps/reference/_storage/intro.mdx+++ b/apps/reference/_storage/intro.mdx@@ -6,4 +6,25 @@ sidebar_label: Storage Server# Supabase Storage Server-Some docs+An S3 compatible object storage service that integrates with Postgres.++- Uses Postgres as it's datastore for storing metadata+- Authorization rules are written as Postgres Row Level Security policies+- Integrates with S3 as the storage backend (with more in the pipeline!)+- Extremely lightweight and performant++Read [this post](https://supabase.com/blog/supabase-storage) on why we decided to build a new object storage service.++## Code++[GitHub](https://github.com/supabase/storage-api)++## Client libraries++- [JavaScript](https://github.com/supabase/storage-js)+- [Dart](https://github.com/supabase/dart-js)++## Additional Documentation++- [Storage Guides](https://supabase.com/docs/guides/storage)+- [OpenAPI Docs](https://supabase.github.io/storage-api/#/)diff --git a/apps/reference/_storage/usage.mdx b/apps/reference/_storage/usage.mdxdeleted file mode 100644index 1aaafa5d463..00000000000--- a/apps/reference/_storage/usage.mdx+++ /dev/null@@ -1,552 +0,0 @@-----id: usage-title: Usage-toc_max_heading_level: 2------import Tabs from '@theme/Tabs'-import TabItem from '@theme/TabItem'--<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->--API documentation for Supabase Storage--<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->--## Create a bucket {#create-a-bucket}--```-/bucket/-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Gets all buckets {#gets-all-buckets}--```-/bucket/-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Empty a bucket {#empty-a-bucket}--```-/bucket/{bucketId}/empty-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Get details of a bucket {#get-details-of-a-bucket}--```-/bucket/{bucketId}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Update properties of a bucket {#update-properties-of-a-bucket}--```-/bucket/{bucketId}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Delete a bucket {#delete-a-bucket}--```-/bucket/{bucketId}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Delete an object {#delete-an-object}--```-/object/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Deprecated (use GET /object/authenticated/{bucketName} instead): Retrieve an object {#deprecated-use-get-objectauthenticatedbucketname-instead-retrieve-an-object}--```-/object/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Update the object at an existing key {#update-the-object-at-an-existing-key}--```-/object/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Upload a new object {#upload-a-new-object}--```-/object/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Delete multiple objects {#delete-multiple-objects}--```-/object/{bucketName}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Retrieve an object {#retrieve-an-object}--```-/object/authenticated/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Generate a presigned url to retrieve an object {#generate-a-presigned-url-to-retrieve-an-object}--```-/object/sign/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Retrieve an object via a presigned URL {#retrieve-an-object-via-a-presigned-url}--```-/object/sign/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Generate presigned urls to retrieve objects {#generate-presigned-urls-to-retrieve-objects}--```-/object/sign/{bucketName}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Moves an object {#moves-an-object}--```-/object/move-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Search for objects under a prefix {#search-for-objects-under-a-prefix}--```-/object/list/{bucketName}-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Copies an object {#copies-an-object}--```-/object/copy-```--### Responses--<Tabs>--<TabItem value="200">--```-200-```--</TabItem>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />--## Retrieve an object from a public bucket {#retrieve-an-object-from-a-public-bucket}--```-/object/public/{bucketName}/{wildcard}-```--### Responses--<Tabs>--<TabItem value="400">--```-400-```--</TabItem>--</Tabs>--<br />diff --git a/apps/reference/nav/storage_sidebars.js b/apps/reference/nav/storage_sidebars.jsindex d7f8f4381f9..e98453e4e80 100644--- a/apps/reference/nav/storage_sidebars.js+++ b/apps/reference/nav/storage_sidebars.js@@ -18,8 +18,8 @@ const sidebars = {sidebar: ['intro',- 'usage',- 'config',+ 'generated/usage',+ 'generated/config','release-notes',// {// type: "category",diff --git a/packages/spec/package.json b/packages/spec/package.jsonindex bb5ab2bb8f5..f087f691140 100644--- a/packages/spec/package.json+++ b/packages/spec/package.json@@ -13,8 +13,9 @@"cli:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/cli_v1_config.yaml --output ../../apps/reference/_cli/config.mdx","gotrue:gen": "npm run gotrue:gen:config","gotrue:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/gotrue_v1_config.yaml --output ../../apps/reference/_gotrue/config.mdx",- "storage:gen": "npm run storage:gen:api",- "storage:gen:api": "ts-node ./index.ts gen --type api --input ../../spec/storage_v0_openapi.json --output ../../apps/reference/_storage/usage.mdx",+ "storage:gen": "npm run storage:gen:api && npm run storage:gen:config",+ "storage:gen:api": "ts-node ./index.ts gen --type api --input ../../spec/storage_v0_openapi.json --output ../../apps/reference/_storage/generated/usage.mdx",+ "storage:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/storage_v1_config.yaml --output ../../apps/reference/_storage/generated/config.mdx","supabase-js:gen": "npm run supabase-js:gen:sdk","supabase-js:gen:sdk": "ts-node ./index.ts gen --type sdk --input ../../spec/supabase_js_v1_sdk.yaml --output ../../apps/reference/_supabase_js/usage.mdx","supabase-dart:gen": "npm run supabase-dart:gen:sdk",diff --git a/packages/spec/src/docs/config.ts b/packages/spec/src/docs/config.tsindex 8807bcf1317..7b9fc91f262 100644--- a/packages/spec/src/docs/config.ts+++ b/packages/spec/src/docs/config.ts@@ -11,18 +11,6 @@ type Section = {id: stringtitle: string}-type Layout = 'cli' | 'gotrue'-const layout: { cli: Section[]; gotrue: [] } = {- cli: [- { id: 'general', title: 'General' },- { id: 'api', title: 'API' },- { id: 'database', title: 'Database' },- { id: 'dashboard', title: 'Dashboard' },- { id: 'local', title: 'Local Development' },- { id: 'auth', title: 'Auth' },- ],- gotrue: [],-}export default async function gen(inputFileName: string, outputDir: string) {const spec = yaml.load(fs.readFileSync(inputFileName, 'utf8'))@@ -43,8 +31,7 @@ export default async function gen(inputFileName: string, outputDir: string) {* Versioned Generator*/async function gen_v001(spec: ConfigSpec, dest: string) {- const layoutId: Layout = spec.info.id as Layout- const specLayout = layout[layoutId]+ const specLayout = spec.info.tagsconst sections = specLayout.map((section: Section) => {const parameters = spec.parameters.filter((parameter) => parameter.tags[0] === section.iddiff --git a/packages/spec/src/docs/templates/ApiTemplate.ts b/packages/spec/src/docs/templates/ApiTemplate.tsindex d25135c64c7..76b9116bc2c 100644--- a/packages/spec/src/docs/templates/ApiTemplate.ts+++ b/packages/spec/src/docs/templates/ApiTemplate.ts@@ -1,6 +1,7 @@const template = `---id: usage+slug: /usagetitle: Usagetoc_max_heading_level: 3---diff --git a/packages/spec/src/docs/templates/CliTemplate.ts b/packages/spec/src/docs/templates/CliTemplate.tsindex a381679955e..09ba45de3be 100644--- a/packages/spec/src/docs/templates/CliTemplate.ts+++ b/packages/spec/src/docs/templates/CliTemplate.ts@@ -1,6 +1,7 @@const template = `---id: usage+slug /usagetitle: Usagetoc_max_heading_level: 3---diff --git a/packages/spec/src/docs/templates/ConfigTemplate.ts b/packages/spec/src/docs/templates/ConfigTemplate.tsindex 9a4029a1f58..cac6b198c62 100644--- a/packages/spec/src/docs/templates/ConfigTemplate.ts+++ b/packages/spec/src/docs/templates/ConfigTemplate.ts@@ -1,6 +1,7 @@const template = `---id: config+slug: /configtitle: Configurationtoc_max_heading_level: 2---diff --git a/packages/spec/src/types/ConfigSpec.ts b/packages/spec/src/types/ConfigSpec.tsindex 6716ccbdf08..6981b9b4e22 100644--- a/packages/spec/src/types/ConfigSpec.ts+++ b/packages/spec/src/types/ConfigSpec.ts@@ -1,6 +1,12 @@import { SpecLink } from './Spec'import { Url } from 'url'+export type Tag = {+ id: string+ title: string+ description?: string+}+export type ConfigInfo = {id: stringversion: string@@ -9,6 +15,7 @@ export type ConfigInfo = {bugs: Urlspec: Urldescription: string+ tags: Tag[]}export type ConfigParameter = {