A centralized REST API service for Devtron metadata, release information, and auxiliary services.
Devtron Central API is a Go-based REST API that provides:
- 📦 Release notes and version information
- 🔧 Module metadata and configurations
- 🏗️ CI/CD build templates and metadata
- 💱 Currency exchange rates
- 🔔 GitHub webhook handling
Port: 8080 Language: Go 1.19+ Framework: Gorilla Mux
For detailed information, see PROJECT_OVERVIEW.md
Manages Devtron releases from GitHub with caching and blob storage.
Endpoints:
GET /release/notes- Get releases with paginationPOST /release/webhook- GitHub webhook handler
Provides Devtron module information and metadata.
Endpoints:
GET /modules- List all modulesGET /v2/modules- Enhanced module listGET /module?name={name}- Get module by name
Serves build templates and buildpack information.
Endpoints:
GET /dockerfileTemplate- Dockerfile templatesGET /buildpackMetadata- Buildpack metadata
Real-time currency conversion rates.
Endpoints:
GET /currency/rates?base={currency}- Exchange rates
Service health monitoring.
Endpoints:
GET /health- Health status
NEW: A Model Context Protocol (MCP) server for semantic search over Devtron documentation.
- 🔍 Semantic search using AWS Bedrock Titan embeddings
- 📦 ChromaDB vector storage
- 🔄 Auto-sync with GitHub documentation
- 💰 Free tier (AWS Bedrock)
- ⚡ Fast (<500ms search)
cd mcp-docs-server
./setup.sh
python server.py- Quick Start Guide - 5-minute setup
- Integration Guide - Chatbot integration
- Solution Summary - Architecture details
- Full README - Complete documentation
# Build
make build
# Run
./central-apidocker build -t central-api:latest .
docker run -p 8080:8080 central-api:latestcurl http://localhost:8080/healthcurl http://localhost:8080/release/notes?offset=0&size=10curl http://localhost:8080/modulescurl http://localhost:8080/currency/rates?base=USDFor complete API documentation, see PROJECT_OVERVIEW.md
- PROJECT_OVERVIEW.md - Complete project overview
- spec/api.yaml - OpenAPI specification
- QUICKSTART.md - 5-minute setup
- README.md - User guide
- INTEGRATION_GUIDE.md - Integration instructions
- SOLUTION_SUMMARY.md - Architecture
- ALTERNATIVES_COMPARISON.md - Solution comparison
- FILES_OVERVIEW.md - File reference
- IMPLEMENTATION_COMPLETE.md - Implementation summary
┌─────────────────────────────────────────────────────────┐
│ Central API (Go) │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Release │ │ Modules │ │ Currency │ │
│ │ Notes │ │ Metadata │ │ Exchange │ │
│ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────┐
│ MCP Documentation Server (Python) │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ GitHub │ │ ChromaDB │ │ Bedrock │ │
│ │ Sync │ │ Vector │ │ Titan │ │
│ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────────────────────────────────────────┘
- Go 1.19+
- Make
- Wire (for dependency injection)
make buildgo test ./...make wiredocker build -t central-api:latest .docker run -p 8080:8080 \
-e BLOB_STORAGE_PROVIDER=S3 \
-e AWS_ACCESS_KEY_ID=xxx \
central-api:latestApache License 2.0 - Copyright (c) 2024 Devtron Inc.
Contributions are welcome! Please read the contributing guidelines before submitting PRs.
- Documentation: See files listed above
- Issues: GitHub Issues
- Website: https://devtron.ai
Maintained by: Devtron Labs Repository: https://github.com/devtron-labs/central-api