Class ExportJobsResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog.plugins.views.search.rest.ExportJobsResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
ConstructorDescriptionExportJobsResource
(ExportJobService exportJobService, ExportJobFactory exportJobFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(@Valid MessagesRequest rawrequest) createForSearch
(String searchId, @Valid ResultFormat formatFromClient) createForSearchType
(String searchId, String searchTypeId, @Valid ResultFormat formatFromClient) Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
ExportJobsResource
@Inject public ExportJobsResource(ExportJobService exportJobService, ExportJobFactory exportJobFactory)
-
-
Method Details
-
create
-
createForSearch
@POST @Path("{searchId}") public String createForSearch(@PathParam("searchId") String searchId, @Valid @Valid ResultFormat formatFromClient) -
createForSearchType
@POST @Path("{searchId}/{searchTypeId}") public String createForSearchType(@PathParam("searchId") String searchId, @PathParam("searchTypeId") String searchTypeId, @Valid @Valid ResultFormat formatFromClient)
-