# Restaurant Admin Workflow API ## Purpose This BFF exposes restaurant-admin control-plane workflows over REST while delegating orchestration to `operations-service`. ## Endpoints - `GET /api/restaurant/admin/config?contextId=` - Returns configuration snapshot, feature flags, service windows, and recent changes. - `GET /api/restaurant/admin/changes?contextId=` - Returns recent configuration change history. - `POST /api/restaurant/admin/service-window` - Updates a service window and returns the applied snapshot. ## Upstream Dependency - Base address configuration: `OperationsService:BaseAddress` - Default runtime target: `http://operations-service:8080` - Internal upstream routes: - `GET /internal/operations/admin/config` - `POST /internal/operations/admin/service-window` ## Notes - The explicit change-history route is projected from the same admin config snapshot returned by `operations-service`. - Correlation IDs are preserved through Thalos session checks and operations-service calls.