Schemas, fields, endpoints, rules
Requires a platform JWT or PAT. Paths are under /api/projects/:projectId.
Schemas and fields
Section titled “Schemas and fields”| 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 |
Endpoints and rules
Section titled “Endpoints and rules”| 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 |
Project auth and data (admin)
Section titled “Project auth and data (admin)”| 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.