Documents
Write and keep documents in Doco: specs, plans, notes, anything a page says best, in Markdown, searchable alongside your other knowledge.
Create this collectionThe policies it ships with
People and their agents follow these when they record in a collection made from this template. Its owners can change them.
- Only References belong in a Documents collection: each document is one Reference whose prose is the document.
- A document's prose is the document: its first line is the title, the rest its body in Markdown. Read one at `GET /<handle>/api/references/<id>.json`, create one with `POST /<handle>/api/references.json` `{prose}`, change one with `PATCH /<handle>/api/references/<id>.json` `{prose}`.
- Keep one document per subject. When a document replaces another, retire the old one and link the new one to it with `replaces`; link a document to the decisions, rules and intents it explains with `relates_to`.