Class IndexFieldTypeProfileResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.indexer.IndexFieldTypeProfileResource
@RequiresAuthentication
@Path("/system/indices/index_sets/profiles")
@Produces("application/json")
@Consumes("application/json")
public class IndexFieldTypeProfileResource
extends RestResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(IndexFieldTypeProfileData profileData) voidgetAll()retrieveById(String profileId) voidupdate(IndexFieldTypeProfile profile) Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
IndexFieldTypeProfileResource
-
-
Method Details
-
retrieveById
@GET @Path("/{profile_id}") @Timed public IndexFieldTypeProfileWithUsages retrieveById(@PathParam("profile_id") String profileId) -
getPage
@GET @Path("/paginated") @Timed public PageListResponse<IndexFieldTypeProfileWithUsages> getPage(@QueryParam("page") @DefaultValue("1") int page, @QueryParam("per_page") @DefaultValue("50") int perPage, @QueryParam("query") @DefaultValue("") String query, @QueryParam("filters") List<String> filters, @DefaultValue("name") @QueryParam("sort") String sort, @DefaultValue("asc") @QueryParam("order") String order) -
getAll
-
create
-
update
-
delete
-