User related
Some3C.com – A Professional Solution for iOS Development and Testing
1.Log in
Calling
Request Parameters
parameter
type
illustrate
Remark
fun
String
/config/user/login
Request function name
phone
String
Phone number
-
password
String
password
-
utag
Integer
Sub-account
1-10
httpGet request example
httpPost request example
httpPost json request example [websocket can also send the same json request]
Response
Response data field description
Fields
illustrate
Remark
total_license
Number of authorizations
-
local_total_license
Test authorization number
-
create_time
Registration Time
-
overdue_time
Expiration time
-
user_state
1 Formal authorization, other test authorization
-
pass
Verification passed
-
dev_num
Number of users
-
dev_online_num
Online
-
dev_num
Verification passed
-
utag
Sub-account
-
2.Log out
Calling
Request Parameters
parameter
type
illustrate
Remark
fun
String
/config/user/logout
Request function name
httpGet request example
httpPost request example
httpPost json request example [websocket can also send the same json request]
Response
Response data data field description None
3.Get user information
Calling
Request Parameters
parameter
type
illustrate
Remark
fun
String
/config/user/info
Request function name
httpGet request example
httpPost request example
httpPost json request example [websocket can also send the same json request]
Response
Response data field description
Fields
illustrate
Remark
total_license
Number of authorizations
-
local_total_license
Test authorization number
-
create_time
Registration Time
-
overdue_time
Expiration time
-
user_state
1 Formal authorization, other test authorization
-
pass
Verification passed
-
dev_num
Number of users
-
dev_online_num
Online
-
dev_num
Verification passed
-
utag
Sub-account
-
4.Switch sub-account
Calling
Request Parameters
parameter
type
illustrate
Remark
fun
String
/config/user/switch
Request function name
id
String
1 to 10
httpGet request example
httpPost request example
httpPost json request example [websocket can also send the same json request]
Response
Response data field description
Fields
illustrate
Remark
id
Subaccount id
-
Last updated