QueryIgnoreProtocol

Update time: 2026-08-14 11:20:07

Applicable Products

Content Acceleration,Dynamic Web Acceleration,Media Acceleration VoD,Media Acceleration Live Broadcast

API Description

Protocol caching and push configuration are ignored through interface self-service queries

  • API URL: https://api.atomile.com/api/config/ignoreprotocol/*
  • Method: GET
  • Limit Description: · The accelerated domain name must have been filed. · Accelerated domain names must not contain the following information: sales of drugs and controlled tools, including illegal speech and information. · Video-accelerated domain names must have audiovisual licenses; blog forums or community-based accelerated domain names must have BBS special approval qualifications. · Interface requests and return results only accept xml format.

Call frequency

Single user trigger frequency: 300/5min

Request parameter(s)

Path Params

NameDescription
*domain-nameString
Domain name or domain ID that needs to be queried for configuration.

Response parameter(s)

Body Params

NameDescription
domain-nameString
Domain name or domain ID that needs to be queried for configuration.
domain-idString
Domain name or domain ID that needs to be queried for configuration.
ignore-protocol-rulesList
Ignore protocol caching and push configuration, parent tags 1. This must be filled when protocol cache and push configuration need to be ignored 2.:Clear the configuration ignore about protocol cache and pushing
path-patternString
Url matching pattern, support regular, if all matches, input parameters can be configured as:.*
except-path-patternString
The exception url matches the pattern in the same format as the path-pattern
cache-ignore-protocolString
Whether to ignore the protocol cache, with allowable values of true and false. True turns on the HTTP/HTTPS Shared cache. Not on by default.
purge-ignore-protocolString
It is recommended to use with cache-ignore protocol to avoid push failure. Note: 1. Once configured, the global effect is not applied to the matched path-pattern. 2. Directory push does not distinguish protocols, while url push can distinguish protocols
data-idLong
When configuring multiple groups of configurations, specify the id of a particular group of configurations

Error code

Error code(code)Description(message)HTTP statusSemantic
InvalidParameterNo domain was specified.\n\n400No domain was specified.\n\n
NoSuchDomainThe specified domain does not exist.404The specified domain does not exist.
CustomerNoOwnDomaincustomer not own domain name[XXX]\n400customer not own domain name[XXX]\n

Example

JSON
XML
JSON
Request example
Copy Copy success
#!/bin/bash
username="example_username"
apiKey="example_apiKey"
date=`env LANG="en_US.UTF-8" date -u "+%a, %d %b %Y %H:%M:%S GMT"`
password=`echo -en "$date" | openssl dgst -sha1 -hmac $apiKey -binary | openssl enc -base64`
curl -i --url "https://{@apiDomain}/api/config/ignoreprotocol/123344" \
-X "GET" \
-u "$username:$password" \
-H "Date: $date" \
-H "Accept: application/json" \
-H "Content-Type:application/json"
Response example
Copy Copy success
HTTP/1.1 200 OK
Date: Sun, 05 May 2019 09:08:53 GMT
Content-Type: application/json;charset=utf-8
x-cnc-request-id: 83bbebc7-2c95-47d7
{
 "domain-name":"www.example.com",
 "domain-id":"123344",
 "ignore-protocol-rules":[
 {
 "data-id":"111111",
 "path-pattern":".*",
 "except-path-pattern":"",
 "cache-ignore-protocol":"true",
 "purge-ignore-protocol":"true"
 }
]
}