对话操作

获取文件上传 URL

获取文件上传 URL

post/core/chat/file/presignChatFilePostUrl

Request

  • Base URL: https://app.wenwen-ai.com/api
  • URL: https://app.wenwen-ai.com/api/core/chat/file/presignChatFilePostUrl
  • Auth: none declared

Request body

filenamestring required

文件名

appIdstring required

应用ID

chatIdstring required

对话ID

Example request

{
  "filename": "1234567890",
  "appId": "1234567890",
  "chatId": "1234567890",
  "outLinkAuthData": {
    "shareId": "1234567890",
    "outLinkUid": "1234567890"
  }
}

Response

成功上传对话文件预签名 URL

urlstring required
keystring required
headersobject required
maxSizenumber

Changes

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