Skip to content

API: Content

Public read routes: the roll, the standard, posts, galleries and people.

Every HTML route returns JSON with Accept: application/json. Authentication: session cookie, X-API-KEY, Authorization: Bearer or Basic.

GET/guest
Home

Latest posts and the featured flyer.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/'
GET/rollguest
The roll

Published notes in the roll topic, newest first, cursor paginated.

FieldTypeLocationRequired
beforestringqueryno
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/roll'
GET/standardguest
The standard

Published posts in the standard topic.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/standard'
GET/posts/{slug}guest
Post

A published post by slug or uid. Old slugs redirect with 301 to the canonical slug.

FieldTypeLocationRequired
slugstringpathyes
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/posts/a-pass-is-not-an-ambition'
GET/flyersguest
Flyers

Flyer gallery.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/flyers'
GET/memesguest
Memes

Meme gallery.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/memes'
GET/peopleguest
People

People on the roll.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/people'
GET/people/{username}guest
Person

Profile with posts.

FieldTypeLocationRequired
usernamestringpathyes
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/people/retoor'
GET/robots.txtguest
robots.txt
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/robots.txt'
GET/sitemap.xmlguest
Sitemap
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/sitemap.xml'
GET/avatar/svg/{seed}guest
Avatar

Deterministic SVG avatar.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/avatar/svg/{seed}'
GET/healthguest
Health

Liveness and version.

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/health'
GET/presence/rosterguest
Presence

Online set (uids).

curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/presence/roster'
11.2ms