跳到主要内容
Sursa Developers

对象

ErrorDetailObject

detail 中的对象:code 是机器可读的代码(choose_org、org_suspended、org_deleted、not_found、expired、rate_limited、weak_password 以及其他邀请和密码重置代码),message 是文本。其他字段取决于代码(choices、orgs、retry_after、min、max)。

字段

  • codestring必填
  • messagestring必填
  • choicesarray of LoginChoice

    仅用于 choose_org:接受该登录名和密码的组织。

  • orgsarray of object

    仅用于 choose_org:同上,简要形式。

    字段
    • slugstring必填
    • namestring必填
  • retry_afterinteger

    允许重试前需要等待的秒数(rate_limited、resend_too_soon)。

  • mininteger

    密码的最小长度(weak_password)。

  • maxinteger

    密码的最大长度(weak_password)。

所属对象

Error