Public API & Schema
This site documents the public Supabase REST API and the underlying Prisma schema used by GaiaLabs. All endpoints are powered by PostgREST with Row Level Security.
Base URL
https://adwobxutnpmjbmhdxrzx.supabase.co/rest/v1Authentication
Use the publishable anon key in both apikey and Authorization headers.
curl "https://adwobxutnpmjbmhdxrzx.supabase.co/rest/v1/Project" \
-H "apikey: sb_publishable_uBZdKmgGql5sDNGpj1DVMQ_opZ2V4kV" \
-H "Authorization: Bearer sb_publishable_uBZdKmgGql5sDNGpj1DVMQ_opZ2V4kV"Schema Models
Generated from the canonical Prisma schema at build-time.
Platform
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String | @unique |
| meta | Json? | |
| createdAt | DateTime | |
| updatedAt | DateTime | @updatedAt |
| branches | PlatformBranch[] |
PlatformBranch
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String? | |
| version | Int? | |
| isActive | Boolean? | |
| notes | String[] | |
| platform | Platform | @relation |
Developer
ViewRegion
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String | |
| meta | Json? | |
| platform | Platform | @relation |
| platformId | String | |
| createdAt | DateTime |
Game
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String | |
| meta | Json? | |
| platform | Platform | @relation |
| platformId | String | |
| developer | Developer? | @relation |
GameRom
ViewGameRomBranch
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String? | |
| version | Int? | |
| isActive | Boolean? | |
| notes | String[] | |
| gameRom | GameRom | @relation |
BaseRom
ViewBaseRomBranch
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String? | |
| version | Int? | |
| isActive | Boolean? | |
| notes | String[] | |
| baseRom | BaseRom | @relation |
BaseRomFile
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String | |
| type | String | |
| version | Int? | |
| crc | Int? | |
| meta | Json? |
Project
ViewProjectBranch
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String? | |
| version | Int? | |
| isActive | Boolean? | |
| notes | String[] | |
| project | Project | @relation |
ProjectFile
View| Field | Type | Attributes |
|---|---|---|
| id | String | @id |
| name | String | |
| type | String | |
| module | String? | |
| version | Int? | |
| crc | Int? |
Filtering & Embedding
Endpoints support PostgREST filtering (e.g. ?select=*,Game(*), ?name=eq.Illusion%20of%20Gaia%3A%20Retranslated), ordering (&order=updatedAt.desc), and pagination (&limit=20&offset=0).
curl "https://adwobxutnpmjbmhdxrzx.supabase.co/rest/v1/Project?select=*&order=updatedAt.desc" \
-H "apikey: sb_publishable_uBZdKmgGql5sDNGpj1DVMQ_opZ2V4kV" \
-H "Authorization: Bearer sb_publishable_uBZdKmgGql5sDNGpj1DVMQ_opZ2V4kV"