maas-schemas

request Schema

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

Schema Hierarchy

request Properties

Property Type Required Nullable Defined by
headers object Optional No request (this schema)
payload object Required No request (this schema)

headers

headers

headers Type

object with following properties:

Property Type Required
Accept   Optional
X-Whim-User-Agent   Optional

Accept

Accept

Accept Type

X-Whim-User-Agent

X-Whim-User-Agent

X-Whim-User-Agent Type

payload

payload

payload Type

object with following properties:

Property Type Required
code string Required
phone string Required

code

TOPT login verification code

code

code Type

string

^\d+$

phone

Slightly looser definition of phone number

phone

phone Type

string

All instances must conform to this regular expression (test examples here):

^\+?(?:\d){6,14}\d$