Profile

更新用户头像图片

Changed on
post/api/profile/avatar

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Query parameters

avatarKeystring
avatarHdKeystring

Request body multipart/form-data

avatarstring binary
avatar_hdstring binary

Response

Successful HTTP response; legacy business endpoints may return success=false in this envelope, while social endpoints use matching 4xx/5xx statuses

codeinteger
errorCodestring
messagestring
successboolean

Changes

    • info

      api operation id ProfileController_updateUserAvatar_post__api_profile_avatar was added

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      api tag Profile added

    • info

      api tag profile removed

    • info

      added the new optional query request parameter avatarHdKey

    • info

      added the new optional query request parameter avatarKey

    • info

      added optional request body

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status