Hypercube

API

The HTTP endpoints a cube is served on.

All endpoints are GET and return JSON errors ({ "error": "…" }) with status 404 for unknown ids and 422 when a page fails to render.

Endpoints require an API key: create one in the console under API Keys and send it in the x-api-key header.

GET /c/:cube

The cube's entry page as markdown. :cube is the cube's id, shown in the console.

GET /c/:cube/:page

A specific page of the cube, by slug.

On this page