http://maasglobal.com/maas-backend/auth/auth-sms-login/request.json
Request schema for auth-sms-login
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/auth/auth-sms-login/request.json |
http://maasglobal.com/maas-backend/auth/auth-sms-login/request.json
http://maasglobal.com/core/components/api-common.json| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| headers | object |
Optional | No | request (this schema) |
| payload | object |
Required | No | request (this schema) |
headers
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
Accept |
Optional | |
X-Whim-User-Agent |
Optional |
Accept
#/definitions/acceptHeaderX-Whim-User-Agent
#/definitions/userAgentHeaderpayload
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
code |
string | Required |
phone |
string | Required |
TOPT login verification code
code
stringstring
^\d+$
Slightly looser definition of phone number
phone
string
All instances must conform to this regular expression (test examples here):
^\+?(?:\d){6,14}\d$