| title | summary |
|---|---|
Field |
API endpoints for Field.
|
API endpoints for Field.
Remove the dimension associated to field at ID.
idvalue must be an integer greater than zero.
Get Field with ID.
-
idvalue must be an integer greater than zero. -
include_editable_data_modelvalue must be a valid boolean string ('true' or 'false').
Return related entities.
idvalue must be an integer greater than zero.
Fetch remapped Field values.
-
idvalue must be an integer greater than zero. -
remapped-idvalue must be an integer greater than zero. -
valuevalue must be a non-blank string.
Search for values of a Field with search-id that start with value. See docstring for
metabase.api.field/search-values for a more detailed explanation.
-
idvalue must be an integer greater than zero. -
search-idvalue must be an integer greater than zero. -
valuevalue must be a non-blank string.
Get the count and distinct count of Field with ID.
idvalue must be an integer greater than zero.
If a Field's value of has_field_values is :list, return a list of all the distinct values of the Field (or
remapped Field), and (if defined by a User) a map of human-readable remapped values. If has_field_values is not
:list, checks whether we should create FieldValues for this Field; if so, creates and returns them.
idvalue must be an integer greater than zero.
Sets the dimension for the given field at ID.
-
idvalue must be an integer greater than zero. -
dimension-typeenum of internal, external. -
dimension-namevalue must be a non-blank string. -
human_readable_field_idnullable value must be an integer greater than zero.
Discard the FieldValues belonging to this Field. Only applies to fields that have FieldValues. If this Field's Database is set up to automatically sync FieldValues, they will be recreated during the next cycle.
idvalue must be an integer greater than zero.
Manually trigger an update for the FieldValues for this Field. Only applies to Fields that are eligible for FieldValues.
idvalue must be an integer greater than zero.
Update the fields values and human-readable values for a Field whose semantic type is
category/city/state/country or whose base type is type/Boolean. The human-readable values are optional.
-
idvalue must be an integer greater than zero. -
value-pairssequence of vector with exactly 1 items of type: anything, or vector with exactly 2 items of type: anything, value must be a non-blank string.
Update Field with ID.
-
visibility_typenullable enum of retired, sensitive, normal, hidden, details-only. -
display_namenullable value must be a non-blank string. -
points_of_interestnullable value must be a non-blank string. -
descriptionnullable value must be a non-blank string. -
semantic_typenullable value must be a valid field semantic or relation type (keyword or string). -
coercion_strategynullable value must be a valid coercion strategy (keyword or string). -
has_field_valuesnullable enum of :auto-list, :list, :none, :search. -
settingsnullable Value must be a map. -
caveatsnullable value must be a non-blank string. -
fk_target_field_idnullable value must be an integer greater than zero. -
nfc_pathnullable sequence of value must be a non-blank string. -
idvalue must be an integer greater than zero. -
json_unfoldingnullable boolean.