Class GraphController

java.lang.Object
com.google.adk.web.controller.GraphController

@RestController public class GraphController extends Object
Controller handling graph generation endpoints.
  • Constructor Details

  • 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.