IT Top Academy Journal API Documentation
IT Top Academy has no public API documentation. This project fills the gap — covering 34 endpoints across 11 feature groups.
Quick Start
- Open Swagger UI — Swagger UI works immediately, no token needed: the worker returns anonymized mock data
- Try logging in — click "Try it out" on
/auth/login. The worker (a Cloudflare proxy) forwards the request to the real API and returns a live JWT - Get a token — if you need access to real data, see Authentication
- Read the docs — pick an API section for detailed endpoint reference with field-level descriptions
What the Project Does
- Collects real API responses via authenticated requests
- Validates structure with Pydantic — when the API changes, the pipeline fails and opens a GitHub Issue
- Anonymizes data with Faker — no real names, IDs, or dates in the public repository
- Generates
openapi.jsonand publishes Swagger UI + text documentation
CI Pipeline
Steps executed on each run (nightly cron or manual trigger):
tests → collect → validate → anonymize → publish → worker
↘ mkdocs
- tests — project unit tests
- collect — requests to the real API, response collection
- validate — Pydantic schema validation; on failure — GitHub Issue
- anonymize — sensitive data replacement via Faker
- publish — generate
openapi.jsonand deploy Swagger UI to GitHub Pages - worker — build and deploy the Cloudflare Worker (mock server + proxy)
- mkdocs — build and deploy text documentation to GitHub Pages
Navigation
| Page | Content |
|---|---|
| Authentication | Getting a token, headers, Authorize button |
| Swagger UI | Interactive API explorer |
| Mock Server | How the Cloudflare Worker works |
| Glossary | Terms and concepts used in this documentation |
| API Reference | Detailed endpoint documentation by feature group |