History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
Service URL/v3/device/account/query
Parameter | Type | Required | Description |
operator_type | Integer | Yes | Operation type: 1: Batch query tokens by account2: Query accounts by token |
account_list | Array | No | Account list. This parameter is valid and required when operator_type is 1. Each element of the list contains one set of accounts. Example: [{"account":"account1"},{"account":"account2"}] |
token_list | Array | No | Token list. This parameter is valid and required when operator_type is 2. |
Parameter | Type | Description |
retCode | Integer | |
errMsg | String | Error message |
account_tokens | Array | Array of mappings from accounts to tokens. Example: [{"account":"account1","token_list":["token1","token2"]}{"account":"account2","token_list":["token2","token3"]}] |
token_accounts | Array | Array of mappings from tokens to accounts Example: [{"token":"token1","account_list":[{"account":"926@126.com"},{"account":"1527000000",}]},{"token":"token2","account_list":[{"account":"926@163.com"},{"account":"1527000001"}]}] |
{"operator_type": 1,"account_list": [{"account": "account1"},{"account": "account2"}]}
{"operator_type": 2,"token_list": ["token1","token2"]}
{"retCode": 0,"errMsg": "ok","result": ["0","0"],"account_tokens": [{"account": "account1","token_list": ["token1","token2"]},{"account": "account2","token_list": ["token2","token3"]}]}
{"retCode": 0,"errMsg": "ok","result": ["0","0"],"token_accounts": [{"token": "token1","account_list": [{"account": "926@126.com"},{"account": "1527000000"}]},{"token": "token2","account_list": [{"account": "926@163.com"},{"account": "1527000001"}]}]}
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan