User Info
GET /api/v1/userInfo
Note: To return a user's information.
Header
Field | Type | Required | Remarks |
---|---|---|---|
ApiKey | String | true | ApiKey acquired from the admin |
Authorization | String | false | Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is the result returned by /api/v1/auth |
Request Parameters
Field | Type | Required | Remarks |
---|---|---|---|
address | String | false | uxuyId or address |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | the Return Code |
desc | String | the Return Message |
data | UserInfo | the Data |
The UserInfo field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
name | String | User Name |
avatar | String | User's Avatar |
did | String | User's DID |
uxuyId | String | User's uxuyId |
createdAt | String | User's register time |
Response Example
Return Code
code | desc | Remarks |
---|---|---|
0 | success | the flag for a successful request |
Last updated