Middle-earth API

Welcome to the Middle-earth API

A fictional, LOTR inspired API that demonstrates how Mordoc renders OpenAPI specifications.

1 MIN READ

This site is a demo of Mordoc's API reference rendering. The API is fictional and inspired by Middle-earth. Every operation page is generated at build time from an OpenAPI 3.1 spec, then enriched with prose written in Markdown.

What's in here

APIWhat it coversFeatures on show
FellowshipMembers, fellowships, questsQuery parameters, pagination, oneOf, recursive schema, deprecated operation
Rings of PowerForging, bearing and destroying ringsConditional fields, badges, authored examples, response-scoped notes
Middle-earth WatchBeacons, routes, sightingsWebhooks, array query parameters, allOf, spec and authored examples

Base URL

https://api.middle-earth.example/v3

Use the sandbox at https://sandbox.middle-earth.example/v3 while you experiment. None of these servers exist.