网络搜索

使用原始凭证测试 Provider(不落库)

Changed on

使用前端表单中尚未保存的凭证测试连通性,用于"测试连接"按钮

post/web-search-providers/test

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/web-search-providers/test
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Request body

providerstring required

Response

测试结果

errorstring
successboolean

Example response

{
  "success": true
}

Changes