Files
supabase/apps/studio/components/interfaces/Docs/Pages/Rpc/Introduction.tsx
T
Charis f7bf7d7ce4 feat(studio): move data api docs to integrations section (#42749)
Feature / Refactor

## What is the current behavior?

Data API docs live at the `/api` route as a standalone page. Old links
point to the previous location.

## What is the new behavior?

Data API docs are moved to the integrations section with a dedicated
docs tab and settings tab. Old links are cleaned up, a mobile menu is
added for data API docs navigation, and minor code review fixes are
applied.

## Additional context

Resolves FE-2517

## Summary by CodeRabbit

* **New Features**
* Revamped API docs UI with reusable section layout, language toggle
(JS/Bash), API key selection, and improved code snippets
* Added Data API docs tab, mobile navigation, and dedicated
loading/error/disabled states

* **Navigation Updates**
* Moved API docs and related links into the Integrations/Data API area
and added redirects to new routes
* Updated various internal links to the new Data API settings and
overview locations

* **Tests**
  * Added comprehensive unit tests for Data API utilities
2026-02-12 15:57:44 -05:00

21 lines
524 B
TypeScript

import { DocSection } from '../../DocSection'
const Introduction = () => {
return (
<DocSection
title="Introduction"
content={
<>
<p>
All of your database stored procedures are available on your API. This means you can
build your logic directly into the database (if you're brave enough)!
</p>
<p>The API endpoint supports POST (and in some cases GET) to execute the function.</p>
</>
}
/>
)
}
export default Introduction