Create Document

以 Markdown 格式查看

身份验证

AuthorizationBearer
Bearer 身份验证,格式为 `Bearer <token>`,其中 token 是您的身份验证令牌。

路径参数

domainstring必需

请求头

x-fern-basepathstring or null可选

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 any.

响应

Successful Response
document_idstring
The unique identifier of the created document

错误

422
Unprocessable Entity Error