code: @ApiOperation(value="Retrieves asynchronous jobs filtered by status",
              response=RequestInfoInstanceList.class, code=200)
      @ApiResponses(value = { @ApiResponse(code = 500, message = "Unexpected error"), 
              @ApiResponse(code = 200, message = "Successfull response", examples=@Example(value= {
                      @ExampleProperty(mediaType=JSON, value=GET_REQUESTS_RESPONSE_JSON)})) })
      @GET
      @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
      public Response getRequestsByStatus(@javax.ws.rs.core.Context HttpHeaders headers, 
              @ApiParam(value = "optional job status (QUEUED, DONE, CANCELLED, ERROR, RETRYING, RUNNING)", required = true, allowableValues="QUEUED,DONE,CANCELLED,ERROR,RETRYING,RUNNING") @QueryParam("status") List<String> statuses,
              @ApiParam(value = "optional pagination - at which page to start, defaults to 0 (meaning first)", required = false) @QueryParam("page") @DefaultValue("0") Integer page, 
              @ApiParam(value = "optional pagination - size of the result, defaults to 10", required = false) @QueryParam("pageSize") @DefaultValue("10") Integer pageSize) {
          Variant v = getVariant(headers);
          // no container id available so only used to transfer conversation id if given by client
          Header conversationIdHeader = buildConversationIdHeader("", context, headers);
          try {
              RequestInfoInstanceList result = executorServiceBase.getRequestsByStatus(statuses, page, pageSize);
  
              return createCorrectVariant(result, headers, Response.Status.OK, conversationIdHeader);
          }  catch (Exception e) {
              logger.error("Unexpected error during processing {}", e.getMessage(), e);
              return internalServerError(errorMessage(e), v, conversationIdHeader);
          }
  
      }
docs: queries