Record shape
In API responses, a record is a flat JSON object: system fields plus one key per field.Operations
See the API reference for request details.
Create
- Keys must match field names. Unknown keys are ignored.
- You can also send the system fields
slugandpublished_at. - The response is
201 Createdwith{ "data": { ... } }. - When a signed-in end user creates a record, they become its owner. Row policies of type
owneruse this.
Update
Updates are partial:Prevent lost updates
Each record has aversion that increases on every change. Send the version you loaded, in the body or in an If-Match header. If someone else changed the record in the meantime, Bludia returns 409 Conflict and saves nothing.
Delete, trash, and restore
DELETE moves a record to the trash (soft delete). It disappears from lists and lookups but can be restored from the dashboard. List responses report the trash size in meta.trashed. From the trash you can restore records or delete them permanently.
History
Every change to a record is recorded. Open a record in the dashboard and select History to see what changed, when, and by whom.Hooks and records
Writes trigger hooks:beforeInsert/afterInsert on create, beforeUpdate/afterUpdate on update, and beforeDelete/afterDelete on delete. A before hook can change the record or reject the write.