Skip to content

API: Join

Sign up to write along. Stored for administrators, never public.

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

GET/joinguest
Join form
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/join'
POST/joinguest
I'm in

Stores a join request: name, contact and an optional repo link.

FieldTypeLocationRequired
namestringbodyyes
contactstringbodyyes
repo_urlstringbodyno
messagestringbodyno
curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"name": "Probe", "contact": "probe@example.com"}' 'http://staging.app.molodetz.nl/join'
GET/invite/{token}guest
Invite claim form

Shows the claim form for a live invite; unknown, used and expired links answer 404 with the same message.

FieldTypeLocationRequired
tokenstringpathyes
curl -X GET -H 'Accept: application/json' 'http://staging.app.molodetz.nl/invite/unknown-token'
POST/invite/{token}guest
Claim invite

Creates the Member account, logs in and marks the join request accepted. Single use.

FieldTypeLocationRequired
tokenstringpathyes
usernamestringbodyyes
emailstringbodyyes
passwordstringbodyyes
password_confirmstringbodyyes
termsbooleanbodyyes
curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"username": "Probe", "email": "probe@example.com", "password": "probe-pass-1", "password_confirm": "probe-pass-1", "terms": true}' 'http://staging.app.molodetz.nl/invite/unknown-token'
23.0ms