Class SystemJobResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.jobs.SystemJobResource

@RequiresAuthentication @Path("/system/jobs") public class SystemJobResource extends RestResource
  • Constructor Details

  • Method Details

    • list

      @GET @Timed @Produces("application/json") public Map<String,List<SystemJobSummary>> list()
    • get

      @GET @Timed @Path("/{jobId}") @Produces("application/json") public SystemJobSummary get(@PathParam("jobId") @NotEmpty @NotEmpty String jobId)
    • trigger

      @POST @Timed @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response trigger(@Valid @NotNull @Valid @NotNull TriggerRequest tr)
    • cancel

      @DELETE @Timed @Path("/{jobId}") @Produces("application/json") public SystemJobSummary cancel(@PathParam("jobId") @NotEmpty @NotEmpty String jobId)
    • acknowledgeJob

      @DELETE @Path("/acknowledge/{jobId}") public javax.ws.rs.core.Response acknowledgeJob(@Context UserContext userContext, @PathParam("jobId") @NotEmpty @NotEmpty String jobId)