Menu
Public repository / fee5b6c2cde89fa6bf8dc51068af7336b56a88b8
AkurAI-Framework / site/backend/collections.toml
Latest change 4cc6de08579edc5b304241d20812604cee60ee8f - site: add demo posts collection so the live auto-API is hittable (/api/collections/posts) by Ólafur Búi Ólafsson
# Live demo collection for the framework's own site. # Declaring a collection here is all it takes — the server mounts a full REST API # at /api/collections/posts/records (list, create, read, update, delete + ?search). # See /docs/auto-api. (This is a public demo endpoint, mirroring the /guestbook.) [[collection]] name = "posts" [[collection.field]] name = "title" type = "text" required = true [[collection.field]] name = "body" type = "text" embed = true # marked for semantic search when an embeddings endpoint is set