Users

更新用户资料。Update user profile.

更新当前用户的个人资料信息(昵称、简介等)。 Update the profile information (nickname, bio, etc.) of the current user. 访问令牌调用此接口需包含以下权限。Required permissions for access token. account-profile:rw

post/user

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/user
  • Auth: API key in header Authorization

Request body

addressstring

地址。Address.

biostring

个人简介。Bio.

companystring

公司。Company.

locationstring

所在地。Location.

namestring

用户名。Username.

nicknamestring

昵称。Nickname.

readme_repo_idinteger

用于展示 README 的仓库 ID。Repository ID used for displaying README.

readme_repo_pathstring

用于展示 README 的仓库路径。Repository path used for displaying README.

sitestring

个人主页。Personal site.

wechat_mpstring

微信公众号。WeChat official account.

wechat_mp_qrcodestring

微信公众号二维码。WeChat official account QR code.

Response

OK

Changes

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