Class GraphController
java.lang.Object
com.google.adk.web.controller.GraphController
Controller handling graph generation endpoints.
-
Constructor Summary
ConstructorsConstructorDescriptionGraphController(BaseSessionService sessionService, AgentLoader agentProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<GraphResponse> getEventGraph(String appName, String userId, String sessionId, String eventId) Endpoint to get a graph representation of an event (currently returns a placeholder).
-
Constructor Details
-
GraphController
-
-
Method Details
-
getEventGraph
@GetMapping("/apps/{appName}/users/{userId}/sessions/{sessionId}/events/{eventId}/graph") public org.springframework.http.ResponseEntity<GraphResponse> getEventGraph(@PathVariable String appName, @PathVariable String userId, @PathVariable String sessionId, @PathVariable String eventId) Endpoint to get a graph representation of an event (currently returns a placeholder). Requires Graphviz or similar tooling for full implementation.- Parameters:
appName- Application name.userId- User ID.sessionId- Session ID.eventId- Event ID.- Returns:
- ResponseEntity containing a GraphResponse with placeholder DOT source.
- Throws:
org.springframework.web.server.ResponseStatusException- if the session or event is not found.
-