Skip to content

School Sign-up

Description

註冊學校用戶。

Resource

POST /v1/school/user

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Request Body Parameters

Name Type Description
id string 帳號 (學號)
name string 姓名
birthday string 生日
(optional)
sex string 性別
ALLOWED VALUES:
  • male:男
  • Female:女
  • Unknown:未設定

(optional)
card_no string 卡號
(optional)

Response

{
    "name": "王小明",
    "acckey": "og1f6tngwb2vcji4igk53ju7qnddc5kk"
}

Response Body Parameters

Name Type Description
name string 學生姓名
acckey string 會員登入後的代碼