-
Notifications
You must be signed in to change notification settings - Fork 0
1. Validations
Henry Chang edited this page Mar 3, 2016
·
3 revisions
- Sandbox route: /api/v1/sandboxs/accounts/validations/
- 用途:使用者註冊,發送驗證碼
- header:
- apiKey(必要的)- API 鑰匙
- payload:
{
"phoneNumber": "+886975531859" /*E.164 international format)*/
}
- parameter:
- 無
- response:
{
"userUuid": "xzed-1234-sxxd-3321"
}- 用途:使用者登入
- header:
- apiKey(必要的)- API 鑰匙
- payload:
{
"userUuid": "eb5de503-70ae-4f5f-871c-d805bfbfc931",
"code":"243712"
}- parameter:
- 無
- response:
{
"token": "aujensekdw123ejdmm"
}- 用途:使用者登出
- header:
- apiKey(必要的)- API 鑰匙
- payload: 無
- parameter:
- token: token-id
- response:
- status
- 200 OK
{}