v1
latestOpenAPI 3.0.22026-07-17373198641.7 KBdocument
v1
Update Document Field
put/api/v1/document/document-fields/{uid}/
Path parameters
uidstring required
A UUID string identifying this document field.
Request body
Example request
{
"classifier_init_script": "classifier_init_script",
"vectorizer_stop_words": "vectorizer_stop_words",
"metadata": "{}",
"code": "code",
"allow_values_not_specified_in_choices": true,
"description": "description",
"long_code": "long_code",
"title": "title",
"type": "address",
"value_regexp": "value_regexp",
"trained_after_documents_number": 1280358509,
"unsure_choice_value": "unsure_choice_value",
"read_only": true,
"depends_on_fields": [
"depends_on_fields",
"depends_on_fields"
],
"requires_text_annotations": true,
"hide_until_python": "hide_until_python",
"document_type": "document_type",
"order": 4803,
"convert_decimals_to_floats_in_formula_args": true,
"dirty": true,
"confidence": "High",
"hide_until_js": "hide_until_js",
"default_value": "{}",
"unsure_thresholds_by_value": "{}",
"warning_message": "warning_message",
"text_unit_type": "sentence",
"mlflow_model_uri": "mlflow_model_uri",
"display_yes_no": true,
"training_finished": true,
"mlflow_detect_on_document_level": true,
"formula": "formula",
"value_detection_strategy": "disabled",
"hidden_always": true,
"category": 0,
"family": 6,
"choices": "choices"
}Response
Example response
{
"classifier_init_script": "classifier_init_script",
"vectorizer_stop_words": "vectorizer_stop_words",
"metadata": "{}",
"code": "code",
"allow_values_not_specified_in_choices": true,
"description": "description",
"long_code": "long_code",
"title": "title",
"type": "address",
"value_regexp": "value_regexp",
"trained_after_documents_number": 1280358509,
"unsure_choice_value": "unsure_choice_value",
"read_only": true,
"depends_on_fields": [
"depends_on_fields",
"depends_on_fields"
],
"requires_text_annotations": true,
"hide_until_python": "hide_until_python",
"document_type": "document_type",
"order": 4803,
"convert_decimals_to_floats_in_formula_args": true,
"dirty": true,
"confidence": "High",
"hide_until_js": "hide_until_js",
"default_value": "{}",
"unsure_thresholds_by_value": "{}",
"warning_message": "warning_message",
"text_unit_type": "sentence",
"mlflow_model_uri": "mlflow_model_uri",
"display_yes_no": true,
"training_finished": true,
"mlflow_detect_on_document_level": true,
"formula": "formula",
"value_detection_strategy": "disabled",
"hidden_always": true,
"category": 0,
"family": 6,
"choices": "choices"
}