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