Web2 Account
GET /api/v1/web2/account
Note: It is for querying a user's associated Web2 accounts. (Twitter is supported now)
Header
Field | Type | Remarks |
---|---|---|
ApiKey | String | The ApiKey obtained from Admin. |
Authorization | String | Bearer ${unifiedAuthToken} , in which the "unifiedAuthToken" is the result returned by /api/v1/auth |
Request Parameters
Field | Type | Remarks |
---|---|---|
address | String | web3 address |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | Return Code |
desc | String | Return Informatiom |
data | List[Web2Account] | Data |
The Web2Account field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
account | String | User's Web2 account |
platform | String | Web2 platforms: 0-twitter |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | The flag for a successful API call. |
Last updated