Velora CMS for developers#
Velora CMS hosts a publication's content: articles, pages, sections, writers and entities (the riders, teams, products or places a site covers). Velora writes and publishes the content. Your front end reads what is published from the delivery API and renders it.
These docs cover everything a front end needs. Each rule is stated in full here, so you can build from these pages alone.
How a front end works with Velora#
- Velora decides every address. Your front end never builds a URL for content. It asks
/resolvewhat lives at the requested path and renders that, redirects, or answers 404. Links use thepaththat every answer carries. - Every read is cached until Velora says it changed. When content changes, Velora sends a signed webhook naming exactly the requests whose answers changed. Your front end drops those and keeps everything else. See Caching and the revalidate webhook.
- Drafts open through signed preview links, which your front end checks before it shows anything. See Previews.
- Article bodies are structured. They arrive as Portable Text, with HTML and markdown as alternatives, and with typed blocks you can extend with your own. See Article bodies and blocks.
Start here#
| Page | What it covers |
|---|---|
| Connect | The delivery URL, read key and webhook secret, and how to call the API |
| Routing | /resolve, redirects, 404s, listing pages, and addresses kept for your front end |
| Caching | Naming each read, the revalidate webhook and its signature |
| Previews | Signed preview links and the preview read |
| Content | The site, front page, listings, paging, articles, details and entities |
| Article bodies and blocks | Portable Text, preset and site blocks, /velora/blocks.json, images |
| Sitemaps, feeds and llms.txt | What to serve for search engines, feed readers and AI agents |
| Deploy order | What to do in Velora and what to deploy, in which order |
| API reference | Every route and type, generated from the API |
A first request#
curl -H "Authorization: Bearer $VELORA_READ_KEY" \
"https://delivery.velora.build/$SITE_ID/resolve?path=/"
For AI agents#
- Every page here is markdown at its address plus
.md, for example/routing.md. The overview is/index.md. /llms.txtlists every page with what it covers./llms-full.txtis every page in one file./openapi.jsonis the delivery API alone, withhttps://delivery.velora.buildas its server. It is generated from the API's routes on every publish. Generate your client's types from it.
This page as markdown: https://developers.velora.build/index.md