Query Isolation Zone List
Updated: 2022-09-02 18:08:07
API Description
1、查询隔离区ID下面所有分账号
2、接口支持https协议
API URL
Request Method
GET
API Constraints
The API supports both HTTP and HTTPS. HTTPS is recommended for security. API calls have frequency limits. See details
For group account APIs, use the group master account's appId and appSecret for signature calculation.
Request Parameter Description
| Parameter | Required | Type | Description |
|---|---|---|---|
| appId | true | String | Group master account appId |
| timestamp | true | Long | Current 13-digit millisecond timestamp, valid for 3 minutes |
| sign | true | String | Signature, a 32-character uppercase MD5 value. The appSecret key used to generate the signature is critical for communication data security. It must not be stored or used directly on the client. All APIs must be called through the customer's own server to relay requests to the POLYV server for response data. See signature generation rules |
| isolationId | true | String | Isolation zone ID, use the [User Global ID] returned when creating the account, i.e., userId The isolation zone ID cannot be used across different group accounts. |
Example
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Status code, same as HTTP status code, used to determine the basic response status |
| status | String | Response result, determined by the business. Returns success on success, error on failure |
| success | Boolean | Whether the response was successful |
| requestId | String | Request ID, a unique UUID generated for each request. Only used for troubleshooting and debugging, should not be tied to business logic |
| error | Object | Error information when the status code is not 200 See Error field description |
| data | Object | See data field description |
Error Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Error code, used to determine the specific error reason |
| desc | String | Error description, corresponds to error.code |
Data Parameter Description
| Parameter | Type | Description |
|---|---|---|
| userId | String | User global ID |
| String | ||
| password | String | Password, must contain both numbers and letters, length 8~32 characters |
| contacts | String | Contact person |
| phone | String | Phone number, a phone number cannot be bound to more than 3 emails |
| maxChannels | Integer | Maximum number of channels that can be created |
| minutes | Integer | Minutes, billed by minutes for the master account, this usage value is required |
| concurrent | Integer | Concurrent connections, billed by concurrency for the master account, this usage value is required |
| balance | Float | Amount, cannot be less than 0 |
| memo | String | Remarks, up to 50 characters |
| expireType | String | Expiration type group: Follows the master account custom: Custom |
| expireDate | String | Account expiration date, format MMMMYYDD, e.g., 20220428 |
| remainFlow | Integer | Video-on-demand traffic, unit G, default allocation 100G |
| remainSpace | Integer | Video-on-demand storage, unit G, default allocation 100G |
Java Request Example
Response Example
For system-wide error descriptions, see Global Error Description
Success Example
Error Example
{
"code": 400,
"status": "error",
"error": {
"code": 10003,
"desc": "时间戳过期"
},
"success": false
}
