@RestController @RequestMapping(value="/admin") public class AdminController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
UNAUTHORIZED_ERROR |
| Constructor and Description |
|---|
AdminController(UserService userService,
OAuthService oAuthService,
AdminService adminService,
SandboxService sandboxService,
SandboxInviteService sandboxInviteService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSandboxById(javax.servlet.http.HttpServletRequest request,
String id) |
String |
getSandboxStatistics(javax.servlet.http.HttpServletRequest request,
String intervalDays) |
public static final String UNAUTHORIZED_ERROR
@Inject public AdminController(UserService userService, OAuthService oAuthService, AdminService adminService, SandboxService sandboxService, SandboxInviteService sandboxInviteService)
@GetMapping(produces="application/json",
params="interval")
@ResponseBody
public String getSandboxStatistics(javax.servlet.http.HttpServletRequest request,
@RequestParam(value="interval")
String intervalDays)
throws UnsupportedEncodingException
UnsupportedEncodingException@DeleteMapping(value="/sandbox/{id}",
produces="application/json")
public void deleteSandboxById(javax.servlet.http.HttpServletRequest request,
@PathVariable
String id)
Copyright © 2014–2018 Healthcare Services Platform Consortium. All rights reserved.