Convert field type
Convert field to a different type with automatic type casting and symmetric field handling
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Provide the complete field configuration including all properties, modified or not
The field types supported by teable.
singleLineText
, longText
, user
, attachment
, checkbox
, multipleSelect
, singleSelect
, date
, number
, duration
, rating
, formula
, rollup
, count
, link
, createdTime
, lastModifiedTime
, createdBy
, lastModifiedBy
, autoNumber
, button
The name of the field. can not be duplicated in the table.
1
Whether this field is not unique.
Whether this field is not null.
Field(column) name in backend database. Limitation: 1-63 characters, can only contain letters, numbers and underscore, case sensitive, cannot be duplicated with existing db field name in the table.
1
Whether this field is lookup field. witch means cellValue and [fieldType] is looked up from the linked table.
The description of the field.
The lookup options for field, you need to configure it when isLookup attribute is true or field type is rollup.
The options of the field. The configuration of the field's options depend on the it's specific type.
Response
The id of the field.
The name of the field. can not be duplicated in the table.
The field types supported by teable.
singleLineText
, longText
, user
, attachment
, checkbox
, multipleSelect
, singleSelect
, date
, number
, duration
, rating
, formula
, rollup
, count
, link
, createdTime
, lastModifiedTime
, createdBy
, lastModifiedBy
, autoNumber
, button
The configuration options of the field. The structure of the field's options depend on the field's type.
The cell value type of the field.
string
, number
, boolean
, dateTime
The field type of database that cellValue really store.
TEXT
, INTEGER
, DATETIME
, REAL
, BLOB
, JSON
, BOOLEAN
Field(column) name in backend database. Limitation: 1-63 characters, can only contain letters, numbers and underscore, case sensitive, cannot be duplicated with existing db field name in the table.
1
The description of the field.
Whether this field is lookup field. witch means cellValue and [fieldType] is looked up from the linked table.
field lookup options.
Whether this field is not null.
Whether this field is not unique.
Whether this field is primary field.
Whether this field is computed field, you can not modify cellValue in computed field.
Whether this field's calculation is pending.
Whether This field has a configuration error. Check the fields referenced by this field's formula or configuration.
Whether this field has multiple cell value.