Security Acceleration Package¶
POST Get Security Acceleration Package¶
POST POST /prod-api/cdn/packageRest/list
Get the list of security acceleration packages
Body request parameters
{
"searchHeader": {
"activate": ["0"]
},
"pageSize": 10,
"pageNum": 1,
"params": {},
"filters": [
{
"label": "oid",
"value": ["202208251203408922"]
}
]
}
Request Parameters¶
Name | Location | Type | Required | Chinese Name | Description |
---|---|---|---|---|---|
Authorization | header | string | No | none | |
body | body | object | No | none | |
» filters | body | [object] | No | Search | none |
»» label | body | string | No | Name | Package/Package Name:oid/packageName |
»» value | body | [string] | No | Value | Array type, single value for fuzzy search, multiple values for exact search |
» pageNum | body | integer(int32) | Yes | Current page number | none |
» pageSize | body | integer(int32) | Yes | Number of items per page | none |
» params | body | object | No | none | |
» searchHeader | body | object | No | Filter conditions | none |
»» activate | body | [string] | Yes | Package status | 0: Pending payment -1: Unsubscribed 1: In use 3: Closed 4: Configuring |
Detailed Explanation »» activate: 0: Pending payment -1: Unsubscribed 1: In use 3: Closed 4: Configuring Example: activate:["0"]
Response Example
{
"total": 1,
"rows": [
{
"ctime": 1661408922,
"isTest": 1,
"domainCnt": 30,
"topDomainCnt": 23,
"maxDomainCou": 105,
"maxTopDomainCou": 101,
"distributionCnt": null,
"oid": "20220812345687",
"packageName": "测试WAF",
"price": 0,
"remark": "",
"activate": 1,
"mday": "2024-06-27",
"lastday": 156,
"alias": "223.122.19.20",
"bandwidth": 0
}
],
"code": 200,
"msg": "Query successful"
}
201 Response
Response Results¶
Status Code | Status Code Meaning | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
201 | Created | none | Inline |
401 | Unauthorized | none | Inline |
403 | Forbidden | none | Inline |
404 | Not Found | none | Inline |
Response Data Structure¶
Status Code 200
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
» total | integer | true | none | Total count | none |
» rows | [object] | true | none | none | |
»» ctime | integer | false | none | Expiration time | none |
»» isTest | integer | false | none | Package type | 0: Test package 1: Official package |
»» domainCnt | integer | false | none | Domain count | none |
»» topDomainCnt | integer | false | none | Top-level domain count | none |
»» maxDomainCou | integer | false | none | Total domain count | none |
»» maxTopDomainCou | integer | false | none | Total top-level domain count | none |
»» distributionCnt | null | false | none | none | |
»» oid | string | false | none | Package | none |
»» packageName | string | false | none | Package name | none |
»» price | integer | false | none | none | |
»» remark | string | false | none | Remarks | none |
»» activate | integer | false | none | Status | 0: Pending payment -1: Unsubscribed 1: In use 3: Closed 4: Configuring |
»» mday | string | false | none | Expiration date | none |
»» lastday | integer | false | none | Days until expiration | none |
»» alias | string | false | none | Alias | none |
»» bandwidth | integer | false | none | none | |
» code | integer | true | none | none | |
» msg | string | true | none | none |
Data Model¶
GetPackageListVO
{
"filters": [
{
"label": "string",
"value": ["string"]
}
],
"orderType": 0,
"pageNum": 0,
"pageSize": 0,
"params": {},
"searchHeader": {},
"status": 0,
"userId": 0
}
GetPackageListVO
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
filters | [object] | false | none | Search | none |
» label | string | false | none | Name | Package/Package Name:oid/packageName |
» value | [string] | false | none | Value | Array Type,single value for fuzzy search, multiple values for exact search |
orderType | integer(int32) | false | none | none | |
pageNum | integer(int32) | true | none | Current page number | none |
pageSize | integer(int32) | true | none | Number of items per page | none |
params | object | false | none | none | |
searchHeader | object | false | none | Filter conditions | none |
status | integer(int32) | false | none | none | |
userId | integer(int64) | false | none | none |
SearchFilterVo
SearchFilterVo
Attribute¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
label | string | false | none | Name | none |
value | [string] | false | none | Value | Array Type,single value for fuzzy search, multiple values for exact search |