mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
fix: un-deprecate Update Document by Text in the Knowledge spec
This commit is contained in:
@@ -2504,7 +2504,7 @@
|
||||
"Documents"
|
||||
],
|
||||
"summary": "Update Document by Text",
|
||||
"description": "Deprecated. Use [Update Document](/api-reference/documents/update-document) instead. Updates an existing document's text content, name, or processing configuration.",
|
||||
"description": "Updates an existing document's text content, name, or processing configuration. Re-triggers indexing when the content changes.",
|
||||
"operationId": "updateDocumentByText",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -2787,8 +2787,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"deprecated": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datasets/{dataset_id}/documents/{document_id}/update-by-file": {
|
||||
|
||||
@@ -7021,7 +7021,7 @@
|
||||
"Documents"
|
||||
],
|
||||
"summary": "Update Document by Text",
|
||||
"description": "Deprecated. Use [Update Document](/en/api-reference/documents/update-document) instead. Updates an existing document's text content, name, or processing configuration.",
|
||||
"description": "Updates an existing document's text content, name, or processing configuration. Re-triggers indexing when the content changes.",
|
||||
"operationId": "updateDocumentByText",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -7305,7 +7305,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"deprecated": true,
|
||||
"x-mint": {
|
||||
"href": "/en/api-reference/documents/update-document-by-text",
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user