Class FieldTypeMappingsResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.field_types.FieldTypeMappingsResource

@RequiresAuthentication @Path("/system/indices/mappings") @Produces("application/json") public class FieldTypeMappingsResource extends RestResource
  • Constructor Details

  • Method Details

    • getAllFieldTypes

      @GET @Path("/types") @Timed public Map<String,String> getAllFieldTypes()
    • changeFieldType

      @PUT @Timed public Map<String,IndexSetFieldType> changeFieldType(@Valid @NotNull(message="Request body is mandatory") @Valid @NotNull(message="Request body is mandatory") FieldTypeChangeRequest request)
    • setProfile

      @PUT @Path("/set_profile") @Timed public jakarta.ws.rs.core.Response setProfile(@Valid @NotNull(message="Request body is mandatory") @Valid @NotNull(message="Request body is mandatory") FieldTypeProfileChangeRequest request)
    • removeProfileFromIndexSets

      @PUT @Path("/remove_profile_from") @Timed public jakarta.ws.rs.core.Response removeProfileFromIndexSets(@Valid @NotNull(message="Request body is mandatory") @Valid @NotNull(message="Request body is mandatory") FieldTypeProfileUnsetRequest request)
    • removeCustomMapping

      @PUT @Path("/remove_mapping") @Timed public Map<String,FieldTypeMappingsResource.MappingRemovalResult> removeCustomMapping(@Valid @NotNull(message="Request body is mandatory") @Valid @NotNull(message="Request body is mandatory") CustomFieldMappingRemovalRequest request)