Menu
Public repository / cde39f7fb9753a1f6b6edfb47f624a948ea18b3d
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