门户页配置

更新门户页设置

更新团队的门户页设置配置,包括 slogan、对话提示、Logo、快捷应用、已选工具和精选应用标签等信息

post/proApi/core/chat/setting/update

Request

  • Base URL: https://app.wenwen-ai.com/api
  • URL: https://app.wenwen-ai.com/api/proApi/core/chat/setting/update
  • Auth: none declared

Request body

_idstring

ObjectId

appIdstring

ObjectId

teamIdstring

ObjectId

sloganstring

Slogan

dialogTipsstring

对话提示

enableHomeboolean

是否启用首页

homeTabTitlestring

首页标签

wideLogoUrlstring

宽 LOGO

squareLogoUrlstring

方 LOGO

quickAppIdsstring[]

快捷应用 ID 列表

Example request

{
  "_id": "68ee0bd23d17260b7829b137",
  "appId": "68ee0bd23d17260b7829b137",
  "teamId": "68ee0bd23d17260b7829b137",
  "slogan": "你好👋,我是 FastGPT ! 请问有什么可以帮你?",
  "dialogTips": "你可以问我任何问题",
  "enableHome": true,
  "homeTabTitle": "FastGPT",
  "wideLogoUrl": "/api/system/img/avatar/68ad85a7463006c963799a05/79183cf9face95d336816f492409ed29",
  "squareLogoUrl": "/api/system/img/avatar/68ad85a7463006c963799a05/79183cf9face95d336816f492409ed29",
  "quickAppIds": [
    "68ad85a7463006c963799a05"
  ],
  "selectedTools": [
    {
      "pluginId": "68ad85a7463006c963799a05",
      "inputs": {}
    }
  ],
  "favouriteTags": [
    {
      "id": "ptqn6v4I",
      "name": "效率"
    },
    {
      "id": "jHLWiqff",
      "name": "学习"
    }
  ]
}

Response

成功更新门户页设置

_idstring required

ObjectId

appIdstring required

ObjectId

teamIdstring required

ObjectId

sloganstring

Slogan

dialogTipsstring

对话提示

enableHomeboolean

是否启用首页

homeTabTitlestring

首页标签

wideLogoUrlstring

宽 LOGO

squareLogoUrlstring

方 LOGO

Example response

{
  "_id": "68ee0bd23d17260b7829b137",
  "appId": "68ee0bd23d17260b7829b137",
  "teamId": "68ee0bd23d17260b7829b137",
  "slogan": "你好👋,我是 FastGPT ! 请问有什么可以帮你?",
  "dialogTips": "你可以问我任何问题",
  "enableHome": true,
  "homeTabTitle": "FastGPT",
  "wideLogoUrl": "/api/system/img/avatar/68ad85a7463006c963799a05/79183cf9face95d336816f492409ed29",
  "squareLogoUrl": "/api/system/img/avatar/68ad85a7463006c963799a05/79183cf9face95d336816f492409ed29",
  "selectedTools": [
    {
      "pluginId": "68ad85a7463006c963799a05",
      "inputs": {},
      "name": "获取当前应用",
      "avatar": "/icon/logo.svg"
    }
  ],
  "favouriteTags": [
    {
      "id": "ptqn6v4I",
      "name": "效率"
    },
    {
      "id": "jHLWiqff",
      "name": "学习"
    }
  ],
  "quickAppList": [
    {
      "_id": "68ad85a7463006c963799a05",
      "name": "测试应用",
      "avatar": "测试应用"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.