Navigation

revengine-api

REST API powered by JXP — define Mongoose schemas, get a full API with auth, permissions, and smart queries.

Quick start

Authenticate with an API key header:

curl -H "X-API-Key: YOUR_KEY" \
  "http://api.revengine.dailymaverick.co.za/api/MODEL?limit=5"

After signing in, your API key is filled in automatically for Try it panels on API resource pages.

MCP (Model Context Protocol)

Enable MCP_ENABLED=true to expose five fixed read-only tools (jxp_list_models, jxp_find, …) for AI clients and a built-in docs playground.

Read MCP docs

Features

Auth built in

API keys, tokens, and password encryption without extra wiring.

Smart population

Load linked documents with URL-driven populate parameters.

Powerful queries

Search, sort, filter, field selection, and limits on GET requests.

Schema-driven

Add or change models by editing Mongoose schemas — the API updates automatically.

Permissions

Per-model CRUD rules by user group, owner, and admin.

Hooks & logic

pre/post hooks and custom handlers for business rules.

MCP for AI agents

Read-only Model Context Protocol tools on the same port — use with Cursor, LM Studio, or the built-in playground.

Links