Health check
GET
/api/healthz
curl \
--request GET 'http://localhost:8080/api/healthz'
http://localhost:8080
API for Silly Server with chirping and authentication functionality.
This is version 1.0.0 of this API documentation. Last update on May 17, 2025.
curl \
--request GET 'http://localhost:8080/admin/metrics'
curl \
--request POST 'http://localhost:8080/admin/reset'
curl \
--request GET 'http://localhost:8080/api/chirps'
curl \
--request POST 'http://localhost:8080/api/chirps' \
--header "Content-Type: application/json" \
--data '{"content":"string"}'
{
"content": "string"
}
curl \
--request DELETE 'http://localhost:8080/api/chirps/{chirpID}'
curl \
--request GET 'http://localhost:8080/api/healthz'
curl \
--request POST 'http://localhost:8080/api/polka/webhooks'
curl \
--request POST 'http://localhost:8080/api/refresh'
curl \
--request POST 'http://localhost:8080/api/revoke'
curl \
--request POST 'http://localhost:8080/api/signin' \
--header "Content-Type: application/json" \
--data '{"email":"string","password":"string"}'
{
"email": "string",
"password": "string"
}
curl \
--request POST 'http://localhost:8080/api/signup' \
--header "Content-Type: application/json" \
--data '{"email":"string","password":"string"}'
{
"email": "string",
"password": "string"
}