ShareFile

前台用户上传文件,目前只支持图片文件上传

post/share/v1/common/file/upload

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /share/v1/common/file/upload
  • Auth
    none declared. Required headers: X-KB-ID

Headers

X-KB-IDstring required

kb id

Request body multipart/form-data

filestring binary required

File

captcha_tokenstring required

captcha_token

Response

OK

messagestring
successboolean

Changes