CMS Platform

Data access

You own your data. Access via admin UI and REST Data API — no direct Postgres connection.

  • View and edit records in the platform Database UI
  • Export CSV per table or full JSON dump
  • Scoped Data API tokens (read/write per table)

Assets (MinIO)

Upload images and PDFs for component props marked as asset in the builder inspector.

POST /api/v1/projects/<projectId>/assets
Content-Type: multipart/form-data
file: <binary>

→ { "asset": { "url", "key", "filename", "contentType", "size" } }

GET /api/v1/assets/<projectId>/<assetId>/<filename>  (public)

Public Data API

After creating a token in Project → Database → API tokens:

Authorization: Bearer <your-token>
GET    /api/v1/sites/<slug>/data/tables
GET    /api/v1/sites/<slug>/data/tables/Product
POST   /api/v1/sites/<slug>/data/tables/Product
PATCH  /api/v1/sites/<slug>/data/tables/Product/<id>
DELETE /api/v1/sites/<slug>/data/tables/Product/<id>