Package vaultWeb.controllers
Class DashboardController
java.lang.Object
vaultWeb.controllers.DashboardController
Provides aggregated user-centric data to power the dashboard UI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<UserDashboardDto> org.springframework.http.ResponseEntity<UserDashboardDto> getDashboardForUser(String username)
-
Constructor Details
-
DashboardController
public DashboardController()
-
-
Method Details
-
getCurrentUserDashboard
@GetMapping("/me") public org.springframework.http.ResponseEntity<UserDashboardDto> getCurrentUserDashboard() -
getDashboardForUser
@GetMapping("/{username}") public org.springframework.http.ResponseEntity<UserDashboardDto> getDashboardForUser(@PathVariable String username)
-