Skip to content

Schemas, fields, endpoints, rules

Requires a platform JWT or PAT. Paths are under /api/projects/:projectId.

Method Path Description
GET/POST /schemas List / create tables
GET/PUT/DELETE /schemas/:schemaId Manage a schema
GET/POST /schemas/:schemaId/fields List / create fields
PUT/DELETE /schemas/:schemaId/fields/:fieldId Update / delete field
POST /schemas/:schemaId/fields/reorder Reorder fields
GET /export/models Export Dart models
Method Path Description
GET/POST /schemas/:schemaId/endpoints List / create endpoint configs
PUT/DELETE /schemas/:schemaId/endpoints/:endpointId Toggle / delete
GET/POST /endpoints/:endpointId/rules List / create rules
PUT/DELETE /endpoints/:endpointId/rules/:ruleId Update / delete
POST /endpoints/:endpointId/rules/reorder Reorder
Method Path Description
POST /auth/toggle Enable/disable end-user auth
POST /users/:userId/token Mint a project-user JWT
GET/POST /files Project file metadata (list)
POST /query Execute a WidgetQuery

Table row admin (console data browser) uses dedicated table-data routes on the admin SDK (tableData), not the public /api/p client SDK.

See Collections, Endpoints, Access rules.