API Monitoring Dashboard
Basic health check endpoint that returns a simple "ok" status. Used for load balancer health checks and basic service monitoring.
Comprehensive metrics endpoint returning detailed JSON data about system performance, database connectivity, memory usage, and runtime statistics.
User registration endpoint that creates a new user account. Requires JSON payload with username and password fields. Passwords are securely hashed before storage.
{
"username": "example_user",
"password": "secure_password123"
}
Authenticates a user and returns a JWE token for subsequent authenticated requests. The token is AES-encrypted and contains user info with a 24-hour expiration.
{
"username": "example_user",
"password": "secure_password123"
}
Returns the authenticated user's profile information including user ID and balance. Requires a valid JWE token in the Authorization header.
Authorization: Bearer <jwe_token>
Transfers funds from the authenticated user's account to another user. Requires a valid JWE token and a JSON payload specifying the recipient and amount.
Authorization: Bearer <jwe_token>Payload (JSON):
{
"recipient_id": 2,
"amount": 50.00
}
Live API health, runtime telemetry, and memory details for monitoring performance.