Documentation homeEdgeNext Documentation Product guides, setup instructions, and technical references.
Endpoint Request URL: domain/config (POST)
API Host: cdn.api.edgenext.com
API Version: v2
Description Configures and modifies various features for acceleration domains. Supported features: origin, origin host, cache rules, referer blacklist/whitelist, IP blacklist, and response header addition.
Notes:
Rate limit: 30 requests per minute.
Each request supports configuring a single feature or multiple features simultaneously. When configuring multiple features at once, if any feature configuration is invalid, none of the features in the request will be applied.
Please contact your project manager to request access.
Request Parameters Common parameters: Tokens can be obtained from the on-call team.
POST Parameters Parameters support form-data, x-www-form-urlencoded, JSON, and other formats.
Parameter
Data Type
Required
Description
domains
string
Yes
Acceleration domain(s) to configure. Maximum 10 domains per request.
config
array
Yes
Feature configuration items:origin: Origin serverorigin_host: Origin host headercache_rule_list: Cache rules (new)referer: Referer blacklist/whitelistip_black_list: IP blacklistadd_response_head: Add response headers
origin (Origin Server)
Parameter
Data Type
Required
Description
default_master
string
Yes
Primary origin address. Accepts multiple IPs or a single domain.Separate multiple IPs with commas (,); primary and backup origins must not share the same IP or domain.
default_slave
string
No
Backup origin address. Accepts multiple IPs or a single domain.Separate multiple IPs with commas (,); primary and backup origins must not share the same IP or domain.
origin_mode
string
No
Origin pull protocol:default: Uses the protocol and port from the client requesthttp: HTTP protocol on port 80https: HTTPS protocol on port 443custom: Custom protocol (ori_https) and port (port)Default: default if not specified.
ori_https
string
No
Required when origin_mode=custom.HTTPS origin pull:yes: Enabledno: Disabled
port
int
No
Required when origin_mode=custom.Origin port. Valid range: 0–65535.
# Modify origin
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"origin": {
"default_master":"1.1.1.1,1.1.1.2",
"default_slave":"2.2.2.2",
"origin_mode":"custom",
"ori_https":"yes",
"port":1040
}
}
}'
Parameter
Data Type
Required
Description
host
string
Yes
Origin host header.If not set, the CDN uses the acceleration domain as the origin host.
# Set origin host
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"origin_host": {
"host": "www.example.com"
}
}
}'
cache_rule (Cache Rules — Legacy)
Parameter
Data Type
Required
Description
type
int
Yes
Cache rule type:1: File extension2: Directory3: Exact path match4: Regex
pattern
string
Yes
Cache rule pattern. Multiple values separated by commas, e.g.:For type=1: jpg,png,gifFor type=2: /product/index,/test/index,/user/indexFor type=3: /index.html,/test/*.jpg,/user/get?indexFor type=4: See regex usage note below. Requests matching the regex use this cache rule.Default: caches with query strings, ignores no-cache headers, does not ignore origin expiration.
time
int
Yes
Cache duration, combined with timeunit. Maximum: 2 years.When time=0, caching is disabled for the specified pattern (no-cache).
timeunit
string
No
Cache time unit. Default: s. Options: Y (year), M (month), D (day), h (hour), i (minute), s (second)
ignore_no_cache
string
No
Effective only when time > 0. Ignore origin no-cache headers. Default: off. Options: on, off
ignore_expired
string
No
Effective only when time > 0. Ignore origin expiration time. Default: on. Options: on, off
ignore_query
string
No
Effective only when time > 0. Ignore query string for both caching and origin pulls. Default: off. Options: on, off
Regex Cache Rule Usage Note : Regex rules are intended for scenarios where standard rule types are insufficient. Improper use can cause unexpected caching issues. We recommend only developers familiar with regex use this feature. When a regex rule is set, the full request URL (including protocol, domain, port if present, path, and query string) is matched against the regex. On match, the rule's cache TTL applies.
Example 1: .*\.(gif|png|jpg)$ — matches all URLs ending with .gif, .png, or .jpg.
Example 2: ^https?://[^/]+/dir1/dir2/(dir3_1|dir3_2)\.html — matches /dir1/dir2/dir3_1.html and /dir1/dir2/dir3_2.html on the current domain.
# Add cache rules (multiple rules supported)
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"aa.qingcdn.com",
"config": {
"cache_rule":[
{
"type":1,
"pattern":"jpg,png,gif",
"time":3600
},
{
"type":1,
"pattern":"avi,mp4,mpeg",
"time":3600
}
]
}
}'
cache_rule_list (Cache Rules — New)
Parameter
Data Type
Required
Description
match_method
string
Yes
Match type:ext: File extensiondir: Directoryroute: Exact path match
pattern
string
Yes
Match pattern. Multiple values separated by commas, e.g.:For match_method=ext: jpg,png,gifFor match_method=dir: /product/index,/user/indexFor match_method=route: /index.html,/user/get?index
case_ignore
string
No
Case-insensitive pattern matching:yes: Case-insensitiveno: Case-sensitiveDefault: yes.
expire
int
Yes
Cache expiration time. Combined with expire_unit. Maximum: 2 years.When expire=0, caching is disabled for the specified pattern.
expire_unit
string
No
Cache time unit:Y: YearM: MonthD: Dayh: Houri: Minutes: SecondDefault: s.
ignore_no_cache_headers
string
No
Ignore no-cache directives in origin response headers (e.g. Cache-Control: no-cache):no: Honor origin headersyes: Ignore origin headersDefault: no.
follow_expired
string
No
Follow origin cache expiration:no: Do not followyes: FollowDefault: no.
query_params_op
string
No
Query string handling:do_nothing: Preserve query stringcache_back_source_remove: Strip query string for both caching and origin pullsDefault: do_nothing.
priority
int
No
Rule priority. Lower values take higher precedence and are evaluated first.
# Set 2 cache rules
curl -X POST "http://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"cache_rule_list":[
{
"match_method":"dir",
"pattern":"/www/html,/www/aaa",
"case_ignore":"no",
"priority":13,
"expire":60,
"expire_unit":"i",
"ignore_no_cache_headers":"yes",
"follow_expired":"no",
"query_params_op":"do_nothing"
},
{
"match_method":"ext",
"pattern":"php,jsp,asp,aspx",
"case_ignore":"no",
"priority":15,
"expire":3600,
"expire_unit":"s",
"ignore_no_cache_headers":"yes",
"follow_expired":"no",
"query_params_op":"cache_back_source_remove"
}
]
}
}'
referer (Referer Blacklist/Whitelist — Hotlink Protection)
Parameter
Data Type
Required
Description
type
int
Yes
Hotlink protection type:1: Referer blacklist2: Referer whitelist
list
array
Yes
Referer list. Maximum 200 entries. Multiple values separated by commas; regex not supported. For wildcard domains, prefix with *., e.g. *.example2.com — matches any subdomain and empty host header.
allow_empty
bool
No
Allow requests with empty referer:true: Allowedfalse: BlockedDefault: true.
# Set referer blacklist
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"referer": {
"type":"1",
"list":[
"*.example.com",
"www.example2.com"
],
"allow_empty":true
}
}
}'
# Set referer whitelist
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"referer": {
"type":"2",
"list":[
"*.example.com",
"www.example2.com"
],
"allow_empty":false
}
}
}'
ip_black_list (IP Blacklist)
Parameter
Data Type
Required
Description
list
array
Yes
IP blacklist entries. Supports /8, /16, and /24 CIDR blocks; ranges must not overlap. Maximum 500 entries, separated by commas.IP blacklist and IP whitelist are mutually exclusive. Setting an IP blacklist clears any existing IP whitelist configuration.
mode
string
No
append: Append to existing listcover: Overwrite existing list (default)
# Set IP blacklist
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H 'content-type: application/json' \
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"ip_black_list": {
"list": [
"14.12.11.0/24",
"1.2.3.4"
],
"mode": "cover"
}
}
}'
Parameter
Data Type
Required
Description
type
string
Yes
Response header operation mode:reset: Replace all response headers with the provided setadd: Append response headers. If a key already exists, its value is overwritten.remove: Delete specified response headers.
list
array
Yes
Header list:For reset and add: Pass header name and value — {"name":"Content-Type","value":"text/html"}For remove: Pass only header names — "Content-Type"
# Add response headers — reset mode
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H "Content-Type: application/json"\
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"add_response_head": {
"type":"reset",
"list":[
{
"name":"Content-Type",
"value":"text/html; charset=ISO-8859-4"
},
{
"name":"Cache-Control",
"value":"max-age=300, must-revalidate"
}
]
}
}
}'
# Add response headers — add mode
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H "Content-Type: application/json"\
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"add_response_head": {
"type":"add",
"list":[
{
"name":"Content-T1",
"value":"text/html; charset=ISO-8859-4"
},
{
"name":"Cache-C1",
"value":"max-age=300, must-revalidate"
}
]
}
}
}'
# Remove response headers — remove mode
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H "Content-Type: application/json"\
-d '{
"token":"xxx",
"domains":"example.com",
"config": {
"add_response_head": {
"type":"remove",
"list":[
"Content-T1",
"Cache-C1"
]
}
}
}'
Example — Multiple Features # Configure multiple features
curl -X POST "https://cdn.api.edgenext.com/v2/domain/config"\
-H "Content-Type: application/json"\
-d '{
"token":"xxx",
"domains":"example.com,example2.com",
"config": {
"origin": {
"default_master": "133.233.133.33",
"default_slave": "12.13.41.21"
},
"origin_host": {
"host": "test.example.com"
},
"referer": {
"type": 1,
"list": [
"*.example.com",
"new.vx.example.com"
],
"allow_empty": false
},
"ip_black_list": {
"list": [
"14.12.11.0/24",
"1.2.3.1"
]
},
"add_response_head":{
"type":"add",
"list":[
{
"name":"Content-Type",
"value":"text/html; charset=ISO-8859-4"
},
{
"name":"Cache-Control",
"value":"max-age=300, must-revalidate"
}
]
},
"https":{
"cert_id":123
}
}
}'
Response Example JSON format — returns the successfully applied configuration corresponding to the requested parameters:
{
"code": 0, // 0 = success; non-zero returns error message
"data": {
"config": {
"origin": {
"default_master": "133.233.133.33",
"default_slave": "12.13.41.21"
},
...
}
}
}
HTTP/1.0 200 OK
Api-Id: 221328331
Content-Type: application/json; charset=utf-8
X-Ratelimit-Grad: minute // Rate limit granularity (minute/hour/day)
X-Ratelimit-Limit: 50 // Requests per minute limit
X-Ratelimit-Remaining: 29 // Remaining requests this minute
X-Retry-After: 43 // Seconds until the current rate limit window resets
HTTP Status Codes
Status Code
Description
404
The requested URL is invalid
401
Authentication error — invalid token or API access not enabled
400
Invalid request parameters
200
Request succeeded, data returned
5xx
Please contact the on-call team
Getting Started Products Content Delivery Security Computing Solutions By Industry By Need Resources Documentation Resources
© 2026 EdgeNext. All rights reserved.
— matches all URLs ending with .gif, .png, or .jpg.\\n\u003e 2. Example 2: `^https?://[^/]+/dir1/dir2/(dir3_1|dir3_2)\\\\.html` — matches `/dir1/dir2/dir3_1.html` and `/dir1/dir2/dir3_2.html` on the current domain.\\n\\n```\\n# Add cache rules (multiple rules supported)\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H 'content-type: application/json' \\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"aa.qingcdn.com\\\",\\n \\\"config\\\": {\\n \\\"cache_rule\\\":[\\n {\\n \\\"type\\\":1,\\n \\\"pattern\\\":\\\"jpg,png,gif\\\",\\n \\\"time\\\":3600\\n },\\n {\\n \\\"type\\\":1,\\n \\\"pattern\\\":\\\"avi,mp4,mpeg\\\",\\n \\\"time\\\":3600\\n }\\n ]\\n }\\n}'\\n```\\n\\n#### cache_rule_list (Cache Rules — New)\\n\\n| Parameter | Data Type | Required | Description |\\n| ----------------------- | --------- | -------- | ------------------------------------------------------------ |\\n| match_method | string | Yes | Match type:`ext`: File extension`dir`: Directory`route`: Exact path match |\\n| pattern | string | Yes | Match pattern. Multiple values separated by commas, e.g.:For `match_method=ext`: `jpg,png,gif`For `match_method=dir`: `/product/index,/user/index`For `match_method=route`: `/index.html,/user/get?index` |\\n| case_ignore | string | No | Case-insensitive pattern matching:`yes`: Case-insensitive`no`: Case-sensitiveDefault: `yes`. |\\n| expire | int | Yes | Cache expiration time. Combined with `expire_unit`. Maximum: 2 years.When `expire=0`, caching is disabled for the specified pattern. |\\n| expire_unit | string | No | Cache time unit:`Y`: Year`M`: Month`D`: Day`h`: Hour`i`: Minute`s`: SecondDefault: `s`. |\\n| ignore_no_cache_headers | string | No | Ignore no-cache directives in origin response headers (e.g. `Cache-Control: no-cache`):`no`: Honor origin headers`yes`: Ignore origin headersDefault: `no`. |\\n| follow_expired | string | No | Follow origin cache expiration:`no`: Do not follow`yes`: FollowDefault: `no`. |\\n| query_params_op | string | No | Query string handling:`do_nothing`: Preserve query string`cache_back_source_remove`: Strip query string for both caching and origin pullsDefault: `do_nothing`. |\\n| priority | int | No | Rule priority. Lower values take higher precedence and are evaluated first. |\\n\\n```\\n# Set 2 cache rules\\ncurl -X POST \\\"http://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H 'content-type: application/json' \\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": {\\n \\\"cache_rule_list\\\":[\\n {\\n \\\"match_method\\\":\\\"dir\\\",\\n \\\"pattern\\\":\\\"/www/html,/www/aaa\\\",\\n \\\"case_ignore\\\":\\\"no\\\",\\n \\\"priority\\\":13,\\n \\\"expire\\\":60,\\n \\\"expire_unit\\\":\\\"i\\\",\\n \\\"ignore_no_cache_headers\\\":\\\"yes\\\", \\n \\\"follow_expired\\\":\\\"no\\\",\\n \\\"query_params_op\\\":\\\"do_nothing\\\"\\n },\\n {\\n \\\"match_method\\\":\\\"ext\\\",\\n \\\"pattern\\\":\\\"php,jsp,asp,aspx\\\",\\n \\\"case_ignore\\\":\\\"no\\\",\\n \\\"priority\\\":15,\\n \\\"expire\\\":3600,\\n \\\"expire_unit\\\":\\\"s\\\",\\n \\\"ignore_no_cache_headers\\\":\\\"yes\\\", \\n \\\"follow_expired\\\":\\\"no\\\",\\n \\\"query_params_op\\\":\\\"cache_back_source_remove\\\"\\n }\\n ]\\n }\\n}'\\n```\\n\\n#### referer (Referer Blacklist/Whitelist — Hotlink Protection)\\n\\n| Parameter | Data Type | Required | Description |\\n| ----------- | --------- | -------- | ------------------------------------------------------------ |\\n| type | int | Yes | Hotlink protection type:`1`: Referer blacklist`2`: Referer whitelist |\\n| list | array | Yes | Referer list. Maximum 200 entries. Multiple values separated by commas; regex not supported. For wildcard domains, prefix with `*.`, e.g. `*.example2.com` — matches any subdomain and empty host header. |\\n| allow_empty | bool | No | Allow requests with empty referer:`true`: Allowed`false`: BlockedDefault: `true`. |\\n\\n```\\n# Set referer blacklist\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H 'content-type: application/json' \\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": { \\n \\\"referer\\\": {\\n \\\"type\\\":\\\"1\\\",\\n \\\"list\\\":[\\n \\t\\\"*.example.com\\\",\\n \\\"www.example2.com\\\"\\n ],\\n \\\"allow_empty\\\":true\\n }\\n }\\n}'\\n```\\n\\n```\\n# Set referer whitelist\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H 'content-type: application/json' \\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": { \\n \\\"referer\\\": {\\n \\\"type\\\":\\\"2\\\",\\n \\\"list\\\":[\\n \\t\\\"*.example.com\\\",\\n \\\"www.example2.com\\\"\\n ],\\n \\\"allow_empty\\\":false\\n }\\n }\\n}'\\n```\\n\\n#### ip_black_list (IP Blacklist)\\n\\n| Parameter | Data Type | Required | Description |\\n| --------- | --------- | -------- | ------------------------------------------------------------ |\\n| list | array | Yes | IP blacklist entries. Supports /8, /16, and /24 CIDR blocks; ranges must not overlap. Maximum 500 entries, separated by commas.`IP blacklist and IP whitelist are mutually exclusive. Setting an IP blacklist clears any existing IP whitelist configuration.` |\\n| mode | string | No | `append`: Append to existing list`cover`: Overwrite existing list (default) |\\n\\n```\\n# Set IP blacklist\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H 'content-type: application/json' \\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": { \\n \\\"ip_black_list\\\": {\\n \\\"list\\\": [\\n \\t\\\"14.12.11.0/24\\\",\\n \\\"1.2.3.4\\\"\\n\\t\\t\\t],\\n \\\"mode\\\": \\\"cover\\\"\\n }\\n }\\n}'\\n```\\n\\n#### add_response_head (Add Response Headers)\\n\\n| Parameter | Data Type | Required | Description |\\n| --------- | --------- | -------- | ------------------------------------------------------------ |\\n| type | string | Yes | Response header operation mode:`reset`: Replace all response headers with the provided set`add`: Append response headers. If a key already exists, its value is overwritten.`remove`: Delete specified response headers. |\\n| list | array | Yes | Header list:For `reset` and `add`: Pass header name and value — `{\\\"name\\\":\\\"Content-Type\\\",\\\"value\\\":\\\"text/html\\\"}`For `remove`: Pass only header names — `\\\"Content-Type\\\"` |\\n\\n```\\n# Add response headers — reset mode\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H \\\"Content-Type: application/json\\\"\\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": {\\n \\\"add_response_head\\\": {\\n \\\"type\\\":\\\"reset\\\",\\n \\\"list\\\":[\\n {\\n \\\"name\\\":\\\"Content-Type\\\", \\n \\\"value\\\":\\\"text/html; charset=ISO-8859-4\\\"\\n },\\n {\\n \\\"name\\\":\\\"Cache-Control\\\", \\n \\\"value\\\":\\\"max-age=300, must-revalidate\\\"\\n }\\n ]\\n }\\n }\\n}'\\n\\n# Add response headers — add mode\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H \\\"Content-Type: application/json\\\"\\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": {\\n \\\"add_response_head\\\": {\\n \\\"type\\\":\\\"add\\\",\\n \\\"list\\\":[\\n {\\n \\\"name\\\":\\\"Content-T1\\\", \\n \\\"value\\\":\\\"text/html; charset=ISO-8859-4\\\"\\n },\\n {\\n \\\"name\\\":\\\"Cache-C1\\\", \\n \\\"value\\\":\\\"max-age=300, must-revalidate\\\"\\n }\\n ]\\n }\\n }\\n}'\\n\\n# Remove response headers — remove mode\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H \\\"Content-Type: application/json\\\"\\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com\\\",\\n \\\"config\\\": {\\n \\\"add_response_head\\\": {\\n \\\"type\\\":\\\"remove\\\",\\n \\\"list\\\":[\\n \\\"Content-T1\\\",\\n \\\"Cache-C1\\\"\\n ]\\n }\\n }\\n}'\\n```\\n\\n## Example — Multiple Features\\n\\n```\\n# Configure multiple features\\ncurl -X POST \\\"https://cdn.api.edgenext.com/v2/domain/config\\\"\\\\\\n -H \\\"Content-Type: application/json\\\"\\\\\\n -d '{\\n \\\"token\\\":\\\"xxx\\\",\\n \\\"domains\\\":\\\"example.com,example2.com\\\",\\n \\\"config\\\": {\\n \\\"origin\\\": {\\n \\\"default_master\\\": \\\"133.233.133.33\\\",\\n \\\"default_slave\\\": \\\"12.13.41.21\\\"\\n },\\n \\\"origin_host\\\": {\\n \\\"host\\\": \\\"test.example.com\\\"\\n },\\n \\\"referer\\\": {\\n \\\"type\\\": 1,\\n \\\"list\\\": [\\n \\\"*.example.com\\\",\\n \\\"new.vx.example.com\\\"\\n ],\\n \\\"allow_empty\\\": false\\n },\\n \\\"ip_black_list\\\": {\\n \\\"list\\\": [\\n \\\"14.12.11.0/24\\\",\\n \\\"1.2.3.1\\\"\\n ]\\n },\\n \\\"add_response_head\\\":{\\n \\\"type\\\":\\\"add\\\",\\n \\\"list\\\":[\\n {\\n \\\"name\\\":\\\"Content-Type\\\", \\n \\\"value\\\":\\\"text/html; charset=ISO-8859-4\\\"\\n },\\n {\\n \\\"name\\\":\\\"Cache-Control\\\", \\n \\\"value\\\":\\\"max-age=300, must-revalidate\\\"\\n }\\n ]\\n },\\n \\\"https\\\":{\\n \\\"cert_id\\\":123\\n }\\n }\\n}'\\n```\\n\\n## Response Example\\n\\nJSON format — returns the successfully applied configuration corresponding to the requested parameters:\\n\\n```\\n{\\n \\\"code\\\": 0, // 0 = success; non-zero returns error message\\n \\\"data\\\": {\\n \\\"config\\\": {\\n \\\"origin\\\": {\\n \\\"default_master\\\": \\\"133.233.133.33\\\",\\n \\\"default_slave\\\": \\\"12.13.41.21\\\"\\n },\\n ...\\n }\\n }\\n}\\n```\\n\\n## Response Headers\\n\\n```\\nHTTP/1.0 200 OK\\nApi-Id: 221328331\\nContent-Type: application/json; charset=utf-8\\nX-Ratelimit-Grad: minute // Rate limit granularity (minute/hour/day)\\nX-Ratelimit-Limit: 50 // Requests per minute limit\\nX-Ratelimit-Remaining: 29 // Remaining requests this minute\\nX-Retry-After: 43 // Seconds until the current rate limit window resets\\n```\\n\\n## HTTP Status Codes\\n\\n| Status Code | Description |\\n| ----------- | ------------------------------------------------------------ |\\n| 404 | The requested URL is invalid |\\n| 401 | Authentication error — invalid token or API access not enabled |\\n| 400 | Invalid request parameters |\\n| 200 | Request succeeded, data returned |\\n| 5xx | Please contact the on-call team |\",\"tree\":[{\"type\":\"category\",\"id\":\"en:cdn:/1:0\",\"title\":\"Product Introduction\",\"slug\":\"product-introduction\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/product-introduction/product-overview\",\"title\":\"Product Overview\",\"slug\":\"product-introduction/product-overview\",\"path\":\"cdn/product-introduction/product-overview\"},{\"type\":\"doc\",\"id\":\"cdn/product-introduction/application-scenario\",\"title\":\"Application scenario\",\"slug\":\"product-introduction/application-scenario\",\"path\":\"cdn/product-introduction/application-scenario\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/2:0\",\"title\":\"Quick Start\",\"slug\":\"quick-start\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/quick-start/login-console\",\"title\":\"Login console\",\"slug\":\"quick-start/login-console\",\"path\":\"cdn/quick-start/login-console\"},{\"type\":\"doc\",\"id\":\"cdn/quick-start/create-domain\",\"title\":\"Create domain\",\"slug\":\"quick-start/create-domain\",\"path\":\"cdn/quick-start/create-domain\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/3:0\",\"title\":\"Configuration Guide\",\"slug\":\"configuration-guide\",\"children\":[{\"type\":\"category\",\"id\":\"en:cdn:/3/1:1\",\"title\":\"Domain Manage\",\"slug\":\"domain-manage\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/function-overview\",\"title\":\"Function Overview\",\"slug\":\"configuration-guide/domain-manage/function-overview\",\"path\":\"cdn/configuration-guide/domain-manage/function-overview\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/basic-configure\",\"title\":\"Basic Configure\",\"slug\":\"configuration-guide/domain-manage/basic-configure\",\"path\":\"cdn/configuration-guide/domain-manage/basic-configure\"},{\"type\":\"category\",\"id\":\"en:cdn:/3/1/3:2\",\"title\":\"Origin Configure\",\"slug\":\"origin-configure\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/origin-configure/origin-host-configure\",\"title\":\"Origin Host Configure\",\"slug\":\"configuration-guide/domain-manage/origin-configure/origin-host-configure\",\"path\":\"cdn/configuration-guide/domain-manage/origin-configure/origin-host-configure\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/origin-configure/request-header-configure\",\"title\":\"Request Header Configure\",\"slug\":\"configuration-guide/domain-manage/origin-configure/request-header-configure\",\"path\":\"cdn/configuration-guide/domain-manage/origin-configure/request-header-configure\"}]},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/cache-configure\",\"title\":\"Cache Configure\",\"slug\":\"configuration-guide/domain-manage/cache-configure\",\"path\":\"cdn/configuration-guide/domain-manage/cache-configure\"},{\"type\":\"category\",\"id\":\"en:cdn:/3/1/5:2\",\"title\":\"Access Control\",\"slug\":\"access-control\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/access-control/access-control-by-ip\",\"title\":\"Access Control by IP\",\"slug\":\"configuration-guide/domain-manage/access-control/access-control-by-ip\",\"path\":\"cdn/configuration-guide/domain-manage/access-control/access-control-by-ip\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/access-control/access-control-by-referer-header\",\"title\":\"Access Control by Referer Header\",\"slug\":\"configuration-guide/domain-manage/access-control/access-control-by-referer-header\",\"path\":\"cdn/configuration-guide/domain-manage/access-control/access-control-by-referer-header\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/3/1/6:2\",\"title\":\"HTTPS Related\",\"slug\":\"https-related\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/https-related/http2-0-configure\",\"title\":\"HTTP2.0 Configure\",\"slug\":\"configuration-guide/domain-manage/https-related/http2-0-configure\",\"path\":\"cdn/configuration-guide/domain-manage/https-related/http2-0-configure\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/https-related/https-configure\",\"title\":\"HTTPS Configure\",\"slug\":\"configuration-guide/domain-manage/https-related/https-configure\",\"path\":\"cdn/configuration-guide/domain-manage/https-related/https-configure\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/https-related/ocsp-configure\",\"title\":\"OCSP Configure\",\"slug\":\"configuration-guide/domain-manage/https-related/ocsp-configure\",\"path\":\"cdn/configuration-guide/domain-manage/https-related/ocsp-configure\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/https-related/http-forced-jump-to-https\",\"title\":\"HTTP Forced Jump to HTTPS\",\"slug\":\"configuration-guide/domain-manage/https-related/http-forced-jump-to-https\",\"path\":\"cdn/configuration-guide/domain-manage/https-related/http-forced-jump-to-https\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/3/1/7:2\",\"title\":\"Advanced Configure\",\"slug\":\"advanced-configure\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/advanced-configure/smart-compression\",\"title\":\"Smart Compression\",\"slug\":\"configuration-guide/domain-manage/advanced-configure/smart-compression\",\"path\":\"cdn/configuration-guide/domain-manage/advanced-configure/smart-compression\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/domain-manage/advanced-configure/custom-response-header\",\"title\":\"Custom Response Header\",\"slug\":\"configuration-guide/domain-manage/advanced-configure/custom-response-header\",\"path\":\"cdn/configuration-guide/domain-manage/advanced-configure/custom-response-header\"}]}]},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/log-download\",\"title\":\"Log Download\",\"slug\":\"configuration-guide/log-download\",\"path\":\"cdn/configuration-guide/log-download\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/basic-data\",\"title\":\"Basic Data\",\"slug\":\"configuration-guide/basic-data\",\"path\":\"cdn/configuration-guide/basic-data\"},{\"type\":\"category\",\"id\":\"en:cdn:/3/4:1\",\"title\":\"Purge and Prewarm\",\"slug\":\"purge-and-prewarm\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/purge-and-prewarm/purge-content\",\"title\":\"Purge Content\",\"slug\":\"configuration-guide/purge-and-prewarm/purge-content\",\"path\":\"cdn/configuration-guide/purge-and-prewarm/purge-content\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/purge-and-prewarm/prewarm-content\",\"title\":\"Prewarm Content\",\"slug\":\"configuration-guide/purge-and-prewarm/prewarm-content\",\"path\":\"cdn/configuration-guide/purge-and-prewarm/prewarm-content\"},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/purge-and-prewarm/operation-record\",\"title\":\"Operation Record\",\"slug\":\"configuration-guide/purge-and-prewarm/operation-record\",\"path\":\"cdn/configuration-guide/purge-and-prewarm/operation-record\"}]},{\"type\":\"doc\",\"id\":\"cdn/configuration-guide/alarm-manage\",\"title\":\"Alarm Manage\",\"slug\":\"configuration-guide/alarm-manage\",\"path\":\"cdn/configuration-guide/alarm-manage\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/4:0\",\"title\":\"API Document\",\"slug\":\"api-document\",\"children\":[{\"type\":\"category\",\"id\":\"en:cdn:/4/1:1\",\"title\":\"Statistic Analysis\",\"slug\":\"statistic-analysis\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/bandwidth-traffic-query\",\"title\":\"Bandwidth Traffic Query\",\"slug\":\"api-document/statistic-analysis/bandwidth-traffic-query\",\"path\":\"cdn/api-document/statistic-analysis/bandwidth-traffic-query\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/http-status-code-statistics\",\"title\":\"HTTP Status Code Statistics\",\"slug\":\"api-document/statistic-analysis/http-status-code-statistics\",\"path\":\"cdn/api-document/statistic-analysis/http-status-code-statistics\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/per-domain-traffic-bandwidth-usage-statistics\",\"title\":\"Per-Domain Traffic_Bandwidth Usage Statistics\",\"slug\":\"api-document/statistic-analysis/per-domain-traffic-bandwidth-usage-statistics\",\"path\":\"cdn/api-document/statistic-analysis/per-domain-traffic-bandwidth-usage-statistics\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/per-domain-edge-request-count\",\"title\":\"Per-Domain Edge Request Count\",\"slug\":\"api-document/statistic-analysis/per-domain-edge-request-count\",\"path\":\"cdn/api-document/statistic-analysis/per-domain-edge-request-count\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/per-domain-status-code\",\"title\":\"Per-Domain Status Code\",\"slug\":\"api-document/statistic-analysis/per-domain-status-code\",\"path\":\"cdn/api-document/statistic-analysis/per-domain-status-code\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/per-domain-origin-bandwidth-and-traffic\",\"title\":\"Per-Domain Origin Bandwidth and Traffic\",\"slug\":\"api-document/statistic-analysis/per-domain-origin-bandwidth-and-traffic\",\"path\":\"cdn/api-document/statistic-analysis/per-domain-origin-bandwidth-and-traffic\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/per-domain-origin-requests-count\",\"title\":\"Per-Domain Origin Requests Count\",\"slug\":\"api-document/statistic-analysis/per-domain-origin-requests-count\",\"path\":\"cdn/api-document/statistic-analysis/per-domain-origin-requests-count\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/per-domain-page-view-count\",\"title\":\"Per-Domain Page View Count\",\"slug\":\"api-document/statistic-analysis/per-domain-page-view-count\",\"path\":\"cdn/api-document/statistic-analysis/per-domain-page-view-count\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/origin-error-ratio\",\"title\":\"Origin Error Ratio\",\"slug\":\"api-document/statistic-analysis/origin-error-ratio\",\"path\":\"cdn/api-document/statistic-analysis/origin-error-ratio\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/traffic-aggregator-domains-request-count\",\"title\":\"traffic - Aggregator Domains - Request Count\",\"slug\":\"api-document/statistic-analysis/traffic-aggregator-domains-request-count\",\"path\":\"cdn/api-document/statistic-analysis/traffic-aggregator-domains-request-count\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/traffic-per-domain-request-count\",\"title\":\"traffic - Per-Domain Request Count\",\"slug\":\"api-document/statistic-analysis/traffic-per-domain-request-count\",\"path\":\"cdn/api-document/statistic-analysis/traffic-per-domain-request-count\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/statistic-analysis/request-count-statistics\",\"title\":\"Request Count Statistics\",\"slug\":\"api-document/statistic-analysis/request-count-statistics\",\"path\":\"cdn/api-document/statistic-analysis/request-count-statistics\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/4/2:1\",\"title\":\"Domain Operate\",\"slug\":\"domain-operate\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/api-document/domain-operate/create-domain\",\"title\":\"Create Domain\",\"slug\":\"api-document/domain-operate/create-domain\",\"path\":\"cdn/api-document/domain-operate/create-domain\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/domain-operate/domain-details-query\",\"title\":\"Domain Details Query\",\"slug\":\"api-document/domain-operate/domain-details-query\",\"path\":\"cdn/api-document/domain-operate/domain-details-query\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/domain-operate/domain-list-query\",\"title\":\"Domain List Query\",\"slug\":\"api-document/domain-operate/domain-list-query\",\"path\":\"cdn/api-document/domain-operate/domain-list-query\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/4/3:1\",\"title\":\"Purge and Prewarm\",\"slug\":\"purge-and-prewarm\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/api-document/purge-and-prewarm/purge-content\",\"title\":\"Purge Content\",\"slug\":\"api-document/purge-and-prewarm/purge-content\",\"path\":\"cdn/api-document/purge-and-prewarm/purge-content\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/purge-and-prewarm/purge-query\",\"title\":\"Purge Query\",\"slug\":\"api-document/purge-and-prewarm/purge-query\",\"path\":\"cdn/api-document/purge-and-prewarm/purge-query\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/purge-and-prewarm/purge-residual-query\",\"title\":\"Purge Residual Query\",\"slug\":\"api-document/purge-and-prewarm/purge-residual-query\",\"path\":\"cdn/api-document/purge-and-prewarm/purge-residual-query\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/purge-and-prewarm/prewarm-content\",\"title\":\"Prewarm Content\",\"slug\":\"api-document/purge-and-prewarm/prewarm-content\",\"path\":\"cdn/api-document/purge-and-prewarm/prewarm-content\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/purge-and-prewarm/prewarming-query\",\"title\":\"Prewarming Query\",\"slug\":\"api-document/purge-and-prewarm/prewarming-query\",\"path\":\"cdn/api-document/purge-and-prewarm/prewarming-query\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/purge-and-prewarm/prewarming-residual-query\",\"title\":\"Prewarming Residual Query\",\"slug\":\"api-document/purge-and-prewarm/prewarming-residual-query\",\"path\":\"cdn/api-document/purge-and-prewarm/prewarming-residual-query\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/4/4:1\",\"title\":\"Basic Data\",\"slug\":\"basic-data\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/api-document/basic-data/log-download\",\"title\":\"Log Download\",\"slug\":\"api-document/basic-data/log-download\",\"path\":\"cdn/api-document/basic-data/log-download\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/basic-data/isp-list\",\"title\":\"ISP List\",\"slug\":\"api-document/basic-data/isp-list\",\"path\":\"cdn/api-document/basic-data/isp-list\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/basic-data/country-and-region-list\",\"title\":\"Country and Region List\",\"slug\":\"api-document/basic-data/country-and-region-list\",\"path\":\"cdn/api-document/basic-data/country-and-region-list\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/4/5:1\",\"title\":\"Config Operate\",\"slug\":\"config-operate\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/api-document/config-operate/domain-configure\",\"title\":\"Domain Configure\",\"slug\":\"api-document/config-operate/domain-configure\",\"path\":\"cdn/api-document/config-operate/domain-configure\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/config-operate/domain-configuration-query\",\"title\":\"Domain Configuration Query\",\"slug\":\"api-document/config-operate/domain-configuration-query\",\"path\":\"cdn/api-document/config-operate/domain-configuration-query\"}]},{\"type\":\"category\",\"id\":\"en:cdn:/4/6:1\",\"title\":\"Certificate Operate\",\"slug\":\"certificate-operate\",\"children\":[{\"type\":\"doc\",\"id\":\"cdn/api-document/certificate-operate/certificate-query\",\"title\":\"Certificate Query\",\"slug\":\"api-document/certificate-operate/certificate-query\",\"path\":\"cdn/api-document/certificate-operate/certificate-query\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/certificate-operate/delete-certificate\",\"title\":\"Delete Certificate\",\"slug\":\"api-document/certificate-operate/delete-certificate\",\"path\":\"cdn/api-document/certificate-operate/delete-certificate\"},{\"type\":\"doc\",\"id\":\"cdn/api-document/certificate-operate/createmodify-certificate\",\"title\":\"CreateModify Certificate\",\"slug\":\"api-document/certificate-operate/createmodify-certificate\",\"path\":\"cdn/api-document/certificate-operate/createmodify-certificate\"}]}]},{\"type\":\"doc\",\"id\":\"cdn/special-terms-and-conditions\",\"title\":\"Special Terms and Conditions\",\"slug\":\"special-terms-and-conditions\",\"path\":\"cdn/special-terms-and-conditions\"}],\"productTitle\":{\"en\":\"CDN\",\"zh\":\"CDN\"}}},\"actionData\":null,\"errors\":null}");