diff --git a/web/docs/guides/api.mdx b/web/docs/guides/api.mdx index db384d24496..b70474c2128 100644 --- a/web/docs/guides/api.mdx +++ b/web/docs/guides/api.mdx @@ -271,4 +271,4 @@ alter table todos enable row level security; #### Details and links: - Your API is designed to work with Postgres Row Level Security. If you use Supabase [Auth](/docs/guides/auth), you can restrict data based on the logged-in user. -- To control access to your data, you can use [Policies](/docs/guides/auth#policies). \ No newline at end of file +- To control access to your data, you can use [Policies](/docs/guides/auth#policies). diff --git a/web/docs/guides/storage.mdx b/web/docs/guides/storage.mdx index 9f8c91c63bf..c6e29eddf4f 100644 --- a/web/docs/guides/storage.mdx +++ b/web/docs/guides/storage.mdx @@ -8,7 +8,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -## Storage +## Overview Supabase Storage makes it simple to store and serve large files. diff --git a/web/sidebars.js b/web/sidebars.js index 9907e797dc7..ec9f6644e21 100755 --- a/web/sidebars.js +++ b/web/sidebars.js @@ -73,6 +73,7 @@ module.exports = { 'guides/database', 'guides/auth', 'guides/storage', + 'guides/api', 'guides/client-libraries', 'guides/local-development', 'guides/self-hosting', diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index 926dacefe8c..64eebd15940 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -688,6 +688,7 @@ pages: title: 'on().subscribe()' $ref: '@supabase/supabase-js."lib/SupabaseQueryBuilder".SupabaseQueryBuilder.on' 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: - name: Listen to all database changes diff --git a/web/static/videos/api/api-create-table-sm.mp4 b/web/static/videos/api/api-create-table-sm.mp4 new file mode 100644 index 00000000000..c912366145a Binary files /dev/null and b/web/static/videos/api/api-create-table-sm.mp4 differ diff --git a/web/static/videos/api/api-create-table.mp4 b/web/static/videos/api/api-create-table.mp4 new file mode 100644 index 00000000000..326cd448e5f Binary files /dev/null and b/web/static/videos/api/api-create-table.mp4 differ diff --git a/web/static/videos/api/api-realtime.mp4 b/web/static/videos/api/api-realtime.mp4 new file mode 100644 index 00000000000..6b91ae1955d Binary files /dev/null and b/web/static/videos/api/api-realtime.mp4 differ diff --git a/web/static/videos/api/api-url-and-key.mp4 b/web/static/videos/api/api-url-and-key.mp4 new file mode 100644 index 00000000000..7a5628f7211 Binary files /dev/null and b/web/static/videos/api/api-url-and-key.mp4 differ