Velora CMS Developers

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#

  1. Velora decides every address. Your front end never builds a URL for content. It asks /resolve what lives at the requested path and renders that, redirects, or answers 404. Links use the path that every answer carries.
  2. 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.
  3. Drafts open through signed preview links, which your front end checks before it shows anything. See Previews.
  4. 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#

This page as markdown: https://developers.velora.build/index.md