users

Phone Login

手机号验证码登录

  1. 验证手机号是否存在
  2. 验证验证码是否正确且未过期
  3. 获取用户相关信息(CLA状态等)
  4. 生成访问令牌
  5. 返回登录响应
post/api/v1/users/phone-login

Request

  • Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
  • URL: https://opencloudos.org/api/v1/users/phone-login
  • Auth: none declared

Request body

phone_numstring required
verification_codestring required

Response

Successful Response

usernamestring required

只能包含简体汉字,英文字母,数字和下划线,长度2-20字符

phone_numstring required
emailstring email required
idstring uuid4 required
access_tokenstring required
token_typestring required
is_claboolean

Changes

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