Create folder

Create a folder used for grouping documents together.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
namestring必需>=1 character

A custom, human-readable name for the document.

parent_folder_idstring可选
If set, the created document or folder will be placed inside the given folder.
enable_auto_syncboolean可选默认为 false

Whether to enable auto-sync for this URL document.

auto_removeboolean可选默认为 false

Whether to automatically remove the document if the URL becomes unavailable. Only applicable when auto-sync is enabled.

minimum_frequency_daysinteger可选1-180

Minimum frequency (in days) at which the underlying eligible documents are refreshed. The actual interval may be shorter, never longer. Defaults to 7, tightened to the parent folder’s frequency if that is stricter. Only applicable when auto-sync is enabled.

响应

Successful Response
idstring
namestring
folder_pathlist of objects可选
The folder path segments leading to this entity, from root to parent folder.

错误

422
Documents Create Folder Request Unprocessable Entity Error