Class LongTaskResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.LongTaskResource
@Path("/longtask")
@Consumes("application/json")
@Produces("application/json")
public class LongTaskResource
extends Object
REST wrapper for the LongTaskService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic javax.ws.rs.core.Response
submissionResponse
(LongTaskSubmission taskSubmission) Produce a HTTP Accept 202 response from some other resource pointing to this class's LongTaskStatus resource.
-
Constructor Details
-
LongTaskResource
-
-
Method Details
-
getTasks
@GET public RestList<LongTaskStatus> getTasks(@QueryParam("expand") @DefaultValue("") String expand, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("100") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) -
getTask
@PublicApi @GET @Path("/{id}") public LongTaskStatus getTask(@PathParam("id") String idStr, @QueryParam("expand") @DefaultValue("") String expand) -
submissionResponse
Produce a HTTP Accept 202 response from some other resource pointing to this class's LongTaskStatus resource.
-