The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: fix broken links (#26711)
Francesco Sansalvadore511e7c728cd4
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex fa6f42975bc..072c95699b6 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -1011,27 +1011,27 @@ export const api: NavMenuConstant = {items: [{name: 'Managing tables, views, and data',- url: '/guides/api/data-apis#managing-tables-views-and-data',+ url: '/guides/database/tables',},{name: 'Querying joins and nested tables',- url: '/guides/api/data-apis#querying-joins-and-nested-tables',+ url: '/guides/database/joins-and-nesting',},{name: 'JSON and unstructured data',- url: '/guides/api/data-apis#json-and-unstructured-data',+ url: '/guides/database/json',},{name: 'Managing database functions',- url: '/guides/api/data-apis#managing-database-functions',+ url: '/guides/database/functions',},{name: 'Using full-text search',- url: '/guides/api/data-apis#using-full-text-search',+ url: '/guides/database/full-text-search',},{name: 'Debugging performance issues',- url: '/guides/api/data-apis#debugging-performance-issues',+ url: '/guides/database/debugging-performance',},{name: 'Using custom schemas',diff --git a/apps/docs/content/guides/api/data-apis.mdx b/apps/docs/content/guides/api/data-apis.mdxdeleted file mode 100644index 3599fe7ad50..00000000000--- a/apps/docs/content/guides/api/data-apis.mdx+++ /dev/null@@ -1,32 +0,0 @@-----id: 'data-apis'-title: 'Working with the Data APIs'-subtitle: 'Perform database operations using REST API calls'------Supabase's auto-generated Data APIs let you perform operations on your database using REST API calls. You can read, write, and delete data, and even call functions, without writing an intermediate layer to translate between your app and Postgres.--## How to use the data APIs--The Data APIs are auto-generated HTTP REST endpoints. You can call them in the same way as any HTTP endpoint, for example, using `curl` from the command line or `fetch` from the browser. For convenience, you can use the Supabase client libraries. The client libraries perform the HTTP call for you, while also handling authentication, parsing responses, and maintaining type safety.--For examples of how to perform common database operations, see the Database section:--- <Link href="/guides/database/tables" id="managing-tables-views-and-data">- Managing tables, views, and data- </Link>-- <Link href="/guides/database/joins-and-nesting" id="querying-joins-and-nested-tables">- Querying joins and nested tables- </Link>-- <Link href="/guides/database/json" id="json-and-unstructured-data">- JSON and unstructured data- </Link>-- <Link href="/guides/database/functions" id="managing-database-functions">- Managing database functions- </Link>-- <Link href="/guides/database/full-text-search" id="using-full-text-search">- Using full-text search- </Link>-- <Link href="/guides/database/debugging-performance" id="debugging-performance-issues">- Debugging performance issues- </Link>diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex b922922bdb9..5e0387599c6 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -2533,4 +2533,9 @@ module.exports = [source: '/docs/guides/auth/server-side/oauth-with-pkce-flow-for-ssr',destination: '/docs/guides/auth/server-side',},+ {+ permanent: true,+ source: '/docs/guides/api/data-apis',+ destination: '/docs/guides/api',+ },]