本页面为您介绍 /zh/api/document/search 接口的详细信息。

功能概述

/zh/api/document/search 接口用于在文档库中进行搜索,支持多种搜索条件和返回格式。

使用方法

以下是该接口的基本使用方法:

GET /zh/api/document/search?query=<搜索词>&type=<搜索类型>&format=<返回格式>
  • query:必填,搜索关键词。
  • type:选填,搜索类型,如 "document","keyword" 等。
  • format:选填,返回格式,如 "json","xml" 等。

示例

以下是一个搜索示例:

GET /zh/api/document/search?query=API&format=json

这将返回所有包含 "API" 的文档,并以 JSON 格式返回。

扩展阅读

想了解更多关于 API 的信息,请访问我们的 API 文档

图片展示

以下是一些与搜索相关的图片:

search_engine
document_library