GET
/health
curl https://api.wsamiaw.com/health
The routes below need no account and no token — you can call them straight from curl. Everything else on the API host requires a Bearer token.
https://api.wsamiaw.com
/health
curl https://api.wsamiaw.com/health
/auth/captcha
curl https://api.wsamiaw.com/auth/captcha
/stats/online
curl https://api.wsamiaw.com/stats/online
/configs/list
curl https://api.wsamiaw.com/configs/list
/configs/{name}
curl https://api.wsamiaw.com/configs/default
/configs/catalog
curl https://api.wsamiaw.com/configs/catalog
/scripts/catalog
curl https://api.wsamiaw.com/scripts/catalog
/client/push
curl -X POST https://api.wsamiaw.com/client/push \
-H "authorization: Bearer $TOKEN" -H "content-type: application/json" \
-d '{"type":"theme","name":"midnight"}'
/client/pushes
curl https://api.wsamiaw.com/client/pushes \ -H "authorization: Bearer $TOKEN"
/client/pushes/ack
curl -X POST https://api.wsamiaw.com/client/pushes/ack \
-H "authorization: Bearer $TOKEN" -H "content-type: application/json" \
-d '{"type":"theme","name":"midnight"}'
/themes/catalog
curl https://api.wsamiaw.com/themes/catalog
/themes/item/{name}
curl https://api.wsamiaw.com/themes/item/midnight
/forum/boards
curl "https://api.wsamiaw.com/forum/boards?limit=10"
/forum/threads
curl "https://api.wsamiaw.com/forum/threads?category=general&limit=20"
/forum/threads/{id}
curl https://api.wsamiaw.com/forum/threads/1
/blog/posts
curl "https://api.wsamiaw.com/blog/posts?limit=5"
/blog/posts/{slug}
curl https://api.wsamiaw.com/blog/posts/hello-world
/polar/orders/{id}
curl https://api.wsamiaw.com/polar/orders/01HQ7X3M2K9P4R