One API to Rule Them All: Building a Cohesive API for Semaphore
summary
Semaphore moves from mixed gRPC and per-service HTTP endpoints to a centralized dedicated HTTP gateway that translates requests into internal gRPC calls, consolidating security, validation, response formatting and auditing. Resource design uses objects with kind / metadata / spec and expands references (objects instead of IDs) plus nested project paths and custom action endpoints. Implementation is an Elixir without Phoenix service using OpenAPI for request casting and validation; the result is fewer translation bugs and easier maintenance.
AI-written summary · about
