Update Document
身份验证
AuthorizationBearer
Bearer 身份验证,格式为 `Bearer <token>`,其中 token 是您的身份验证令牌。
路径参数
domain
document_id
请求头
x-fern-basepath
The basepath of the docs site that the document belongs to, e.g. /plants for a site served at docs.example.com/plants. Omit this for sites served at the root of the domain. Documents are only retrieved by Ask Fern on the site matching the domain and basepath they were created with.
请求
This endpoint expects an object.
document
The updated content of the document that will be returned to Ask Fern during document retrieval. If not provided, this field will remain unchanged.
chunk
The updated textual content that should be vectorized when indexing the document. If not provided, this field will remain unchanged.
title
The updated title of the document. If not provided, this field will remain unchanged.
url
The updated url of the document. If not provided, this field will remain unchanged.
version
The updated version of the document. If not provided, this field will remain unchanged.
product
The updated product of the document. If not provided, this field will remain unchanged.
keywords
The updated keywords of the document. If not provided, this field will remain unchanged.
authed
The updated authed status of the document. If not provided, this field will remain unchanged.
响应
Successful Response
document
The updated document
错误
422
Unprocessable Entity Error