🚀

Live Infrastructure Docs

LIVE

You're using this Go application right now. Explore the real infrastructure powering your experience.

📖 REST API Documentation

Auto-generated Swagger documentation with interactive testing for all API endpoints

Interactive API Documentation

🎯 What is Swagger?

Swagger (now OpenAPI) is a specification for describing REST APIs. It provides a standard way to document your API endpoints, request/response formats, and allows developers to interact with your API directly from a web interface.

  • Interactive Testing: Try API calls directly from the browser
  • Auto-Generated: Documentation stays synchronized with your code
  • Schema Validation: Ensures requests match expected formats
  • Code Generation: Generate client SDKs in multiple languages

🚀 Live API Access

Click the link below to access the interactive Swagger UI where you can explore and test all available endpoints:

📊 Available Endpoints

GitHub Integration
GET /api/github/{username}
Fetch profile, repos, and stats
Twitch Analytics
GET /api/twitch/analytics
Live streaming metrics
YouTube Stats
GET /api/youtube/stats
Channel and video statistics
Platform Metrics
GET /api/metrics
Aggregated platform data

🔧 How to Use Swagger UI

  1. Browse Endpoints: Click on any endpoint to see details
  2. Try it Out: Click "Try it out" button to test the endpoint
  3. Enter Parameters: Fill in required path or query parameters
  4. Execute: Click "Execute" to make the actual API call
  5. View Response: See the real response data and HTTP status
  6. Copy as cURL: Get command-line examples for integration

💡 Pro Tips

• Use the Models section to understand response schemas
• Check Response Examples to see expected data formats
• Look for HTTP status codes to understand error handling
• Copy the Request URL for use in your applications

🚀 API Features

  • Interactive Testing: Test endpoints directly from Swagger UI
  • Auto-Generated: Documentation stays in sync with code changes
  • Type Safety: Go struct tags define JSON schema validation
  • Error Handling: Comprehensive HTTP status codes and error responses
  • Rate Limiting: Built-in protection against API abuse
  • Caching Headers: Optimize performance with appropriate cache policies