Project

General

Profile

« Previous | Next » 

Revision 50631

Changes for new api.

View differences:

MonitorApi.java
13 13
@Api(description = "Monitor API",  tags = {"monitor"})
14 14
public interface MonitorApi {
15 15

  
16
    @RequestMapping(value = "/getJobsOfUser" , method = RequestMethod.GET,consumes = MediaType.APPLICATION_JSON_VALUE,
16
    @RequestMapping(value = "/getJobsOfUser" , method = RequestMethod.GET,
17 17
            produces = MediaType.APPLICATION_JSON_VALUE)
18 18
    @ResponseBody
19
    JobsOfUser getJobsOfUser(@RequestBody String user,
20
                             @RequestBody String jobType,
21
                             @RequestBody String offset,
22
                             @RequestBody String limit,
23
                             @RequestBody String dateFrom,
24
                             @RequestBody String dateTo,
25
                             @RequestBody String validationStatus,
26
                             @RequestBody String includeJobsTotal) throws JSONException, ValidatorServiceException;
19
    JobsOfUser getJobsOfUser(@RequestParam String user,
20
                             @RequestParam String jobType,
21
                             @RequestParam String offset,
22
                             @RequestParam String limit,
23
                             @RequestParam String dateFrom,
24
                             @RequestParam String dateTo,
25
                             @RequestParam String validationStatus,
26
                             @RequestParam String includeJobsTotal) throws JSONException, ValidatorServiceException;
27 27

  
28 28
    @RequestMapping(value = "/getJobsOfUserPerValidationStatus" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
29 29
    @ResponseBody

Also available in: Unified diff