Lorewizard iconLorewizard/API documentation

Overview

What is Lorewizard?

Worldbuilding and structured lore on Cloudflare Workers and D1, with a server-rendered admin UI and a JSON REST API under /api/v1. Use the sidebar to navigate authentication notes and individual resource pages.

Cloudflare WorkersD1 (SQLite)HonoTypeScriptVite

API resources

Each link below opens the resource documentation page. REST clients that send Authorization: Bearer <token> receive JSON instead.

OpenAPI specification

The full contract is served at /openapi.yaml and covers all endpoints, query parameters, request bodies, and response schemas.

base url https://<your-worker-host>/api/v1
security bearerAuth

Load the YAML into Swagger Editor for interactive exploration.