Database & Schema










RLS










API / Function / Edge Function









For Edge Functions









Documentation










Testing











Storage — If Files Are Involved






The Core Question
Who is calling this?
What are they allowed to access?
How does the database enforce that?
What exact payload is allowed?
What exact error is returned when something fails?
What should frontend do in every case?

If any answer is unclear, the API is not production-ready.