知识库

置顶/取消置顶知识库

Changed on

切换知识库的置顶状态

put/knowledge-bases/{id}/pin

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/knowledge-bases/{id}/pin
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

idstring required

知识库ID

Response

更新后的知识库

successboolean

Example response

{
  "success": true
}

Changes