fix: un-deprecate Update Document by Text in the Knowledge spec

This commit is contained in:
RiskeyL
2026-07-09 10:33:44 +08:00
parent f38c198c41
commit 6802d5eb1a
2 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -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": {
+1 -2
View 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": {