The API uses a token-based authentication mechanism. Most endpoints require a valid signature/token.
Public Endpoint Generates a signature that can be used for authenticated requests.
- URL:
POST /generate-signature - Body:
{ "username": "string", "timestamp": 1234567890 } - Response:
{ "signature": "string", "max_tries": 10, "cadence": { "received_at": "timestamp", "created_at": "timestamp", "expires_at": "timestamp" } }
Auth Required Retrieves a paginated list of posts.
- URL:
POST /posts - Body (Filters - all optional):
{ "title": "string", "author": "string", "category": "string", "tag": "string", "text": "string" } - Response: List of posts objects with pagination metadata.
Auth Required Retrieves a single post by its slug.
- URL:
GET /posts/{slug} - Response: Post object.
Auth Required Retrieves all categories.
- URL:
GET /categories - Response: List of category objects.
Auth Required
These endpoints return static JSON data used to populate various sections of the website.
GET /profileGET /experienceGET /projectsGET /socialGET /talksGET /educationGET /recommendations
Auth Required Checks if the API is responsive.
- URL:
GET /ping
Auth Required Checks if the database connection is active.
- URL:
GET /ping-db
Internal Access Only Prometheus metrics endpoint.
- URL:
GET /metrics