Class FieldTypesResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog.plugins.views.search.rest.FieldTypesResource
- All Implemented Interfaces:
PluginRestResource
@Path("/views/fields")
@Produces("application/json")
@RequiresAuthentication
public class FieldTypesResource
extends RestResource
implements PluginRestResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallFieldTypes
(SearchUser searchUser) byStreams
(@Valid @NotNull FieldTypesForStreamsRequest request, SearchUser searchUser) Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
FieldTypesResource
-
-
Method Details
-
allFieldTypes
-
byStreams
@POST public Set<MappedFieldTypeDTO> byStreams(@Valid @NotNull @Valid @NotNull FieldTypesForStreamsRequest request, @Context SearchUser searchUser)
-