blob: e310799822a7133bad956b51a2cc777bfc958c83 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Delivery Service &mdash; Traffic Control 2.2-dev documentation </title>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/theme_overrides.css" type="text/css" />
<link rel="index" title="Index"
href="../../genindex.html"/>
<link rel="search" title="Search" href="../../search.html"/>
<link rel="top" title="Traffic Control 2.2-dev documentation" href="../../index.html"/>
<link rel="up" title="API 1.2 Reference" href="index.html"/>
<link rel="next" title="Delivery Service Regexes" href="deliveryservice_regex.html"/>
<link rel="prev" title="Config Files and Config File Metadata" href="configfiles_ats.html"/>
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
<a href="/" class="icon icon-home"> Traffic Control
<img src="../../_static/tc_logo_c_only.png" class="logo" />
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../basics/index.html">CDN Basics</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../basics/content_delivery_networks.html">Content Delivery Networks</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../basics/http_11.html">HTTP 1.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../basics/caching_proxies.html">Caching Proxies</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../basics/cache_revalidation.html">Cache Control Headers and Revalidation</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../overview/index.html">Traffic Control Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../overview/introduction.html">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../overview/traffic_ops.html">Traffic Ops</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../overview/traffic_portal.html">Traffic Portal</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../overview/traffic_router.html">Traffic Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../overview/traffic_monitor.html">Traffic Monitor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../overview/traffic_stats.html">Traffic Stats</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../overview/traffic_vault.html">Traffic Vault</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../admin/index.html">Administrator’s Guide</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/installation.html">Traffic Ops - Installing</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/default_profiles.html">Traffic Ops - Default Profiles</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/migration_from_10_to_20.html">Traffic Ops - Migrating from 1.x to 2.x</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/migration_from_20_to_22.html">Traffic Ops - Migrating from 2.0 to 2.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/configuration.html">Traffic Ops - Configuring</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/using.html">Traffic Ops - Using</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_ops/extensions.html">Managing Traffic Ops Extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_portal/installation.html">Traffic Portal Administration</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_portal/usingtrafficportal.html">Traffic Portal - Using</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_monitor.html">Traffic Monitor Administration (Legacy)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_monitor_golang.html">Traffic Monitor Administration</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_router.html">Traffic Router Administration</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_stats.html">Traffic Stats Administration</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_server.html">Traffic Server Administration</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/traffic_vault.html">Traffic Vault Administration</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../admin/quick_howto/index.html">Quick How To Guides</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../development/index.html">Developer’s Guide</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../development/building.html">Building Traffic Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../development/traffic_ops.html">Traffic Ops</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../development/traffic_portal.html">Traffic Portal</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../development/traffic_router.html">Traffic Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../development/traffic_monitor.html">Traffic Monitor Golang</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../development/traffic_stats.html">Traffic Stats</a></li>
</ul>
</li>
</ul>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../index.html">APIs</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../traffic_ops_api.html">API Overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="../routes.html">API Routes</a></li>
<li class="toctree-l2"><a class="reference internal" href="../v11/index.html">API 1.1 Reference</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="index.html">API 1.2 Reference</a></li>
<li class="toctree-l2"><a class="reference internal" href="../v13/index.html">API 1.3 Reference</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../faq/index.html">FAQ</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../faq/general.html">General</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../faq/development.html">Development</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../faq/administration.html">Running a Traffic Control CDN</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li>
</ul>
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../index.html">Traffic Control</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html">Traffic Control 2.2-dev</a> &raquo;</li>
<li><a href="../index.html">APIs</a> &raquo;</li>
<li><a href="index.html">API 1.2 Reference</a> &raquo;</li>
<li>Delivery Service</li>
<li class="wy-breadcrumbs-aside">
<a href="../../_sources/api/v12/deliveryservice.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="deliveryservice_regex.html" class="btn btn-neutral float-right" title="Delivery Service Regexes">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="configfiles_ats.html" class="btn btn-neutral" title="Config Files and Config File Metadata"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<div role="main" class="document">
<div class="section" id="delivery-service">
<span id="to-api-v12-ds"></span><h1>Delivery Service<a class="headerlink" href="#delivery-service" title="Permalink to this headline"></a></h1>
<div class="section" id="api-1-2-deliveryservices">
<span id="to-api-v12-ds-route"></span><h2>/api/1.2/deliveryservices<a class="headerlink" href="#api-1-2-deliveryservices" title="Permalink to this headline"></a></h2>
<p><strong>GET /api/1.2/deliveryservices</strong></p>
<blockquote>
<div><p>Retrieves all delivery services (if admin or ops) or all delivery services assigned to user. See also <a class="reference external" href="http://trafficcontrol.apache.org/docs/latest/admin/traffic_ops_using.html#delivery-service">Using Traffic Ops - Delivery Service</a>.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Query Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdn</span></code></td>
<td>no</td>
<td>Filter delivery services by CDN ID.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profile</span></code></td>
<td>no</td>
<td>Filter delivery services by Profile ID.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">tenant</span></code></td>
<td>no</td>
<td>Filter delivery services by Tenant ID.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">type</span></code></td>
<td>no</td>
<td>Filter delivery services by Type ID.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">logsEnabled</span></code></td>
<td>no</td>
<td>Filter by logs enabled (true|false).</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="5%" />
<col width="78%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">active</span></code></td>
<td>bool</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">anonymousBlockingEnabled</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cacheurl</span></code></td>
<td>string</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ccrDnsTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr. host.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>int</td>
<td>Id of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">checkPath</span></code></td>
<td>string</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deepCachingType</span></code></td>
<td>string</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">displayName</span></code></td>
<td>string</td>
<td>The display name of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassCname</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp</span></code></td>
<td>string</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp6</span></code></td>
<td>string</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dscp</span></code></td>
<td>int</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">edgeHeaderRewrite</span></code></td>
<td>string</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">exampleURLs</span></code></td>
<td>array</td>
<td>Entry points into the CDN for this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoLimitRedirectUrl</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimit</span></code></td>
<td>int</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from USA</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoLimitCountries</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoProvider</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">globalMaxMbps</span></code></td>
<td>int</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">globalMaxTps</span></code></td>
<td>int</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">fqPacingRate</span></code></td>
<td>int</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpBypassFqdn</span></code></td>
<td>string</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>int</td>
<td>The deliveryservice id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">infoUrl</span></code></td>
<td>string</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">initialDispersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipv6RoutingEnabled</span></code></td>
<td>bool</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">logsEnabled</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc</span></code></td>
<td>string</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">longDesc1</span></code></td>
<td>string</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc2</span></code></td>
<td>string</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">maxDnsAnswers</span></code></td>
<td>int</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">midHeaderRewrite</span></code></td>
<td>string</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">missLat</span></code></td>
<td>float</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. 39.7391500 or null</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">missLong</span></code></td>
<td>float</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. -104.9847000 or null</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">multiSiteOrigin</span></code></td>
<td>bool</td>
<td>Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See <a class="reference internal" href="../../admin/traffic_ops/using.html#rl-multi-site-origin"><span class="std std-ref">Multi Site Origin</span></a></td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">orgServerFqdn</span></code></td>
<td>string</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">originShield</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileDescription</span></code></td>
<td>string</td>
<td>The description of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>int</td>
<td>The id of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileName</span></code></td>
<td>string</td>
<td>The name of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">protocol</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">qstringIgnore</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rangeRequestHandling</span></code></td>
<td>int</td>
<td>How to treat range requests:
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will be a HIT)
- 1 Use the <a class="reference external" href="https://docs.trafficserver.apache.org/en/latest/reference/plugins/background_fetch.en.html">background_fetch</a> plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">regexRemap</span></code></td>
<td>string</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">regionalGeoBlocking</span></code></td>
<td>bool</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">remapText</span></code></td>
<td>string</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routingName</span></code></td>
<td>string</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">signed</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">signingAlgorithm</span></code></td>
<td>string</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">sslKeyVersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">tenant</span></code></td>
<td>string</td>
<td>Owning tenant name</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">tenantId</span></code></td>
<td>int</td>
<td>Owning tenant ID</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">trRequestHeaders</span></code></td>
<td>string</td>
<td>List of header keys separated by __RETURN__. Listed headers will be included in TR access log entries under the “rh=” token.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">trResponseHeaders</span></code></td>
<td>string</td>
<td>List of header name:value pairs separated by __RETURN__. Listed pairs will be included in all TR HTTP responses.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>int</td>
<td>The type of this deliveryservice (one of :ref:to-api-v11-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>string</td>
<td>Unique string that describes this deliveryservice.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;cacheurl&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;ccrDnsTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;3600&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;checkPath&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;deepCachingType&quot;</span><span class="p">:</span> <span class="s2">&quot;NEVER&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;My Cool Delivery Service&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassCname&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp6&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;30&quot;</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="s2">&quot;40&quot;</span><span class="p">,</span>
<span class="s2">&quot;edgeHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;exampleURLs&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;http://foo.foo-ds.foo.bar.net&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;geoLimitCountries&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoLimitRedirectURL&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;globalMaxMbps&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;globalMaxTps&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;fqPacingRate&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpBypassFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;442&quot;</span><span class="p">,</span>
<span class="s2">&quot;infoUrl&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2016-01-26 08:49:35&quot;</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;longDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc1&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc2&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;maxDnsAnswers&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;midHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="s2">&quot;39.7391500&quot;</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="s2">&quot;-104.9847000&quot;</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://baz.boo.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;originShield&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;profileDescription&quot;</span><span class="p">:</span> <span class="s2">&quot;Content Router for over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileName&quot;</span><span class="p">:</span> <span class="s2">&quot;ROUTER_TOP&quot;</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;regexRemap&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;remapText&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;routingName&quot;</span><span class="p">:</span> <span class="s2">&quot;foo&quot;</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;sslKeyVersion&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenant&quot;</span><span class="p">:</span> <span class="s2">&quot;root&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;trRequestHeaders&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;trResponseHeaders&quot;</span><span class="p">:</span> <span class="s2">&quot;Access-Control-Allow-Origin: *&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTP&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;8&quot;</span><span class="p">,</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;foo-ds&quot;</span>
<span class="p">}</span>
<span class="p">{</span> <span class="o">..</span> <span class="p">},</span>
<span class="p">{</span> <span class="o">..</span> <span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id</strong></p>
<blockquote>
<div><p>Retrieves a specific delivery service. If not admin / ops, delivery service must be assigned to user. See also <a class="reference external" href="http://trafficcontrol.apache.org/docs/latest/admin/traffic_ops_using.html#delivery-service">Using Traffic Ops - Delivery Service</a>.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>yes</td>
<td>Delivery service ID.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="5%" />
<col width="78%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">active</span></code></td>
<td>bool</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">anonymousBlockingEnabled</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cacheurl</span></code></td>
<td>string</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ccrDnsTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr. host.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>int</td>
<td>Id of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">checkPath</span></code></td>
<td>string</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deepCachingType</span></code></td>
<td>string</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">displayName</span></code></td>
<td>string</td>
<td>The display name of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassCname</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp</span></code></td>
<td>string</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp6</span></code></td>
<td>string</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dscp</span></code></td>
<td>int</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">edgeHeaderRewrite</span></code></td>
<td>string</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">exampleURLs</span></code></td>
<td>array</td>
<td>Entry points into the CDN for this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">fqPacingRate</span></code></td>
<td>int</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitRedirectUrl</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoLimit</span></code></td>
<td>int</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from USA</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitCountries</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoProvider</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">globalMaxMbps</span></code></td>
<td>int</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">globalMaxTps</span></code></td>
<td>int</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpBypassFqdn</span></code></td>
<td>string</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>int</td>
<td>The deliveryservice id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">infoUrl</span></code></td>
<td>string</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">initialDispersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipv6RoutingEnabled</span></code></td>
<td>bool</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">logsEnabled</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc</span></code></td>
<td>string</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">longDesc1</span></code></td>
<td>string</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc2</span></code></td>
<td>string</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">matchList</span></code></td>
<td>array</td>
<td>Array of matchList hashes.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;type</span></code></td>
<td>string</td>
<td>The type of MatchList (one of :ref:to-api-v11-types use_in_table=’regex’).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;setNumber</span></code></td>
<td>string</td>
<td>The set Number of the matchList.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;pattern</span></code></td>
<td>string</td>
<td>The regexp for the matchList.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">maxDnsAnswers</span></code></td>
<td>int</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">midHeaderRewrite</span></code></td>
<td>string</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">missLat</span></code></td>
<td>float</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. 39.7391500 or null</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">missLong</span></code></td>
<td>float</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. -104.9847000 or null</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">multiSiteOrigin</span></code></td>
<td>bool</td>
<td>Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See <a class="reference internal" href="../../admin/traffic_ops/using.html#rl-multi-site-origin"><span class="std std-ref">Multi Site Origin</span></a></td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">orgServerFqdn</span></code></td>
<td>string</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">originShield</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileDescription</span></code></td>
<td>string</td>
<td>The description of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>int</td>
<td>The id of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileName</span></code></td>
<td>string</td>
<td>The name of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">protocol</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">qstringIgnore</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rangeRequestHandling</span></code></td>
<td>int</td>
<td>How to treat range requests:
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will be a HIT)
- 1 Use the <a class="reference external" href="https://docs.trafficserver.apache.org/en/latest/reference/plugins/background_fetch.en.html">background_fetch</a> plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">regexRemap</span></code></td>
<td>string</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">regionalGeoBlocking</span></code></td>
<td>bool</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">remapText</span></code></td>
<td>string</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routingName</span></code></td>
<td>string</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">signed</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">signingAlgorithm</span></code></td>
<td>string</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">sslKeyVersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">tenant</span></code></td>
<td>string</td>
<td>Owning tenant name</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">tenantId</span></code></td>
<td>int</td>
<td>Owning tenant ID</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">trRequestHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">trResponseHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>int</td>
<td>The type of this deliveryservice (one of :ref:to-api-v11-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>string</td>
<td>Unique string that describes this deliveryservice.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;cacheurl&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;ccrDnsTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;3600&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;checkPath&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;deepCachingType&quot;</span><span class="p">:</span> <span class="s2">&quot;NEVER&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;My Cool Delivery Service&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassCname&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp6&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;30&quot;</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="s2">&quot;40&quot;</span><span class="p">,</span>
<span class="s2">&quot;edgeHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;exampleURLs&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;http://foo.foo-ds.foo.bar.net&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;geoLimitCountries&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoLimitRedirectURL&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;globalMaxMbps&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;globalMaxTps&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;fqPacingRate&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpBypassFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;442&quot;</span><span class="p">,</span>
<span class="s2">&quot;infoUrl&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2016-01-26 08:49:35&quot;</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;longDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc1&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc2&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;matchList&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;pattern&quot;</span><span class="p">:</span> <span class="s2">&quot;.*</span><span class="se">\\</span><span class="s2">.foo-ds</span><span class="se">\\</span><span class="s2">..*&quot;</span><span class="p">,</span>
<span class="s2">&quot;setNumber&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HOST_REGEXP&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="s2">&quot;maxDnsAnswers&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;midHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="s2">&quot;39.7391500&quot;</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="s2">&quot;-104.9847000&quot;</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://baz.boo.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;originShield&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;profileDescription&quot;</span><span class="p">:</span> <span class="s2">&quot;Content Router for over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileName&quot;</span><span class="p">:</span> <span class="s2">&quot;ROUTER_TOP&quot;</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;regexRemap&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;remapText&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;routingName&quot;</span><span class="p">:</span> <span class="s2">&quot;foo&quot;</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;sslKeyVersion&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenant&quot;</span><span class="p">:</span> <span class="s2">&quot;root&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;trRequestHeaders&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;trResponseHeaders&quot;</span><span class="p">:</span> <span class="s2">&quot;Access-Control-Allow-Origin: *&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTP&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;8&quot;</span><span class="p">,</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;foo-ds&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id/servers</strong></p>
<blockquote>
<div><p>Retrieves properties of CDN EDGE or ORG servers assigned to a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations or delivery service must be assigned to user.</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>yes</td>
<td>Delivery service ID.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="15%" />
<col width="6%" />
<col width="79%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cachegroup</span></code></td>
<td>string</td>
<td>The cache group name (see <a class="reference internal" href="../v11/cachegroup.html#to-api-v11-cachegroup"><span class="std std-ref">Cache Group</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cachegroupId</span></code></td>
<td>string</td>
<td>The cache group id.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>string</td>
<td>Id of the CDN to which the server belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the server belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">domainName</span></code></td>
<td>string</td>
<td>The domain name part of the FQDN of the cache.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">guid</span></code></td>
<td>string</td>
<td>An identifier used to uniquely identify the server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostName</span></code></td>
<td>string</td>
<td>The host name part of the cache.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpsPort</span></code></td>
<td>string</td>
<td>The HTTPS port on which the main application listens (443 in most cases).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>string</td>
<td>The server id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloIpAddress</span></code></td>
<td>string</td>
<td>The IPv4 address of the lights-out-management port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">iloIpGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway address of the lights-out-management port.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloIpNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask of the lights-out-management port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">iloPassword</span></code></td>
<td>string</td>
<td>The password of the of the lights-out-management user (displays as <strong>**</strong> unless you are an ‘admin’ user).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloUsername</span></code></td>
<td>string</td>
<td>The user name for lights-out-management.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">interfaceMtu</span></code></td>
<td>string</td>
<td>The Maximum Transmission Unit (MTU) to configure for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">interfaceName</span></code></td>
<td>string</td>
<td>The network interface name used for serving traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ip6Address</span></code></td>
<td>string</td>
<td>The IPv6 address/netmask for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ip6Gateway</span></code></td>
<td>string</td>
<td>The IPv6 gateway for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ipAddress</span></code></td>
<td>string</td>
<td>The IPv4 address for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ipNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>The Time and Date for the last update for this server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpAddress</span></code></td>
<td>string</td>
<td>The IPv4 address of the management port (optional).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway of the management port (optional).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask of the management port (optional).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">offlineReason</span></code></td>
<td>string</td>
<td>A user-entered reason why the server is in ADMIN_DOWN or OFFLINE status.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">physLocation</span></code></td>
<td>string</td>
<td>The physical location name (see <a class="reference internal" href="../v11/phys_location.html#to-api-v11-phys-loc"><span class="std std-ref">Physical Location</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">physLocationId</span></code></td>
<td>string</td>
<td>The physical location id (see <a class="reference internal" href="../v11/phys_location.html#to-api-v11-phys-loc"><span class="std std-ref">Physical Location</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profile</span></code></td>
<td>string</td>
<td>The assigned profile name (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileDesc</span></code></td>
<td>string</td>
<td>The assigned profile description (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>string</td>
<td>The assigned profile Id (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rack</span></code></td>
<td>string</td>
<td>A string indicating rack location.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">routerHostName</span></code></td>
<td>string</td>
<td>The human readable name of the router.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routerPortName</span></code></td>
<td>string</td>
<td>The human readable name of the router port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">status</span></code></td>
<td>string</td>
<td>The Status string (See <a class="reference internal" href="../v11/status.html#to-api-v11-status"><span class="std std-ref">Status</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">statusId</span></code></td>
<td>string</td>
<td>The Status id (See <a class="reference internal" href="../v11/status.html#to-api-v11-status"><span class="std std-ref">Status</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">tcpPort</span></code></td>
<td>string</td>
<td>The default TCP port on which the main application listens (80 for a cache in most cases).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">type</span></code></td>
<td>string</td>
<td>The name of the type of this server (see <a class="reference internal" href="../v11/type.html#to-api-v11-type"><span class="std std-ref">Types</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>string</td>
<td>The id of the type of this server (see <a class="reference internal" href="../v11/type.html#to-api-v11-type"><span class="std std-ref">Types</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">updPending</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;cachegroup&quot;</span><span class="p">:</span> <span class="s2">&quot;us-il-chicago&quot;</span><span class="p">,</span>
<span class="s2">&quot;cachegroupId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;CDN-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;domainName&quot;</span><span class="p">:</span> <span class="s2">&quot;chi.kabletown.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;guid&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;hostName&quot;</span><span class="p">:</span> <span class="s2">&quot;atsec-chi-00&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;19&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;172.16.2.6&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;172.16.2.1&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;255.255.255.0&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloPassword&quot;</span><span class="p">:</span> <span class="s2">&quot;********&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloUsername&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;interfaceMtu&quot;</span><span class="p">:</span> <span class="s2">&quot;9000&quot;</span><span class="p">,</span>
<span class="s2">&quot;interfaceName&quot;</span><span class="p">:</span> <span class="s2">&quot;bond0&quot;</span><span class="p">,</span>
<span class="s2">&quot;ip6Address&quot;</span><span class="p">:</span> <span class="s2">&quot;2033:D0D0:3300::2:2/64&quot;</span><span class="p">,</span>
<span class="s2">&quot;ip6Gateway&quot;</span><span class="p">:</span> <span class="s2">&quot;2033:D0D0:3300::2:1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;10.10.2.2&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;10.10.2.1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;255.255.255.0&quot;</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2015-03-08 15:57:32&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;offlineReason&quot;</span><span class="p">:</span> <span class="s2">&quot;N/A&quot;</span><span class="p">,</span>
<span class="s2">&quot;physLocation&quot;</span><span class="p">:</span> <span class="s2">&quot;plocation-chi-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;physLocationId&quot;</span><span class="p">:</span> <span class="s2">&quot;9&quot;</span><span class="p">,</span>
<span class="s2">&quot;profile&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE1_CDN1_421_SSL&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE1_CDN1_421_SSL profile&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;12&quot;</span><span class="p">,</span>
<span class="s2">&quot;rack&quot;</span><span class="p">:</span> <span class="s2">&quot;RR 119.02&quot;</span><span class="p">,</span>
<span class="s2">&quot;routerHostName&quot;</span><span class="p">:</span> <span class="s2">&quot;rtr-chi.kabletown.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;routerPortName&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;status&quot;</span><span class="p">:</span> <span class="s2">&quot;ONLINE&quot;</span><span class="p">,</span>
<span class="s2">&quot;statusId&quot;</span><span class="p">:</span> <span class="s2">&quot;6&quot;</span><span class="p">,</span>
<span class="s2">&quot;tcpPort&quot;</span><span class="p">:</span> <span class="s2">&quot;80&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpsPort&quot;</span><span class="p">:</span> <span class="s2">&quot;443&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;updPending&quot;</span><span class="p">:</span> <span class="n">false</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="o">...</span> <span class="n">more</span> <span class="n">server</span> <span class="n">data</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id/servers/unassigned</strong></p>
<blockquote>
<div><p>Retrieves properties of CDN EDGE or ORG servers not assigned to a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations or delivery service must be assigned to user</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>yes</td>
<td>Delivery service ID.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="15%" />
<col width="6%" />
<col width="79%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cachegroup</span></code></td>
<td>string</td>
<td>The cache group name (see <a class="reference internal" href="../v11/cachegroup.html#to-api-v11-cachegroup"><span class="std std-ref">Cache Group</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cachegroupId</span></code></td>
<td>string</td>
<td>The cache group id.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>string</td>
<td>Id of the CDN to which the server belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the server belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">domainName</span></code></td>
<td>string</td>
<td>The domain name part of the FQDN of the cache.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">guid</span></code></td>
<td>string</td>
<td>An identifier used to uniquely identify the server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostName</span></code></td>
<td>string</td>
<td>The host name part of the cache.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpsPort</span></code></td>
<td>string</td>
<td>The HTTPS port on which the main application listens (443 in most cases).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>string</td>
<td>The server id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloIpAddress</span></code></td>
<td>string</td>
<td>The IPv4 address of the lights-out-management port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">iloIpGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway address of the lights-out-management port.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloIpNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask of the lights-out-management port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">iloPassword</span></code></td>
<td>string</td>
<td>The password of the of the lights-out-management user (displays as <strong>**</strong> unless you are an ‘admin’ user).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloUsername</span></code></td>
<td>string</td>
<td>The user name for lights-out-management.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">interfaceMtu</span></code></td>
<td>string</td>
<td>The Maximum Transmission Unit (MTU) to configure for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">interfaceName</span></code></td>
<td>string</td>
<td>The network interface name used for serving traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ip6Address</span></code></td>
<td>string</td>
<td>The IPv6 address/netmask for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ip6Gateway</span></code></td>
<td>string</td>
<td>The IPv6 gateway for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ipAddress</span></code></td>
<td>string</td>
<td>The IPv4 address for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ipNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>The Time and Date for the last update for this server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpAddress</span></code></td>
<td>string</td>
<td>The IPv4 address of the management port (optional).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway of the management port (optional).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask of the management port (optional).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">offlineReason</span></code></td>
<td>string</td>
<td>A user-entered reason why the server is in ADMIN_DOWN or OFFLINE status.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">physLocation</span></code></td>
<td>string</td>
<td>The physical location name (see <a class="reference internal" href="../v11/phys_location.html#to-api-v11-phys-loc"><span class="std std-ref">Physical Location</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">physLocationId</span></code></td>
<td>string</td>
<td>The physical location id (see <a class="reference internal" href="../v11/phys_location.html#to-api-v11-phys-loc"><span class="std std-ref">Physical Location</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profile</span></code></td>
<td>string</td>
<td>The assigned profile name (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileDesc</span></code></td>
<td>string</td>
<td>The assigned profile description (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>string</td>
<td>The assigned profile Id (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rack</span></code></td>
<td>string</td>
<td>A string indicating rack location.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">routerHostName</span></code></td>
<td>string</td>
<td>The human readable name of the router.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routerPortName</span></code></td>
<td>string</td>
<td>The human readable name of the router port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">status</span></code></td>
<td>string</td>
<td>The Status string (See <a class="reference internal" href="../v11/status.html#to-api-v11-status"><span class="std std-ref">Status</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">statusId</span></code></td>
<td>string</td>
<td>The Status id (See <a class="reference internal" href="../v11/status.html#to-api-v11-status"><span class="std std-ref">Status</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">tcpPort</span></code></td>
<td>string</td>
<td>The default TCP port on which the main application listens (80 for a cache in most cases).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">type</span></code></td>
<td>string</td>
<td>The name of the type of this server (see <a class="reference internal" href="../v11/type.html#to-api-v11-type"><span class="std std-ref">Types</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>string</td>
<td>The id of the type of this server (see <a class="reference internal" href="../v11/type.html#to-api-v11-type"><span class="std std-ref">Types</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">updPending</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;cachegroup&quot;</span><span class="p">:</span> <span class="s2">&quot;us-il-chicago&quot;</span><span class="p">,</span>
<span class="s2">&quot;cachegroupId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;CDN-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;domainName&quot;</span><span class="p">:</span> <span class="s2">&quot;chi.kabletown.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;guid&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;hostName&quot;</span><span class="p">:</span> <span class="s2">&quot;atsec-chi-00&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;19&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;172.16.2.6&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;172.16.2.1&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;255.255.255.0&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloPassword&quot;</span><span class="p">:</span> <span class="s2">&quot;********&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloUsername&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;interfaceMtu&quot;</span><span class="p">:</span> <span class="s2">&quot;9000&quot;</span><span class="p">,</span>
<span class="s2">&quot;interfaceName&quot;</span><span class="p">:</span> <span class="s2">&quot;bond0&quot;</span><span class="p">,</span>
<span class="s2">&quot;ip6Address&quot;</span><span class="p">:</span> <span class="s2">&quot;2033:D0D0:3300::2:2/64&quot;</span><span class="p">,</span>
<span class="s2">&quot;ip6Gateway&quot;</span><span class="p">:</span> <span class="s2">&quot;2033:D0D0:3300::2:1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;10.10.2.2&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;10.10.2.1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;255.255.255.0&quot;</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2015-03-08 15:57:32&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;offlineReason&quot;</span><span class="p">:</span> <span class="s2">&quot;N/A&quot;</span><span class="p">,</span>
<span class="s2">&quot;physLocation&quot;</span><span class="p">:</span> <span class="s2">&quot;plocation-chi-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;physLocationId&quot;</span><span class="p">:</span> <span class="s2">&quot;9&quot;</span><span class="p">,</span>
<span class="s2">&quot;profile&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE1_CDN1_421_SSL&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE1_CDN1_421_SSL profile&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;12&quot;</span><span class="p">,</span>
<span class="s2">&quot;rack&quot;</span><span class="p">:</span> <span class="s2">&quot;RR 119.02&quot;</span><span class="p">,</span>
<span class="s2">&quot;routerHostName&quot;</span><span class="p">:</span> <span class="s2">&quot;rtr-chi.kabletown.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;routerPortName&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;status&quot;</span><span class="p">:</span> <span class="s2">&quot;ONLINE&quot;</span><span class="p">,</span>
<span class="s2">&quot;statusId&quot;</span><span class="p">:</span> <span class="s2">&quot;6&quot;</span><span class="p">,</span>
<span class="s2">&quot;tcpPort&quot;</span><span class="p">:</span> <span class="s2">&quot;80&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpsPort&quot;</span><span class="p">:</span> <span class="s2">&quot;443&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;updPending&quot;</span><span class="p">:</span> <span class="n">false</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="o">...</span> <span class="n">more</span> <span class="n">server</span> <span class="n">data</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id/servers/eligible</strong></p>
<blockquote>
<div><p>Retrieves properties of CDN EDGE or ORG servers not eligible for assignment to a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations or delivery service must be assigned to user</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>yes</td>
<td>Delivery service ID.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="15%" />
<col width="6%" />
<col width="79%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cachegroup</span></code></td>
<td>string</td>
<td>The cache group name (see <a class="reference internal" href="../v11/cachegroup.html#to-api-v11-cachegroup"><span class="std std-ref">Cache Group</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cachegroupId</span></code></td>
<td>string</td>
<td>The cache group id.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>string</td>
<td>Id of the CDN to which the server belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the server belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">domainName</span></code></td>
<td>string</td>
<td>The domain name part of the FQDN of the cache.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">guid</span></code></td>
<td>string</td>
<td>An identifier used to uniquely identify the server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostName</span></code></td>
<td>string</td>
<td>The host name part of the cache.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpsPort</span></code></td>
<td>string</td>
<td>The HTTPS port on which the main application listens (443 in most cases).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>string</td>
<td>The server id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloIpAddress</span></code></td>
<td>string</td>
<td>The IPv4 address of the lights-out-management port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">iloIpGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway address of the lights-out-management port.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloIpNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask of the lights-out-management port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">iloPassword</span></code></td>
<td>string</td>
<td>The password of the of the lights-out-management user (displays as <strong>**</strong> unless you are an ‘admin’ user).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">iloUsername</span></code></td>
<td>string</td>
<td>The user name for lights-out-management.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">interfaceMtu</span></code></td>
<td>string</td>
<td>The Maximum Transmission Unit (MTU) to configure for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">interfaceName</span></code></td>
<td>string</td>
<td>The network interface name used for serving traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ip6Address</span></code></td>
<td>string</td>
<td>The IPv6 address/netmask for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ip6Gateway</span></code></td>
<td>string</td>
<td>The IPv6 gateway for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ipAddress</span></code></td>
<td>string</td>
<td>The IPv4 address for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">ipNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask for <code class="docutils literal notranslate"><span class="pre">interfaceName</span></code>.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>The Time and Date for the last update for this server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpAddress</span></code></td>
<td>string</td>
<td>The IPv4 address of the management port (optional).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpGateway</span></code></td>
<td>string</td>
<td>The IPv4 gateway of the management port (optional).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">mgmtIpNetmask</span></code></td>
<td>string</td>
<td>The IPv4 netmask of the management port (optional).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">offlineReason</span></code></td>
<td>string</td>
<td>A user-entered reason why the server is in ADMIN_DOWN or OFFLINE status.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">physLocation</span></code></td>
<td>string</td>
<td>The physical location name (see <a class="reference internal" href="../v11/phys_location.html#to-api-v11-phys-loc"><span class="std std-ref">Physical Location</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">physLocationId</span></code></td>
<td>string</td>
<td>The physical location id (see <a class="reference internal" href="../v11/phys_location.html#to-api-v11-phys-loc"><span class="std std-ref">Physical Location</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profile</span></code></td>
<td>string</td>
<td>The assigned profile name (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileDesc</span></code></td>
<td>string</td>
<td>The assigned profile description (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>string</td>
<td>The assigned profile Id (see <a class="reference internal" href="../v11/profile.html#to-api-v11-profile"><span class="std std-ref">Profiles</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rack</span></code></td>
<td>string</td>
<td>A string indicating rack location.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">routerHostName</span></code></td>
<td>string</td>
<td>The human readable name of the router.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routerPortName</span></code></td>
<td>string</td>
<td>The human readable name of the router port.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">status</span></code></td>
<td>string</td>
<td>The Status string (See <a class="reference internal" href="../v11/status.html#to-api-v11-status"><span class="std std-ref">Status</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">statusId</span></code></td>
<td>string</td>
<td>The Status id (See <a class="reference internal" href="../v11/status.html#to-api-v11-status"><span class="std std-ref">Status</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">tcpPort</span></code></td>
<td>string</td>
<td>The default TCP port on which the main application listens (80 for a cache in most cases).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">type</span></code></td>
<td>string</td>
<td>The name of the type of this server (see <a class="reference internal" href="../v11/type.html#to-api-v11-type"><span class="std std-ref">Types</span></a>).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>string</td>
<td>The id of the type of this server (see <a class="reference internal" href="../v11/type.html#to-api-v11-type"><span class="std std-ref">Types</span></a>).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">updPending</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;cachegroup&quot;</span><span class="p">:</span> <span class="s2">&quot;us-il-chicago&quot;</span><span class="p">,</span>
<span class="s2">&quot;cachegroupId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;CDN-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;domainName&quot;</span><span class="p">:</span> <span class="s2">&quot;chi.kabletown.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;guid&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;hostName&quot;</span><span class="p">:</span> <span class="s2">&quot;atsec-chi-00&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;19&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;172.16.2.6&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;172.16.2.1&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloIpNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;255.255.255.0&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloPassword&quot;</span><span class="p">:</span> <span class="s2">&quot;********&quot;</span><span class="p">,</span>
<span class="s2">&quot;iloUsername&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;interfaceMtu&quot;</span><span class="p">:</span> <span class="s2">&quot;9000&quot;</span><span class="p">,</span>
<span class="s2">&quot;interfaceName&quot;</span><span class="p">:</span> <span class="s2">&quot;bond0&quot;</span><span class="p">,</span>
<span class="s2">&quot;ip6Address&quot;</span><span class="p">:</span> <span class="s2">&quot;2033:D0D0:3300::2:2/64&quot;</span><span class="p">,</span>
<span class="s2">&quot;ip6Gateway&quot;</span><span class="p">:</span> <span class="s2">&quot;2033:D0D0:3300::2:1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;10.10.2.2&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;10.10.2.1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;255.255.255.0&quot;</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2015-03-08 15:57:32&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpAddress&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpGateway&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;mgmtIpNetmask&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;offlineReason&quot;</span><span class="p">:</span> <span class="s2">&quot;N/A&quot;</span><span class="p">,</span>
<span class="s2">&quot;physLocation&quot;</span><span class="p">:</span> <span class="s2">&quot;plocation-chi-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;physLocationId&quot;</span><span class="p">:</span> <span class="s2">&quot;9&quot;</span><span class="p">,</span>
<span class="s2">&quot;profile&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE1_CDN1_421_SSL&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE1_CDN1_421_SSL profile&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;12&quot;</span><span class="p">,</span>
<span class="s2">&quot;rack&quot;</span><span class="p">:</span> <span class="s2">&quot;RR 119.02&quot;</span><span class="p">,</span>
<span class="s2">&quot;routerHostName&quot;</span><span class="p">:</span> <span class="s2">&quot;rtr-chi.kabletown.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;routerPortName&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;status&quot;</span><span class="p">:</span> <span class="s2">&quot;ONLINE&quot;</span><span class="p">,</span>
<span class="s2">&quot;statusId&quot;</span><span class="p">:</span> <span class="s2">&quot;6&quot;</span><span class="p">,</span>
<span class="s2">&quot;tcpPort&quot;</span><span class="p">:</span> <span class="s2">&quot;80&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpsPort&quot;</span><span class="p">:</span> <span class="s2">&quot;443&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;EDGE&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;updPending&quot;</span><span class="p">:</span> <span class="n">false</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="o">...</span> <span class="n">more</span> <span class="n">server</span> <span class="n">data</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
</div>
<div class="section" id="health">
<span id="to-api-v12-ds-health"></span><h2>Health<a class="headerlink" href="#health" title="Permalink to this headline"></a></h2>
<p><strong>GET /api/1.2/deliveryservices/:id/state</strong></p>
<blockquote>
<div><p>Retrieves the failover state for a delivery service. Delivery service must be assigned to user if user is not admin or operations.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="12%" />
<col width="64%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">failover</span></code></td>
<td>hash</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;locations</span></code></td>
<td>array</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;destination</span></code></td>
<td>hash</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;location</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;type</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;configured</span></code></td>
<td>boolean</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;enabled</span></code></td>
<td>boolean</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">enabled</span></code></td>
<td>boolean</td>
<td>&#160;</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;failover&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;locations&quot;</span><span class="p">:</span> <span class="p">[</span> <span class="p">],</span>
<span class="s2">&quot;destination&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;location&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;DNS&quot;</span><span class="p">,</span>
<span class="p">},</span>
<span class="s2">&quot;configured&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span>
<span class="p">},</span>
<span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id/health</strong></p>
<blockquote>
<div><p>Retrieves the health of all locations (cache groups) for a delivery service. Delivery service must be assigned to user if user is not admin or operations.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="11%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">totalOnline</span></code></td>
<td>int</td>
<td>Total number of online caches across all CDNs.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">totalOffline</span></code></td>
<td>int</td>
<td>Total number of offline caches across all CDNs.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cachegroups</span></code></td>
<td>array</td>
<td>A collection of cache groups.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;online</span></code></td>
<td>int</td>
<td>The number of online caches for the cache group</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;offline</span></code></td>
<td>int</td>
<td>The number of offline caches for the cache
group.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;name</span></code></td>
<td>string</td>
<td>Cache group name.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;totalOnline&quot;</span><span class="p">:</span> <span class="mi">148</span><span class="p">,</span>
<span class="s2">&quot;totalOffline&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;cachegroups&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;online&quot;</span><span class="p">:</span> <span class="mi">8</span><span class="p">,</span>
<span class="s2">&quot;offline&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;us-co-denver&quot;</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s2">&quot;online&quot;</span><span class="p">:</span> <span class="mi">7</span><span class="p">,</span>
<span class="s2">&quot;offline&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;us-de-newcastle&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id/capacity</strong></p>
<blockquote>
<div><p>Retrieves the capacity percentages of a delivery service. Delivery service must be assigned to user if user is not admin or operations.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>yes</td>
<td>delivery service id.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="29%" />
<col width="10%" />
<col width="61%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">availablePercent</span></code></td>
<td>number</td>
<td>The percentage of server capacity assigned to
the delivery service that is available.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">unavailablePercent</span></code></td>
<td>number</td>
<td>The percentage of server capacity assigned to the
delivery service that is unavailable.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">utilizedPercent</span></code></td>
<td>number</td>
<td>The percentage of server capacity assigned to the
delivery service being used.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">maintenancePercent</span></code></td>
<td>number</td>
<td>The percentage of server capacity assigned to the
delivery service that is down for maintenance.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;availablePercent&quot;</span><span class="p">:</span> <span class="mf">89.0939840205533</span><span class="p">,</span>
<span class="s2">&quot;unavailablePercent&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;utilizedPercent&quot;</span><span class="p">:</span> <span class="mf">10.9060020300395</span><span class="p">,</span>
<span class="s2">&quot;maintenancePercent&quot;</span><span class="p">:</span> <span class="mf">0.0000139494071146245</span>
<span class="p">},</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/:id/routing</strong></p>
<blockquote>
<div><p>Retrieves the routing method percentages of a delivery service. Delivery service must be assigned to user if user is not admin or operations.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>yes</td>
<td>delivery service id.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="16%" />
<col width="5%" />
<col width="79%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">staticRoute</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router responses for this deliveryservice satisfied with pre-configured DNS entries.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">miss</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router responses for this deliveryservice that were a miss (no location available for client IP).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geo</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router responses for this deliveryservice satisfied using 3rd party geo-IP mapping.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">err</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router requests for this deliveryservice resulting in an error.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cz</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router requests for this deliveryservice satisfied by a CZF (coverage zone file) hit.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dsr</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router requests for this deliveryservice satisfied by sending the
client to the overflow CDN.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">fed</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router requests for this deliveryservice satisfied by sending the client to a federated CDN.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">regionalAlternate</span></code></td>
<td>number</td>
<td>The percentage of Traffic Router requests for this deliveryservice satisfied by sending the client to the alternate
regional geoblocking URL.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">regionalDenied</span></code></td>
<td>number</td>
<td>The percent of Traffic Router requests for this deliveryservice denied due to geolocation policy.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;staticRoute&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;miss&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;geo&quot;</span><span class="p">:</span> <span class="mf">37.8855391018869</span><span class="p">,</span>
<span class="s2">&quot;err&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;cz&quot;</span><span class="p">:</span> <span class="mf">62.1144608981131</span><span class="p">,</span>
<span class="s2">&quot;dsr&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;fed&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;regionalAlternate&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;regionalDenied&quot;</span><span class="p">:</span> <span class="mi">0</span>
<span class="p">},</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
</div>
<div class="section" id="delivery-service-server">
<span id="to-api-v12-ds-server"></span><h2>Delivery Service Server<a class="headerlink" href="#delivery-service-server" title="Permalink to this headline"></a></h2>
<p><strong>GET /api/1.2/deliveryserviceserver</strong></p>
<blockquote>
<div><p>Retrieves delivery service / server assignments.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Query Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">page</span></code></td>
<td>no</td>
<td>The page number for use in pagination.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">limit</span></code></td>
<td>no</td>
<td>For use in limiting the result set.</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="28%" />
<col width="10%" />
<col width="62%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>array</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">server</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">deliveryService</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;page&quot;</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
<span class="s2">&quot;orderby&quot;</span><span class="p">:</span> <span class="s2">&quot;deliveryservice&quot;</span><span class="p">,</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2014-09-26 17:53:43&quot;</span><span class="p">,</span>
<span class="s2">&quot;server&quot;</span><span class="p">:</span> <span class="s2">&quot;20&quot;</span><span class="p">,</span>
<span class="s2">&quot;deliveryService&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2014-09-26 17:53:44&quot;</span><span class="p">,</span>
<span class="s2">&quot;server&quot;</span><span class="p">:</span> <span class="s2">&quot;21&quot;</span><span class="p">,</span>
<span class="s2">&quot;deliveryService&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span>
<span class="p">},</span>
<span class="p">],</span>
<span class="s2">&quot;limit&quot;</span><span class="p">:</span> <span class="mi">2</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<p><strong>POST /api/1.2/deliveryserviceserver</strong></p>
<blockquote>
<div><p>Create one or more delivery service / server assignments.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations or the delivery service is assigned to the user.</p>
<p><strong>Request Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="30%" />
<col width="9%" />
<col width="61%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dsId</span></code></td>
<td>yes</td>
<td>The ID of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">servers</span></code></td>
<td>yes</td>
<td>An array of server IDs.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">replace</span></code></td>
<td>no</td>
<td>Replace existing ds/server assignments? (true|false)</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;dsId&quot;</span><span class="p">:</span> <span class="mi">246</span><span class="p">,</span>
<span class="s2">&quot;servers&quot;</span><span class="p">:</span> <span class="p">[</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">,</span> <span class="mi">6</span> <span class="p">],</span>
<span class="s2">&quot;replace&quot;</span><span class="p">:</span> <span class="n">true</span>
<span class="p">}</span>
</pre></div>
</div>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="32%" />
<col width="7%" />
<col width="60%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dsId</span></code></td>
<td>int</td>
<td>The ID of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">servers</span></code></td>
<td>array</td>
<td>An array of server IDs.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">replace</span></code></td>
<td>array</td>
<td>Existing ds/server assignments replaced? (true|false).</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;alerts&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;level&quot;</span><span class="p">:</span> <span class="s2">&quot;success&quot;</span><span class="p">,</span>
<span class="s2">&quot;text&quot;</span><span class="p">:</span> <span class="s2">&quot;Server assignments complete.&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;dsId&quot;</span> <span class="p">:</span> <span class="mi">246</span><span class="p">,</span>
<span class="s2">&quot;servers&quot;</span> <span class="p">:</span> <span class="p">[</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">,</span> <span class="mi">6</span> <span class="p">],</span>
<span class="s2">&quot;replace&quot;</span> <span class="p">:</span> <span class="n">true</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>DELETE /api/1.2/deliveryservice_server/:dsId/:serverId</strong></p>
<blockquote>
<div><p>Removes a server (cache) from a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Oper (if delivery service is not assigned to user)</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dsId</span></code></td>
<td>yes</td>
<td>Delivery service ID.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">serverId</span></code></td>
<td>yes</td>
<td>Server (cache) ID.</td>
</tr>
</tbody>
</table>
<blockquote>
<div><p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;alerts&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;level&quot;</span><span class="p">:</span> <span class="s2">&quot;success&quot;</span><span class="p">,</span>
<span class="s2">&quot;text&quot;</span><span class="p">:</span> <span class="s2">&quot;Server unlinked from delivery service.&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
</div>
<div class="section" id="delivery-service-user">
<span id="to-api-v12-ds-user"></span><h2>Delivery Service User<a class="headerlink" href="#delivery-service-user" title="Permalink to this headline"></a></h2>
<p><strong>POST /api/1.2/deliveryservice_user</strong></p>
<blockquote>
<div><p>Create one or more user / delivery service assignments.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations</p>
<p><strong>Request Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="30%" />
<col width="9%" />
<col width="61%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">userId</span></code></td>
<td>yes</td>
<td>The ID of the user.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deliveryServices</span></code></td>
<td>yes</td>
<td>An array of delivery service IDs.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">replace</span></code></td>
<td>no</td>
<td>Replace existing user/ds assignments? (true|false).</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;userId&quot;</span><span class="p">:</span> <span class="mi">50</span><span class="p">,</span>
<span class="s2">&quot;deliveryServices&quot;</span><span class="p">:</span> <span class="p">[</span> <span class="mi">23</span><span class="p">,</span> <span class="mi">34</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="mi">56</span><span class="p">,</span> <span class="mi">67</span> <span class="p">],</span>
<span class="s2">&quot;replace&quot;</span><span class="p">:</span> <span class="n">true</span>
<span class="p">}</span>
</pre></div>
</div>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="32%" />
<col width="7%" />
<col width="60%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">userId</span></code></td>
<td>int</td>
<td>The ID of the user.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deliveryServices</span></code></td>
<td>array</td>
<td>An array of delivery service IDs.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">replace</span></code></td>
<td>array</td>
<td>Existing user/ds assignments replaced? (true|false).</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;alerts&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;level&quot;</span><span class="p">:</span> <span class="s2">&quot;success&quot;</span><span class="p">,</span>
<span class="s2">&quot;text&quot;</span><span class="p">:</span> <span class="s2">&quot;Delivery service assignments complete.&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;userId&quot;</span> <span class="p">:</span> <span class="mi">50</span><span class="p">,</span>
<span class="s2">&quot;deliveryServices&quot;</span><span class="p">:</span> <span class="p">[</span> <span class="mi">23</span><span class="p">,</span> <span class="mi">34</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="mi">56</span><span class="p">,</span> <span class="mi">67</span> <span class="p">],</span>
<span class="s2">&quot;replace&quot;</span><span class="p">:</span> <span class="n">true</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>DELETE /api/1.2/deliveryservice_user/:dsId/:userId</strong></p>
<blockquote>
<div><p>Removes a delivery service from a user.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dsId</span></code></td>
<td>yes</td>
<td>Delivery service ID.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">userId</span></code></td>
<td>yes</td>
<td>User ID.</td>
</tr>
</tbody>
</table>
<blockquote>
<div><p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;alerts&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;level&quot;</span><span class="p">:</span> <span class="s2">&quot;success&quot;</span><span class="p">,</span>
<span class="s2">&quot;text&quot;</span><span class="p">:</span> <span class="s2">&quot;User and delivery service were unlinked.&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
</div>
<div class="section" id="ssl-keys">
<span id="to-api-v12-ds-sslkeys"></span><h2>SSL Keys<a class="headerlink" href="#ssl-keys" title="Permalink to this headline"></a></h2>
<p><strong>GET /api/1.2/deliveryservices/xmlId/:xmlid/sslkeys</strong></p>
<blockquote>
<div><p>Retrieves ssl keys for a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Request Query Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="19%" />
<col width="15%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>no</td>
<td>The version number to retrieve</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">decode</span></code></td>
<td>no</td>
<td>a boolean value to decode the certs or not</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="5%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">crt</span></code></td>
<td>string</td>
<td>base64 encoded (or not if decode=true) crt file for delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">csr</span></code></td>
<td>string</td>
<td>base64 encoded (or not if decode=true) csr file for delivery service</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">key</span></code></td>
<td>string</td>
<td>base64 encoded (or not if decode=true) private key file for delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdn</span></code></td>
<td>string</td>
<td>The CDN of the delivery service for which the certs were generated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">deliveryservice</span></code></td>
<td>string</td>
<td>The XML ID of the delivery service for which the cert was generated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">businessUnit</span></code></td>
<td>string</td>
<td>The business unit entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">city</span></code></td>
<td>string</td>
<td>The city entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">organization</span></code></td>
<td>string</td>
<td>The organization entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostname</span></code></td>
<td>string</td>
<td>The hostname generated by Traffic Ops that is used as the common name when generating the certificate.
This will be a FQDN for DNS delivery services and a wildcard URL for HTTP delivery services.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">country</span></code></td>
<td>string</td>
<td>The country entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">state</span></code></td>
<td>string</td>
<td>The state entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>The version of the certificate record in Riak</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;certificate&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;crt&quot;</span><span class="p">:</span> <span class="s2">&quot;crt&quot;</span><span class="p">,</span>
<span class="s2">&quot;key&quot;</span><span class="p">:</span> <span class="s2">&quot;key&quot;</span><span class="p">,</span>
<span class="s2">&quot;csr&quot;</span><span class="p">:</span> <span class="s2">&quot;csr&quot;</span>
<span class="p">},</span>
<span class="s2">&quot;deliveryservice&quot;</span><span class="p">:</span> <span class="s2">&quot;my-ds&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdn&quot;</span><span class="p">:</span> <span class="s2">&quot;qa&quot;</span><span class="p">,</span>
<span class="s2">&quot;businessUnit&quot;</span><span class="p">:</span> <span class="s2">&quot;CDN_Eng&quot;</span><span class="p">,</span>
<span class="s2">&quot;city&quot;</span><span class="p">:</span> <span class="s2">&quot;Denver&quot;</span><span class="p">,</span>
<span class="s2">&quot;organization&quot;</span><span class="p">:</span> <span class="s2">&quot;KableTown&quot;</span><span class="p">,</span>
<span class="s2">&quot;hostname&quot;</span><span class="p">:</span> <span class="s2">&quot;foober.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;country&quot;</span><span class="p">:</span> <span class="s2">&quot;US&quot;</span><span class="p">,</span>
<span class="s2">&quot;state&quot;</span><span class="p">:</span> <span class="s2">&quot;Colorado&quot;</span><span class="p">,</span>
<span class="s2">&quot;version&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/hostname/:hostname/sslkeys</strong></p>
<blockquote>
<div><p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="19%" />
<col width="13%" />
<col width="68%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostname</span></code></td>
<td>yes</td>
<td>pristine hostname of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Request Query Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="19%" />
<col width="15%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>no</td>
<td>The version number to retrieve</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">decode</span></code></td>
<td>no</td>
<td>a boolean value to decode the certs or not</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="5%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">crt</span></code></td>
<td>string</td>
<td>base64 encoded (or not if decode=true) crt file for delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">csr</span></code></td>
<td>string</td>
<td>base64 encoded (or not if decode=true) csr file for delivery service</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">key</span></code></td>
<td>string</td>
<td>base64 encoded (or not if decode=true) private key file for delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdn</span></code></td>
<td>string</td>
<td>The CDN of the delivery service for which the certs were generated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">deliveryservice</span></code></td>
<td>string</td>
<td>The XML ID of the delivery service for which the cert was generated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">businessUnit</span></code></td>
<td>string</td>
<td>The business unit entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">city</span></code></td>
<td>string</td>
<td>The city entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">organization</span></code></td>
<td>string</td>
<td>The organization entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostname</span></code></td>
<td>string</td>
<td>The hostname generated by Traffic Ops that is used as the common name when generating the certificate.
This will be a FQDN for DNS delivery services and a wildcard URL for HTTP delivery services.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">country</span></code></td>
<td>string</td>
<td>The country entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">state</span></code></td>
<td>string</td>
<td>The state entered by the user when generating certs. Field is optional and if not provided by the user will not be in response</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>The version of the certificate record in Riak</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;certificate&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;crt&quot;</span><span class="p">:</span> <span class="s2">&quot;crt&quot;</span><span class="p">,</span>
<span class="s2">&quot;key&quot;</span><span class="p">:</span> <span class="s2">&quot;key&quot;</span><span class="p">,</span>
<span class="s2">&quot;csr&quot;</span><span class="p">:</span> <span class="s2">&quot;csr&quot;</span>
<span class="p">},</span>
<span class="s2">&quot;deliveryservice&quot;</span><span class="p">:</span> <span class="s2">&quot;my-ds&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdn&quot;</span><span class="p">:</span> <span class="s2">&quot;qa&quot;</span><span class="p">,</span>
<span class="s2">&quot;businessUnit&quot;</span><span class="p">:</span> <span class="s2">&quot;CDN_Eng&quot;</span><span class="p">,</span>
<span class="s2">&quot;city&quot;</span><span class="p">:</span> <span class="s2">&quot;Denver&quot;</span><span class="p">,</span>
<span class="s2">&quot;organization&quot;</span><span class="p">:</span> <span class="s2">&quot;KableTown&quot;</span><span class="p">,</span>
<span class="s2">&quot;hostname&quot;</span><span class="p">:</span> <span class="s2">&quot;foober.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;country&quot;</span><span class="p">:</span> <span class="s2">&quot;US&quot;</span><span class="p">,</span>
<span class="s2">&quot;state&quot;</span><span class="p">:</span> <span class="s2">&quot;Colorado&quot;</span><span class="p">,</span>
<span class="s2">&quot;version&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>GET /api/1.2/deliveryservices/xmlId/:xmlid/sslkeys/delete</strong></p>
<blockquote>
<div><p>Authentication Required: Yes</p>
<p>Role Required: Operations</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Request Query Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="18%" />
<col width="58%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>no</td>
<td>The version number to retrieve</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="35%" />
<col width="20%" />
<col width="45%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">response</span></code></td>
<td>string</td>
<td>success response</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="s2">&quot;Successfully deleted ssl keys for &lt;xml_id&gt;&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>POST /api/1.2/deliveryservices/sslkeys/generate</strong></p>
<blockquote>
<div><p>Generates SSL crt, csr, and private key for a delivery service</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Operations</p>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="9%" />
<col width="68%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">key</span></code></td>
<td>string</td>
<td>xml_id of the delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>version of the keys being generated</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">hostname</span></code></td>
<td>string</td>
<td>the <em>pristine hostname</em> of the delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">country</span></code></td>
<td>string</td>
<td>Country</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">state</span></code></td>
<td>string</td>
<td>State</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">city</span></code></td>
<td>string</td>
<td>City</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">org</span></code></td>
<td>string</td>
<td>Organization</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">unit</span></code></td>
<td>boolean</td>
<td>Business Unit</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">deliveryservice</span></code></td>
<td>string</td>
<td>The deliveryservice xml-id for which you want to generate certs</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdn</span></code></td>
<td>string</td>
<td>The name of the CDN for which the deliveryservice belongs</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;key&quot;</span><span class="p">:</span> <span class="s2">&quot;ds-01&quot;</span><span class="p">,</span>
<span class="s2">&quot;businessUnit&quot;</span><span class="p">:</span> <span class="s2">&quot;CDN Engineering&quot;</span><span class="p">,</span>
<span class="s2">&quot;version&quot;</span><span class="p">:</span> <span class="s2">&quot;3&quot;</span><span class="p">,</span>
<span class="s2">&quot;hostname&quot;</span><span class="p">:</span> <span class="s2">&quot;tr.ds-01.ott.kabletown.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;certificate&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;key&quot;</span><span class="p">:</span> <span class="s2">&quot;some_key&quot;</span><span class="p">,</span>
<span class="s2">&quot;csr&quot;</span><span class="p">:</span> <span class="s2">&quot;some_csr&quot;</span><span class="p">,</span>
<span class="s2">&quot;crt&quot;</span><span class="p">:</span> <span class="s2">&quot;some_crt&quot;</span>
<span class="p">},</span>
<span class="s2">&quot;country&quot;</span><span class="p">:</span> <span class="s2">&quot;US&quot;</span><span class="p">,</span>
<span class="s2">&quot;organization&quot;</span><span class="p">:</span> <span class="s2">&quot;Kabletown&quot;</span><span class="p">,</span>
<span class="s2">&quot;city&quot;</span><span class="p">:</span> <span class="s2">&quot;Denver&quot;</span><span class="p">,</span>
<span class="s2">&quot;state&quot;</span><span class="p">:</span> <span class="s2">&quot;Colorado&quot;</span><span class="p">,</span>
<span class="s2">&quot;deliveryservice&quot;</span> <span class="p">:</span> <span class="s2">&quot;ds-01&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdn&quot;</span><span class="p">:</span> <span class="s2">&quot;cdn1&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<blockquote>
<div><p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="36%" />
<col width="21%" />
<col width="44%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">response</span></code></td>
<td>string</td>
<td>response string</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>API version</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="s2">&quot;Successfully created ssl keys for ds-01&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>POST /api/1.2/deliveryservices/sslkeys/add</strong></p>
<blockquote>
<div><p>Allows user to add SSL crt, csr, and private key for a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Operations</p>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="9%" />
<col width="69%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">key</span></code></td>
<td>string</td>
<td>xml_id of the delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>version of the keys being generated</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">csr</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">crt</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">key</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deliveryservice</span></code></td>
<td>string</td>
<td>The deliveryservice xml-id for which you want to generate certs</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdn</span></code></td>
<td>string</td>
<td>The name of the CDN for which the deliveryservice belongs</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">hostname</span></code></td>
<td>string</td>
<td>the <em>pristine hostname</em> of the delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;key&quot;</span><span class="p">:</span> <span class="s2">&quot;ds-01&quot;</span><span class="p">,</span>
<span class="s2">&quot;version&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;certificate&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;key&quot;</span><span class="p">:</span> <span class="s2">&quot;some_key&quot;</span><span class="p">,</span>
<span class="s2">&quot;csr&quot;</span><span class="p">:</span> <span class="s2">&quot;some_csr&quot;</span><span class="p">,</span>
<span class="s2">&quot;crt&quot;</span><span class="p">:</span> <span class="s2">&quot;some_crt&quot;</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<blockquote>
<div><p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="36%" />
<col width="21%" />
<col width="44%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">response</span></code></td>
<td>string</td>
<td>response string</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>API version</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="s2">&quot;Successfully added ssl keys for ds-01&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
</div>
<div class="section" id="url-sig-keys">
<h2>URL Sig Keys<a class="headerlink" href="#url-sig-keys" title="Permalink to this headline"></a></h2>
<p><strong>GET /api/1.2/deliveryservices/xmlId/:xmlid/urlkeys</strong></p>
<blockquote>
<div><p>Retrieves URL sig keys for a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="5%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">key0</span></code></td>
<td>string</td>
<td>base64 encoded key for delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">key2</span></code></td>
<td>string</td>
<td>base64 encoded key for delivery service</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">keyn...</span></code></td>
<td>string</td>
<td>base64 encoded key for delivery service – repeats to 15 (16 total) and is currently unsorted.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="n">key9</span><span class="s2">&quot;:&quot;</span><span class="n">ZvVQNYpPVQWQV8tjQnUl6osm4y7xK4zD</span><span class="s2">&quot;,</span>
<span class="s2">&quot;key6&quot;</span><span class="p">:</span><span class="s2">&quot;JhGdpw5X9o8TqHfgezCm0bqb9SQPASWL&quot;</span><span class="p">,</span>
<span class="s2">&quot;key8&quot;</span><span class="p">:</span><span class="s2">&quot;ySXdp1T8IeDEE1OCMftzZb9EIw_20wwq&quot;</span><span class="p">,</span>
<span class="s2">&quot;key0&quot;</span><span class="p">:</span><span class="s2">&quot;D4AYzJ1AE2nYisA9MxMtY03TPDCHji9C&quot;</span><span class="p">,</span>
<span class="s2">&quot;key3&quot;</span><span class="p">:</span><span class="s2">&quot;W90YHlGc_kYlYw5_I0LrkpV9JOzSIneI&quot;</span><span class="p">,</span>
<span class="s2">&quot;key12&quot;</span><span class="p">:</span><span class="s2">&quot;ZbtMb3mrKqfS8hnx9_xWBIP_OPWlUpzc&quot;</span><span class="p">,</span>
<span class="s2">&quot;key2&quot;</span><span class="p">:</span><span class="s2">&quot;0qgEoDO7sUsugIQemZbwmMt0tNCwB1sf&quot;</span><span class="p">,</span>
<span class="s2">&quot;key4&quot;</span><span class="p">:</span><span class="s2">&quot;aFJ2Gb7atmxVB8uv7T9S6OaDml3ycpGf&quot;</span><span class="p">,</span>
<span class="s2">&quot;key1&quot;</span><span class="p">:</span><span class="s2">&quot;wnWNR1mCz1O4C7EFPtcqHd0xUMQyNFhA&quot;</span><span class="p">,</span>
<span class="s2">&quot;key11&quot;</span><span class="p">:</span><span class="s2">&quot;k6HMzlBH1x6htKkypRFfWQhAndQqe50e&quot;</span><span class="p">,</span>
<span class="s2">&quot;key10&quot;</span><span class="p">:</span><span class="s2">&quot;zYONfdD7fGYKj4kLvIj4U0918csuZO0d&quot;</span><span class="p">,</span>
<span class="s2">&quot;key15&quot;</span><span class="p">:</span><span class="s2">&quot;3360cGaIip_layZMc_0hI2teJbazxTQh&quot;</span><span class="p">,</span>
<span class="s2">&quot;key5&quot;</span><span class="p">:</span><span class="s2">&quot;SIwv3GOhWN7EE9wSwPFj18qE4M07sFxN&quot;</span><span class="p">,</span>
<span class="s2">&quot;key13&quot;</span><span class="p">:</span><span class="s2">&quot;SqQKBR6LqEOzp8AewZUCVtBcW_8YFc1g&quot;</span><span class="p">,</span>
<span class="s2">&quot;key14&quot;</span><span class="p">:</span><span class="s2">&quot;DtXsu8nsw04YhT0kNoKBhu2G3P9WRpQJ&quot;</span><span class="p">,</span>
<span class="s2">&quot;key7&quot;</span><span class="p">:</span><span class="s2">&quot;cmKoIIxXGAxUMdCsWvnGLoIMGmNiuT5I&quot;</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>POST /api/1.2/deliveryservices/xmlId/:xmlid/urlkeys/generate</strong></p>
<blockquote>
<div><p>Generates Url sig keys for a delivery service</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Operations</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<blockquote>
<div><p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="36%" />
<col width="21%" />
<col width="44%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">response</span></code></td>
<td>string</td>
<td>response string</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>API version</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="s2">&quot;Successfully generated and stored keys&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>POST /api/1.2/deliveryservices/xmlId/:xmlid/urlkeys/copyFromXmlId/:copyFromXmlId</strong></p>
<blockquote>
<div><p>Allows user to copy url sig keys from a specified delivery service to a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Operations</p>
</div></blockquote>
<p><strong>Request Route Parameters</strong></p>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="11%" />
<col width="67%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">copyFromXmlId</span></code></td>
<td>yes</td>
<td>xml_id of the delivery service to copy url sig keys from</td>
</tr>
</tbody>
</table>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<blockquote>
<div><p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="36%" />
<col width="21%" />
<col width="44%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">response</span></code></td>
<td>string</td>
<td>response string</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>API version</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="s2">&quot;Successfully copied and stored keys&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<p><strong>POST /api/1.2/deliveryservices/request</strong></p>
<blockquote>
<div><p>Allows a user to send delivery service request details to a specified email address.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: None</p>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="26%" />
<col width="5%" />
<col width="7%" />
<col width="62%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">emailTo</span></code></td>
<td>string</td>
<td>yes</td>
<td>The email to which the delivery service request will be sent.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">details</span></code></td>
<td>hash</td>
<td>yes</td>
<td>Parameters for the delivery service request.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;customer</span></code></td>
<td>string</td>
<td>yes</td>
<td>Name of the customer to associated with the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;deepCachingType</span></code></td>
<td>string</td>
<td>no</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;deliveryProtocol</span></code></td>
<td>string</td>
<td>yes</td>
<td>Eg. http or http/https</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;routingType</span></code></td>
<td>string</td>
<td>yes</td>
<td>Eg. DNS or HTTP Redirect</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;routingName</span></code></td>
<td>string</td>
<td>no</td>
<td>The routing name for the delivery service, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;serviceDesc</span></code></td>
<td>string</td>
<td>yes</td>
<td>A description of the delivery service.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;peakBPSEstimate</span></code></td>
<td>string</td>
<td>yes</td>
<td>Used to manage cache efficiency and plan for capacity.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;peakTPSEstimate</span></code></td>
<td>string</td>
<td>yes</td>
<td>Used to manage cache efficiency and plan for capacity.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;maxLibrarySizeEstimate</span></code></td>
<td>string</td>
<td>yes</td>
<td>Used to manage cache efficiency and plan for capacity.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;originURL</span></code></td>
<td>string</td>
<td>yes</td>
<td>The URL path to the origin server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;hasOriginDynamicRemap</span></code></td>
<td>bool</td>
<td>yes</td>
<td>This is a feature which allows services to use multiple origin URLs for the same service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;originTestFile</span></code></td>
<td>string</td>
<td>yes</td>
<td>A URL path to a test file available on the origin server.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;hasOriginACLWhitelist</span></code></td>
<td>bool</td>
<td>yes</td>
<td>Is access to your origin restricted using an access control list (ACL or whitelist) of Ips?</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;originHeaders</span></code></td>
<td>string</td>
<td>no</td>
<td>Header values that must be passed to requests to your origin.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;otherOriginSecurity</span></code></td>
<td>string</td>
<td>no</td>
<td>Other origin security measures that need to be considered for access.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;queryStringHandling</span></code></td>
<td>string</td>
<td>yes</td>
<td>How to handle query strings that come with the request.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;rangeRequestHandling</span></code></td>
<td>string</td>
<td>yes</td>
<td>How to handle range requests.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;hasSignedURLs</span></code></td>
<td>bool</td>
<td>yes</td>
<td>Are Urls signed?</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;hasNegativeCachingCustomization</span></code></td>
<td>bool</td>
<td>yes</td>
<td>Any customization required for negative caching?</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;negativeCachingCustomizationNote</span></code></td>
<td>string</td>
<td>yes</td>
<td>Negative caching customization instructions.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;serviceAliases</span></code></td>
<td>array</td>
<td>no</td>
<td>Service aliases which will be used for this service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;rateLimitingGBPS</span></code></td>
<td>int</td>
<td>no</td>
<td>Rate Limiting - Bandwidth (Gbps)</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;rateLimitingTPS</span></code></td>
<td>int</td>
<td>no</td>
<td>Rate Limiting - Transactions/Second</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;overflowService</span></code></td>
<td>string</td>
<td>no</td>
<td>An overflow point (URL or IP address) used if rate limits are met.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;headerRewriteEdge</span></code></td>
<td>string</td>
<td>no</td>
<td>Headers can be added or altered at each layer of the CDN.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;headerRewriteMid</span></code></td>
<td>string</td>
<td>no</td>
<td>Headers can be added or altered at each layer of the CDN.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;headerRewriteRedirectRouter</span></code></td>
<td>string</td>
<td>no</td>
<td>Headers can be added or altered at each layer of the CDN.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;notes</span></code></td>
<td>string</td>
<td>no</td>
<td>Additional instructions to provide the delivery service provisioning team.</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;emailTo&quot;</span><span class="p">:</span> <span class="s2">&quot;foo@bar.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;details&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;customer&quot;</span><span class="p">:</span> <span class="s2">&quot;XYZ Corporation&quot;</span><span class="p">,</span>
<span class="s2">&quot;contentType&quot;</span><span class="p">:</span> <span class="s2">&quot;video-on-demand&quot;</span><span class="p">,</span>
<span class="s2">&quot;deepCachingType&quot;</span><span class="p">:</span> <span class="s2">&quot;NEVER&quot;</span><span class="p">,</span>
<span class="s2">&quot;deliveryProtocol&quot;</span><span class="p">:</span> <span class="s2">&quot;http&quot;</span><span class="p">,</span>
<span class="s2">&quot;routingType&quot;</span><span class="p">:</span> <span class="s2">&quot;dns&quot;</span><span class="p">,</span>
<span class="s2">&quot;routingName&quot;</span><span class="p">:</span> <span class="s2">&quot;foo&quot;</span><span class="p">,</span>
<span class="s2">&quot;serviceDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;service description goes here&quot;</span><span class="p">,</span>
<span class="s2">&quot;peakBPSEstimate&quot;</span><span class="p">:</span> <span class="s2">&quot;less-than-5-Gbps&quot;</span><span class="p">,</span>
<span class="s2">&quot;peakTPSEstimate&quot;</span><span class="p">:</span> <span class="s2">&quot;less-than-1000-TPS&quot;</span><span class="p">,</span>
<span class="s2">&quot;maxLibrarySizeEstimate&quot;</span><span class="p">:</span> <span class="s2">&quot;less-than-200-GB&quot;</span><span class="p">,</span>
<span class="s2">&quot;originURL&quot;</span><span class="p">:</span> <span class="s2">&quot;http://myorigin.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;hasOriginDynamicRemap&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;originTestFile&quot;</span><span class="p">:</span> <span class="s2">&quot;http://myorigin.com/crossdomain.xml&quot;</span><span class="p">,</span>
<span class="s2">&quot;hasOriginACLWhitelist&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;originHeaders&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;otherOriginSecurity&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;queryStringHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;ignore-in-cache-key-and-pass-up&quot;</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;range-requests-not-used&quot;</span><span class="p">,</span>
<span class="s2">&quot;hasSignedURLs&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;hasNegativeCachingCustomization&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;negativeCachingCustomizationNote&quot;</span><span class="p">:</span> <span class="s2">&quot;negative caching instructions&quot;</span><span class="p">,</span>
<span class="s2">&quot;serviceAliases&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;http://alias1.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;http://alias2.com&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;rateLimitingGBPS&quot;</span><span class="p">:</span> <span class="mi">50</span><span class="p">,</span>
<span class="s2">&quot;rateLimitingTPS&quot;</span><span class="p">:</span> <span class="mi">5000</span><span class="p">,</span>
<span class="s2">&quot;overflowService&quot;</span><span class="p">:</span> <span class="s2">&quot;http://overflowcdn.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;headerRewriteEdge&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;headerRewriteMid&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;headerRewriteRedirectRouter&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;notes&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<blockquote>
<div><p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="24%" />
<col width="15%" />
<col width="62%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">alerts</span></code></td>
<td>array</td>
<td>A collection of alert messages.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;level</span></code></td>
<td>string</td>
<td>Success, info, warning or error.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;text</span></code></td>
<td>string</td>
<td>Alert message.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">version</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;alerts&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;level&quot;</span><span class="p">:</span> <span class="s2">&quot;success&quot;</span><span class="p">,</span>
<span class="s2">&quot;text&quot;</span><span class="p">:</span> <span class="s2">&quot;Delivery Service request sent to foo@bar.com.&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>POST /api/1.2/deliveryservices</strong></p>
<blockquote>
<div><p>Allows user to create a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: Admin or Operations</p>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="21%" />
<col width="7%" />
<col width="72%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>active</td>
<td>yes</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td>anonymousBlockingEnabled</td>
<td>no</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>cacheurl</td>
<td>no</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td>ccrDnsTtl</td>
<td>no</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr.host.</td>
</tr>
<tr class="row-even"><td>cdnId</td>
<td>yes</td>
<td>cdn id</td>
</tr>
<tr class="row-odd"><td>checkPath</td>
<td>no</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-even"><td>deepCachingType</td>
<td>no</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td>displayName</td>
<td>yes</td>
<td>Display name</td>
</tr>
<tr class="row-even"><td>dnsBypassCname</td>
<td>no</td>
<td>Bypass CNAME</td>
</tr>
<tr class="row-odd"><td>dnsBypassIp</td>
<td>no</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td>dnsBypassIp6</td>
<td>no</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td>dnsBypassTtl</td>
<td>no</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-even"><td>dscp</td>
<td>yes</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-odd"><td>edgeHeaderRewrite</td>
<td>no</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-even"><td>fqPacingRate</td>
<td>no</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td>geoLimitRedirectURL</td>
<td>no</td>
<td>This is the URL Traffic Router will redirect to when Geo Limit Failure.</td>
</tr>
<tr class="row-even"><td>geoLimit</td>
<td>yes</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from geo limit countries</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-odd"><td>geoLimitCountries</td>
<td>no</td>
<td>The geo limit countries.</td>
</tr>
<tr class="row-even"><td>geoProvider</td>
<td>yes</td>
<td><ul class="first last simple">
<li>0: Maxmind(default)</li>
<li>1: Neustar</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td>globalMaxMbps</td>
<td>no</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-even"><td>globalMaxTps</td>
<td>no</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-odd"><td>httpBypassFqdn</td>
<td>no</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more
than the globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td>infoUrl</td>
<td>no</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-odd"><td>initialDispersion</td>
<td>yes|no</td>
<td>Initial dispersion. Required for HTTP* delivery services.</td>
</tr>
<tr class="row-even"><td>ipv6RoutingEnabled</td>
<td>yes|no</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.
Required for DNS*, HTTP* and STEERING* delivery services.</td>
</tr>
<tr class="row-odd"><td>logsEnabled</td>
<td>yes</td>
<td><ul class="first last simple">
<li>false: No</li>
<li>true: Yes</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>longDesc</td>
<td>no</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td>longDesc1</td>
<td>no</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td>longDesc2</td>
<td>no</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td>maxDnsAnswers</td>
<td>no</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td>midHeaderRewrite</td>
<td>no</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td>missLat</td>
<td>yes|no</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
e.g. 39.7391500 or null. Required for DNS* and HTTP* delivery services.</td>
</tr>
<tr class="row-even"><td>missLong</td>
<td>yes|no</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
e.g. -104.9847000 or null. Required for DNS* and HTTP* delivery services.</td>
</tr>
<tr class="row-odd"><td>multiSiteOrigin</td>
<td>yes|no</td>
<td>true if enabled, false if disabled. Required for DNS* and HTTP* delivery services.</td>
</tr>
<tr class="row-even"><td>orgServerFqdn</td>
<td>yes|no</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server. This field is
required if type is DNS* or HTTP*.</td>
</tr>
<tr class="row-odd"><td>originShield</td>
<td>no</td>
<td>Origin shield</td>
</tr>
<tr class="row-even"><td>profileId</td>
<td>no</td>
<td>DS profile ID</td>
</tr>
<tr class="row-odd"><td>protocol</td>
<td>yes|no</td>
<td><ul class="first simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
<p class="last">Required for DNS*, HTTP* or <em>STEERING</em> delivery services.</p>
</td>
</tr>
<tr class="row-even"><td>qstringIgnore</td>
<td>yes|no</td>
<td><ul class="first simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
<p class="last">Required for DNS* and HTTP* delivery services.</p>
</td>
</tr>
<tr class="row-odd"><td>rangeRequestHandling</td>
<td>yes|no</td>
<td>How to treat range requests (required for DNS* and HTTP* delivery services):
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will
be a HIT)
- 1 Use the background_fetch plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td>regexRemap</td>
<td>no</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td>regionalGeoBlocking</td>
<td>yes</td>
<td>Is the Regional Geo Blocking feature enabled.</td>
</tr>
<tr class="row-even"><td>remapText</td>
<td>no</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td>routingName</td>
<td>yes</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td>signed</td>
<td>no</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td>signingAlgorithm</td>
<td>no</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>sslKeyVersion</td>
<td>no</td>
<td>SSL key version</td>
</tr>
<tr class="row-odd"><td>tenantId</td>
<td>No</td>
<td>Owning tenant ID</td>
</tr>
<tr class="row-even"><td>trRequestHeaders</td>
<td>no</td>
<td>Traffic router log request headers</td>
</tr>
<tr class="row-odd"><td>trResponseHeaders</td>
<td>no</td>
<td>Traffic router additional response headers</td>
</tr>
<tr class="row-even"><td>typeId</td>
<td>yes</td>
<td>The type of this deliveryservice (one of :ref:to-api-v12-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-odd"><td>xmlId</td>
<td>yes</td>
<td>Unique string that describes this deliveryservice.</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;my_ds_1&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;my_ds_displayname_1&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://10.75.168.91&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="mi">42</span><span class="p">,</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="mf">39.7391500</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="o">-</span><span class="mf">104.9847000</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span>
<span class="p">}</span>
</pre></div>
</div>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="5%" />
<col width="78%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">active</span></code></td>
<td>bool</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">anonymousBlockingEnabled</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cacheurl</span></code></td>
<td>string</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ccrDnsTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr. host.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>int</td>
<td>Id of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">checkPath</span></code></td>
<td>string</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deepCachingType</span></code></td>
<td>string</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">displayName</span></code></td>
<td>string</td>
<td>The display name of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassCname</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp</span></code></td>
<td>string</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp6</span></code></td>
<td>string</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dscp</span></code></td>
<td>int</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">edgeHeaderRewrite</span></code></td>
<td>string</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">exampleURLs</span></code></td>
<td>array</td>
<td>Entry points into the CDN for this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">fqPacingRate</span></code></td>
<td>int</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitRedirectUrl</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoLimit</span></code></td>
<td>int</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from USA</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitCountries</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoProvider</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">globalMaxMbps</span></code></td>
<td>int</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">globalMaxTps</span></code></td>
<td>int</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpBypassFqdn</span></code></td>
<td>string</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>int</td>
<td>The deliveryservice id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">infoUrl</span></code></td>
<td>string</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">initialDispersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipv6RoutingEnabled</span></code></td>
<td>bool</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">logsEnabled</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc</span></code></td>
<td>string</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">longDesc1</span></code></td>
<td>string</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc2</span></code></td>
<td>string</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">matchList</span></code></td>
<td>array</td>
<td>Array of matchList hashes.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;type</span></code></td>
<td>string</td>
<td>The type of MatchList (one of :ref:to-api-v11-types use_in_table=’regex’).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;setNumber</span></code></td>
<td>string</td>
<td>The set Number of the matchList.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;pattern</span></code></td>
<td>string</td>
<td>The regexp for the matchList.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">maxDnsAnswers</span></code></td>
<td>int</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">midHeaderRewrite</span></code></td>
<td>string</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">missLat</span></code></td>
<td>float</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. 39.7391500 or null</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">missLong</span></code></td>
<td>float</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. -104.9847000 or null</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">multiSiteOrigin</span></code></td>
<td>bool</td>
<td>Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See <a class="reference internal" href="../../admin/traffic_ops/using.html#rl-multi-site-origin"><span class="std std-ref">Multi Site Origin</span></a></td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">orgServerFqdn</span></code></td>
<td>string</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">originShield</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileDescription</span></code></td>
<td>string</td>
<td>The description of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>int</td>
<td>The id of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileName</span></code></td>
<td>string</td>
<td>The name of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">protocol</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">qstringIgnore</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rangeRequestHandling</span></code></td>
<td>int</td>
<td>How to treat range requests:
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will be a HIT)
- 1 Use the <a class="reference external" href="https://docs.trafficserver.apache.org/en/latest/reference/plugins/background_fetch.en.html">background_fetch</a> plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">regexRemap</span></code></td>
<td>string</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">regionalGeoBlocking</span></code></td>
<td>bool</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">remapText</span></code></td>
<td>string</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routingName</span></code></td>
<td>string</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">signed</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">signingAlgorithm</span></code></td>
<td>string</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">sslKeyVersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">trRequestHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">trResponseHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>int</td>
<td>The type of this deliveryservice (one of :ref:to-api-v11-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>string</td>
<td>Unique string that describes this deliveryservice.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;cacheurl&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;ccrDnsTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;3600&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;checkPath&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;deepCachingType&quot;</span><span class="p">:</span> <span class="s2">&quot;NEVER&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;My Cool Delivery Service&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassCname&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp6&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;30&quot;</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="s2">&quot;40&quot;</span><span class="p">,</span>
<span class="s2">&quot;edgeHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;exampleURLs&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;http://foo.foo-ds.foo.bar.net&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;geoLimitCountries&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoLimitRedirectURL&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;globalMaxMbps&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;globalMaxTps&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;fqPacingRate&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpBypassFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;442&quot;</span><span class="p">,</span>
<span class="s2">&quot;infoUrl&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2016-01-26 08:49:35&quot;</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;longDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc1&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc2&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;matchList&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;pattern&quot;</span><span class="p">:</span> <span class="s2">&quot;.*</span><span class="se">\\</span><span class="s2">.foo-ds</span><span class="se">\\</span><span class="s2">..*&quot;</span><span class="p">,</span>
<span class="s2">&quot;setNumber&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HOST_REGEXP&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="s2">&quot;maxDnsAnswers&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;midHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="s2">&quot;39.7391500&quot;</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="s2">&quot;-104.9847000&quot;</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://baz.boo.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;originShield&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;profileDescription&quot;</span><span class="p">:</span> <span class="s2">&quot;Content Router for over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileName&quot;</span><span class="p">:</span> <span class="s2">&quot;ROUTER_TOP&quot;</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;regexRemap&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;remapText&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;routingName&quot;</span><span class="p">:</span> <span class="s2">&quot;foo&quot;</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;sslKeyVersion&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;trRequestHeaders&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;trResponseHeaders&quot;</span><span class="p">:</span> <span class="s2">&quot;Access-Control-Allow-Origin: *&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTP&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;8&quot;</span><span class="p">,</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;foo-ds&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>PUT /api/1.2/deliveryservices/{:id}</strong></p>
<blockquote>
<div><p>Allows user to edit a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin or oper</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>yes</td>
<td>delivery service id.</td>
</tr>
</tbody>
</table>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="7%" />
<col width="74%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>active</td>
<td>yes</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td>anonymousBlockingEnabled</td>
<td>no</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>cacheurl</td>
<td>no</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td>ccrDnsTtl</td>
<td>no</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr.host.</td>
</tr>
<tr class="row-even"><td>cdnId</td>
<td>yes</td>
<td>cdn id</td>
</tr>
<tr class="row-odd"><td>checkPath</td>
<td>no</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-even"><td>deepCachingType</td>
<td>no</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td>displayName</td>
<td>yes</td>
<td>Display name</td>
</tr>
<tr class="row-even"><td>dnsBypassCname</td>
<td>no</td>
<td>Bypass CNAME</td>
</tr>
<tr class="row-odd"><td>dnsBypassIp</td>
<td>no</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td>dnsBypassIp6</td>
<td>no</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td>dnsBypassTtl</td>
<td>no</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-even"><td>dscp</td>
<td>yes</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-odd"><td>edgeHeaderRewrite</td>
<td>no</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-even"><td>fqPacingRate</td>
<td>no</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td>geoLimitRedirectURL</td>
<td>no</td>
<td>This is the URL Traffic Router will redirect to when Geo Limit Failure.</td>
</tr>
<tr class="row-even"><td>geoLimit</td>
<td>yes</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from geo limit countries</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-odd"><td>geoLimitCountries</td>
<td>no</td>
<td>The geo limit countries.</td>
</tr>
<tr class="row-even"><td>geoProvider</td>
<td>yes</td>
<td><ul class="first last simple">
<li>0: Maxmind(default)</li>
<li>1: Neustar</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td>globalMaxMbps</td>
<td>no</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-even"><td>globalMaxTps</td>
<td>no</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-odd"><td>httpBypassFqdn</td>
<td>no</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more
than the globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td>infoUrl</td>
<td>no</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-odd"><td>initialDispersion</td>
<td>yes|no</td>
<td>Initial dispersion. Required for HTTP* delivery services.</td>
</tr>
<tr class="row-even"><td>ipv6RoutingEnabled</td>
<td>yes|no</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.
Required for DNS*, HTTP* and STEERING* delivery services.</td>
</tr>
<tr class="row-odd"><td>logsEnabled</td>
<td>yes</td>
<td><ul class="first last simple">
<li>false: No</li>
<li>true: Yes</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>longDesc</td>
<td>no</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td>longDesc1</td>
<td>no</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td>longDesc2</td>
<td>no</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td>maxDnsAnswers</td>
<td>no</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td>midHeaderRewrite</td>
<td>no</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td>missLat</td>
<td>yes|no</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
e.g. 39.7391500 or null. Required for DNS* and HTTP* delivery services.</td>
</tr>
<tr class="row-even"><td>missLong</td>
<td>yes|no</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
e.g. -104.9847000 or null. Required for DNS* and HTTP* delivery services.</td>
</tr>
<tr class="row-odd"><td>multiSiteOrigin</td>
<td>yes|no</td>
<td>true if enabled, false if disabled. Required for DNS* and HTTP* delivery services.</td>
</tr>
<tr class="row-even"><td>orgServerFqdn</td>
<td>yes|no</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server. This field is
required if type is DNS* or HTTP*.</td>
</tr>
<tr class="row-odd"><td>originShield</td>
<td>no</td>
<td>Origin shield</td>
</tr>
<tr class="row-even"><td>profileId</td>
<td>no</td>
<td>DS profile ID</td>
</tr>
<tr class="row-odd"><td>protocol</td>
<td>yes|no</td>
<td><ul class="first simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
<p class="last">Required for DNS*, HTTP* or <em>STEERING</em> delivery services.</p>
</td>
</tr>
<tr class="row-even"><td>qstringIgnore</td>
<td>yes|no</td>
<td><ul class="first simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
<p class="last">Required for DNS* and HTTP* delivery services.</p>
</td>
</tr>
<tr class="row-odd"><td>rangeRequestHandling</td>
<td>yes|no</td>
<td>How to treat range requests (required for DNS* and HTTP* delivery services):
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will
be a HIT)
- 1 Use the background_fetch plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td>regexRemap</td>
<td>no</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td>regionalGeoBlocking</td>
<td>yes</td>
<td>Is the Regional Geo Blocking feature enabled.</td>
</tr>
<tr class="row-even"><td>remapText</td>
<td>no</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td>routingName</td>
<td>yes</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td>signed</td>
<td>no</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td>signingAlgorithm</td>
<td>no</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td>sslKeyVersion</td>
<td>no</td>
<td>SSL key version</td>
</tr>
<tr class="row-odd"><td>tenantId</td>
<td>No</td>
<td>Owning tenant ID</td>
</tr>
<tr class="row-even"><td>trRequestHeaders</td>
<td>no</td>
<td>Traffic router log request headers</td>
</tr>
<tr class="row-odd"><td>trResponseHeaders</td>
<td>no</td>
<td>Traffic router additional response headers</td>
</tr>
<tr class="row-even"><td>typeId</td>
<td>yes</td>
<td>The type of this deliveryservice (one of :ref:to-api-v12-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-odd"><td>xmlId</td>
<td>yes</td>
<td>Unique string that describes this deliveryservice. This value cannot be changed on update.</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;my_ds_1&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;my_ds_displayname_1&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://10.75.168.91&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="mi">42</span><span class="p">,</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="mi">10</span><span class="p">,</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="mf">39.7391500</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="o">-</span><span class="mf">104.9847000</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span>
<span class="p">}</span>
</pre></div>
</div>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="5%" />
<col width="78%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">active</span></code></td>
<td>bool</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">anonymousBlockingEnabled</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cacheurl</span></code></td>
<td>string</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ccrDnsTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr. host.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>int</td>
<td>Id of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">checkPath</span></code></td>
<td>string</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deepCachingType</span></code></td>
<td>string</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">displayName</span></code></td>
<td>string</td>
<td>The display name of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassCname</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp</span></code></td>
<td>string</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp6</span></code></td>
<td>string</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dscp</span></code></td>
<td>int</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">edgeHeaderRewrite</span></code></td>
<td>string</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">exampleURLs</span></code></td>
<td>array</td>
<td>Entry points into the CDN for this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">fqPacingRate</span></code></td>
<td>int</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitRedirectUrl</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoLimit</span></code></td>
<td>int</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from USA</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitCountries</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoProvider</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">globalMaxMbps</span></code></td>
<td>int</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">globalMaxTps</span></code></td>
<td>int</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpBypassFqdn</span></code></td>
<td>string</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>int</td>
<td>The deliveryservice id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">infoUrl</span></code></td>
<td>string</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">initialDispersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipv6RoutingEnabled</span></code></td>
<td>bool</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">logsEnabled</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc</span></code></td>
<td>string</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">longDesc1</span></code></td>
<td>string</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc2</span></code></td>
<td>string</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">matchList</span></code></td>
<td>array</td>
<td>Array of matchList hashes.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;type</span></code></td>
<td>string</td>
<td>The type of MatchList (one of :ref:to-api-v11-types use_in_table=’regex’).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;setNumber</span></code></td>
<td>string</td>
<td>The set Number of the matchList.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;pattern</span></code></td>
<td>string</td>
<td>The regexp for the matchList.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">maxDnsAnswers</span></code></td>
<td>int</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">midHeaderRewrite</span></code></td>
<td>string</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">missLat</span></code></td>
<td>float</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. 39.7391500 or null</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">missLong</span></code></td>
<td>float</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. -104.9847000 or null</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">multiSiteOrigin</span></code></td>
<td>bool</td>
<td>Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See <a class="reference internal" href="../../admin/traffic_ops/using.html#rl-multi-site-origin"><span class="std std-ref">Multi Site Origin</span></a></td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">orgServerFqdn</span></code></td>
<td>string</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">originShield</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileDescription</span></code></td>
<td>string</td>
<td>The description of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>int</td>
<td>The id of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileName</span></code></td>
<td>string</td>
<td>The name of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">protocol</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">qstringIgnore</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rangeRequestHandling</span></code></td>
<td>int</td>
<td>How to treat range requests:
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will be a HIT)
- 1 Use the <a class="reference external" href="https://docs.trafficserver.apache.org/en/latest/reference/plugins/background_fetch.en.html">background_fetch</a> plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">regexRemap</span></code></td>
<td>string</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">regionalGeoBlocking</span></code></td>
<td>bool</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">remapText</span></code></td>
<td>string</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routingName</span></code></td>
<td>string</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">signed</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">signingAlgorithm</span></code></td>
<td>string</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">sslKeyVersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">trRequestHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">trResponseHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>int</td>
<td>The type of this deliveryservice (one of :ref:to-api-v11-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>string</td>
<td>Unique string that describes this deliveryservice.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;cacheurl&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;ccrDnsTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;3600&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;checkPath&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;deepCachingType&quot;</span><span class="p">:</span> <span class="s2">&quot;NEVER&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;My Cool Delivery Service&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassCname&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp6&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;30&quot;</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="s2">&quot;40&quot;</span><span class="p">,</span>
<span class="s2">&quot;edgeHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;exampleURLs&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;http://foo.foo-ds.foo.bar.net&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;geoLimitCountries&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoLimitRedirectURL&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;globalMaxMbps&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;globalMaxTps&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;fqPacingRate&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpBypassFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;442&quot;</span><span class="p">,</span>
<span class="s2">&quot;infoUrl&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2016-01-26 08:49:35&quot;</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;longDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc1&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc2&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;matchList&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;pattern&quot;</span><span class="p">:</span> <span class="s2">&quot;.*</span><span class="se">\\</span><span class="s2">.foo-ds</span><span class="se">\\</span><span class="s2">..*&quot;</span><span class="p">,</span>
<span class="s2">&quot;setNumber&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HOST_REGEXP&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="s2">&quot;maxDnsAnswers&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;midHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="s2">&quot;39.7391500&quot;</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="s2">&quot;-104.9847000&quot;</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://baz.boo.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;originShield&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;profileDescription&quot;</span><span class="p">:</span> <span class="s2">&quot;Content Router for over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileName&quot;</span><span class="p">:</span> <span class="s2">&quot;ROUTER_TOP&quot;</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;regexRemap&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;remapText&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;routingName&quot;</span><span class="p">:</span> <span class="s2">&quot;foo&quot;</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;sslKeyVersion&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;trRequestHeaders&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;trResponseHeaders&quot;</span><span class="p">:</span> <span class="s2">&quot;Access-Control-Allow-Origin: *&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTP&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;8&quot;</span><span class="p">,</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;foo-ds&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>PUT /api/1.2/deliveryservices/{:id}/safe</strong></p>
<blockquote>
<div><p>Allows a user to edit limited fields of an assigned delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: users with the delivery service assigned or ops and above</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>yes</td>
<td>delivery service id.</td>
</tr>
</tbody>
</table>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="7%" />
<col width="76%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>displayName</td>
<td>no</td>
<td>Display name</td>
</tr>
<tr class="row-odd"><td>infoUrl</td>
<td>no</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-even"><td>longDesc</td>
<td>no</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td>longDesc1</td>
<td>no</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td>all other fields</td>
<td>n/a</td>
<td>All other fields will be silently ignored</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;My Cool Delivery Service&quot;</span><span class="p">,</span>
<span class="s2">&quot;infoUrl&quot;</span><span class="p">:</span> <span class="s2">&quot;www.info.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;some info about the service&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc1&quot;</span><span class="p">:</span> <span class="s2">&quot;the customer label&quot;</span>
<span class="p">}</span>
</pre></div>
</div>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="17%" />
<col width="5%" />
<col width="78%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">active</span></code></td>
<td>bool</td>
<td>true if active, false if inactive.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">anonymousBlockingEnabled</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>true: enable blocking clients with anonymous ips</li>
<li>false: disabled</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cacheurl</span></code></td>
<td>string</td>
<td>Cache URL rule to apply to this delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ccrDnsTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS response for A or AAAA queries requesting the IP address of the tr. host.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">cdnId</span></code></td>
<td>int</td>
<td>Id of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">cdnName</span></code></td>
<td>string</td>
<td>Name of the CDN to which the delivery service belongs to.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">checkPath</span></code></td>
<td>string</td>
<td>The path portion of the URL to check this deliveryservice for health.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">deepCachingType</span></code></td>
<td>string</td>
<td><p class="first">When to do Deep Caching for this Delivery Service:</p>
<ul class="last simple">
<li>NEVER (default)</li>
<li>ALWAYS</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">displayName</span></code></td>
<td>string</td>
<td>The display name of the delivery service.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassCname</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp</span></code></td>
<td>string</td>
<td>The IPv4 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassIp6</span></code></td>
<td>string</td>
<td>The IPv6 IP to use for bypass on a DNS deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">dnsBypassTtl</span></code></td>
<td>int</td>
<td>The TTL of the DNS bypass response.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">dscp</span></code></td>
<td>int</td>
<td>The Differentiated Services Code Point (DSCP) with which to mark downstream (EDGE -&gt; customer) traffic.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">edgeHeaderRewrite</span></code></td>
<td>string</td>
<td>The EDGE header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">exampleURLs</span></code></td>
<td>array</td>
<td>Entry points into the CDN for this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">fqPacingRate</span></code></td>
<td>int</td>
<td>The maximum rate in bytes per second for each TCP connection in this delivery service. If exceeded,
will be rate limited by the Linux kernel. A default value of 0 disables this feature</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitRedirectUrl</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoLimit</span></code></td>
<td>int</td>
<td><ul class="first simple">
<li>0: None - no limitations</li>
<li>1: Only route on CZF file hit</li>
<li>2: Only route on CZF hit or when from USA</li>
</ul>
<p class="last">Note that this does not prevent access to content or makes content secure; it just prevents
routing to the content by Traffic Router.</p>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">geoLimitCountries</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">geoProvider</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">globalMaxMbps</span></code></td>
<td>int</td>
<td>The maximum global bandwidth allowed on this deliveryservice. If exceeded, the traffic routes to the
dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for HTTP deliveryservices.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">globalMaxTps</span></code></td>
<td>int</td>
<td>The maximum global transactions per second allowed on this deliveryservice. When this is exceeded
traffic will be sent to the dnsByPassIp* for DNS deliveryservices and to the httpBypassFqdn for
HTTP deliveryservices</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">httpBypassFqdn</span></code></td>
<td>string</td>
<td>The HTTP destination to use for bypass on an HTTP deliveryservice - bypass starts when serving more than the
globalMaxMbps traffic on this deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">id</span></code></td>
<td>int</td>
<td>The deliveryservice id (database row number).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">infoUrl</span></code></td>
<td>string</td>
<td>Use this to add a URL that points to more information about that deliveryservice.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">initialDispersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">ipv6RoutingEnabled</span></code></td>
<td>bool</td>
<td>false: send IPv4 address of Traffic Router to client on HTTP type del.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">lastUpdated</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">logsEnabled</span></code></td>
<td>bool</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc</span></code></td>
<td>string</td>
<td>Description field.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">longDesc1</span></code></td>
<td>string</td>
<td>Description field 1.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">longDesc2</span></code></td>
<td>string</td>
<td>Description field 2.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">matchList</span></code></td>
<td>array</td>
<td>Array of matchList hashes.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;type</span></code></td>
<td>string</td>
<td>The type of MatchList (one of :ref:to-api-v11-types use_in_table=’regex’).</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;setNumber</span></code></td>
<td>string</td>
<td>The set Number of the matchList.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">&gt;&gt;pattern</span></code></td>
<td>string</td>
<td>The regexp for the matchList.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">maxDnsAnswers</span></code></td>
<td>int</td>
<td>The maximum number of IPs to put in a A/AAAA response for a DNS deliveryservice (0 means all
available).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">midHeaderRewrite</span></code></td>
<td>string</td>
<td>The MID header rewrite actions to perform.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">missLat</span></code></td>
<td>float</td>
<td>The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. 39.7391500 or null</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">missLong</span></code></td>
<td>float</td>
<td>The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup.
- e.g. -104.9847000 or null</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">multiSiteOrigin</span></code></td>
<td>bool</td>
<td>Is the Multi Site Origin feature enabled for this delivery service (0=false, 1=true). See <a class="reference internal" href="../../admin/traffic_ops/using.html#rl-multi-site-origin"><span class="std std-ref">Multi Site Origin</span></a></td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">orgServerFqdn</span></code></td>
<td>string</td>
<td>The origin server base URL (FQDN when used in this instance, includes the
protocol (<a class="reference external" href="http://">http://</a> or <a class="reference external" href="https://">https://</a>) for use in retrieving content from the origin server.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">originShield</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileDescription</span></code></td>
<td>string</td>
<td>The description of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">profileId</span></code></td>
<td>int</td>
<td>The id of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">profileName</span></code></td>
<td>string</td>
<td>The name of the Traffic Router Profile with which this deliveryservice is associated.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">protocol</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: serve with <a class="reference external" href="http://">http://</a> at EDGE</li>
<li>1: serve with <a class="reference external" href="https://">https://</a> at EDGE</li>
<li>2: serve with both <a class="reference external" href="http://">http://</a> and <a class="reference external" href="https://">https://</a> at EDGE</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">qstringIgnore</span></code></td>
<td>int</td>
<td><ul class="first last simple">
<li>0: no special query string handling; it is for use in the cache-key and pass up to origin.</li>
<li>1: ignore query string in cache-key, but pass it up to parent and or origin.</li>
<li>2: drop query string at edge, and do not use it in the cache-key.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">rangeRequestHandling</span></code></td>
<td>int</td>
<td>How to treat range requests:
- 0 Do not cache (ranges requested from files taht are already cached due to a non range request will be a HIT)
- 1 Use the <a class="reference external" href="https://docs.trafficserver.apache.org/en/latest/reference/plugins/background_fetch.en.html">background_fetch</a> plugin.
- 2 Use the cache_range_requests plugin.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">regexRemap</span></code></td>
<td>string</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">regionalGeoBlocking</span></code></td>
<td>bool</td>
<td>Regex Remap rule to apply to this delivery service at the Edge tier.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">remapText</span></code></td>
<td>string</td>
<td>Additional raw remap line text.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">routingName</span></code></td>
<td>string</td>
<td>The routing name of this deliveryservice, e.g. &lt;routingName&gt;.&lt;xmlId&gt;.cdn.com.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">signed</span></code></td>
<td>bool</td>
<td><ul class="first last simple">
<li>false: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>true: token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">signingAlgorithm</span></code></td>
<td>string</td>
<td><ul class="first last simple">
<li>null: token based auth (see :ref:token-based-auth) is not enabled for this deliveryservice.</li>
<li>“url_sig”: URL Sign token based auth is enabled for this deliveryservice.</li>
<li>“uri_signing”: URI Signing token based auth is enabled for this deliveryservice.</li>
</ul>
</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">sslKeyVersion</span></code></td>
<td>int</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">trRequestHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">trResponseHeaders</span></code></td>
<td>string</td>
<td>&#160;</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">typeId</span></code></td>
<td>int</td>
<td>The type of this deliveryservice (one of :ref:to-api-v11-types use_in_table=’deliveryservice’).</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">xmlId</span></code></td>
<td>string</td>
<td>Unique string that describes this deliveryservice.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;active&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;anonymousBlockingEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;cacheurl&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;ccrDnsTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;3600&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnId&quot;</span><span class="p">:</span> <span class="s2">&quot;2&quot;</span><span class="p">,</span>
<span class="s2">&quot;cdnName&quot;</span><span class="p">:</span> <span class="s2">&quot;over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;checkPath&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;deepCachingType&quot;</span><span class="p">:</span> <span class="s2">&quot;NEVER&quot;</span><span class="p">,</span>
<span class="s2">&quot;displayName&quot;</span><span class="p">:</span> <span class="s2">&quot;My Cool Delivery Service&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassCname&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassIp6&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;dnsBypassTtl&quot;</span><span class="p">:</span> <span class="s2">&quot;30&quot;</span><span class="p">,</span>
<span class="s2">&quot;dscp&quot;</span><span class="p">:</span> <span class="s2">&quot;40&quot;</span><span class="p">,</span>
<span class="s2">&quot;edgeHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;exampleURLs&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;http://foo.foo-ds.foo.bar.net&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;geoLimit&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;geoLimitCountries&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoLimitRedirectURL&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;geoProvider&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;globalMaxMbps&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;globalMaxTps&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;fqPacingRate&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;httpBypassFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;id&quot;</span><span class="p">:</span> <span class="s2">&quot;442&quot;</span><span class="p">,</span>
<span class="s2">&quot;infoUrl&quot;</span><span class="p">:</span> <span class="s2">&quot;www.info.com&quot;</span><span class="p">,</span>
<span class="s2">&quot;initialDispersion&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;ipv6RoutingEnabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
<span class="s2">&quot;lastUpdated&quot;</span><span class="p">:</span> <span class="s2">&quot;2016-01-26 08:49:35&quot;</span><span class="p">,</span>
<span class="s2">&quot;logsEnabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;longDesc&quot;</span><span class="p">:</span> <span class="s2">&quot;some info about the service&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc1&quot;</span><span class="p">:</span> <span class="s2">&quot;the customer label&quot;</span><span class="p">,</span>
<span class="s2">&quot;longDesc2&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
<span class="s2">&quot;matchList&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;pattern&quot;</span><span class="p">:</span> <span class="s2">&quot;.*</span><span class="se">\\</span><span class="s2">.foo-ds</span><span class="se">\\</span><span class="s2">..*&quot;</span><span class="p">,</span>
<span class="s2">&quot;setNumber&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HOST_REGEXP&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="s2">&quot;maxDnsAnswers&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;midHeaderRewrite&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;missLat&quot;</span><span class="p">:</span> <span class="s2">&quot;39.7391500&quot;</span><span class="p">,</span>
<span class="s2">&quot;missLong&quot;</span><span class="p">:</span> <span class="s2">&quot;-104.9847000&quot;</span><span class="p">,</span>
<span class="s2">&quot;multiSiteOrigin&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;orgServerFqdn&quot;</span><span class="p">:</span> <span class="s2">&quot;http://baz.boo.net&quot;</span><span class="p">,</span>
<span class="s2">&quot;originShield&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;profileDescription&quot;</span><span class="p">:</span> <span class="s2">&quot;Content Router for over-the-top&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileId&quot;</span><span class="p">:</span> <span class="s2">&quot;5&quot;</span><span class="p">,</span>
<span class="s2">&quot;profileName&quot;</span><span class="p">:</span> <span class="s2">&quot;ROUTER_TOP&quot;</span><span class="p">,</span>
<span class="s2">&quot;protocol&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;qstringIgnore&quot;</span><span class="p">:</span> <span class="s2">&quot;1&quot;</span><span class="p">,</span>
<span class="s2">&quot;rangeRequestHandling&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;regexRemap&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;regionalGeoBlocking&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;remapText&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;routingName&quot;</span><span class="p">:</span> <span class="s2">&quot;foo&quot;</span><span class="p">,</span>
<span class="s2">&quot;signed&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
<span class="s2">&quot;signingAlgorithm&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;sslKeyVersion&quot;</span><span class="p">:</span> <span class="s2">&quot;0&quot;</span><span class="p">,</span>
<span class="s2">&quot;tenantId&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
<span class="s2">&quot;trRequestHeaders&quot;</span><span class="p">:</span> <span class="n">null</span><span class="p">,</span>
<span class="s2">&quot;trResponseHeaders&quot;</span><span class="p">:</span> <span class="s2">&quot;Access-Control-Allow-Origin: *&quot;</span><span class="p">,</span>
<span class="s2">&quot;type&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTP&quot;</span><span class="p">,</span>
<span class="s2">&quot;typeId&quot;</span><span class="p">:</span> <span class="s2">&quot;8&quot;</span><span class="p">,</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span> <span class="s2">&quot;foo-ds&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>DELETE /api/1.2/deliveryservices/{:id}</strong></p>
<blockquote>
<div><p>Allows user to delete a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin or oper</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="22%" />
<col width="13%" />
<col width="65%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>id</td>
<td>yes</td>
<td>delivery service id.</td>
</tr>
</tbody>
</table>
<blockquote>
<div><p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;alerts&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;level&quot;</span><span class="p">:</span> <span class="s2">&quot;success&quot;</span><span class="p">,</span>
<span class="s2">&quot;text&quot;</span><span class="p">:</span> <span class="s2">&quot;Delivery service was deleted.&quot;</span>
<span class="p">}</span>
<span class="p">],</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
<p><strong>POST /api/1.2/deliveryservices/:xml_id/servers</strong></p>
<blockquote>
<div><p>Assign caches to a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin or oper</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="15%" />
<col width="19%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>xml_id</td>
<td>yes</td>
<td>the xml_id of the deliveryservice</td>
</tr>
</tbody>
</table>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="11%" />
<col width="8%" />
<col width="82%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>serverNames</td>
<td>yes</td>
<td>array of hostname of cache servers to assign to this deliveryservice, for example: [ “server1”, “server2” ]</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;serverNames&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="s2">&quot;tc1_ats1&quot;</span>
<span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="11%" />
<col width="6%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>xml_id</td>
<td>string</td>
<td>Unique string that describes this delivery service.</td>
</tr>
<tr class="row-odd"><td>serverNames</td>
<td>string</td>
<td>array of hostname of cache servers to assign to this deliveryservice, for example: [ “server1”, “server2” ]</td>
</tr>
</tbody>
</table>
<blockquote>
<div><p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;response&quot;</span><span class="p">:{</span>
<span class="s2">&quot;serverNames&quot;</span><span class="p">:[</span>
<span class="s2">&quot;tc1_ats1&quot;</span>
<span class="p">],</span>
<span class="s2">&quot;xmlId&quot;</span><span class="p">:</span><span class="s2">&quot;my_ds_1&quot;</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
</div>
<div class="section" id="uri-signing-keys">
<h2>URI Signing Keys<a class="headerlink" href="#uri-signing-keys" title="Permalink to this headline"></a></h2>
<p><strong>DELETE /api/1.2/deliveryservices/:xml_id/urisignkeys</strong></p>
<blockquote>
<div><p>Deletes URISigning objects for a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>xml_id</td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
</div></blockquote>
<p><strong>GET /api/1.2/deliveryservices/:xml_id/urisignkeys</strong></p>
<blockquote>
<div><p>Retrieves one or more URISigning objects for a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>xml_id</td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Response Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="5%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">Issuer</span></code></td>
<td>string</td>
<td>a string describing the issuer of the URI signing object. Multiple URISigning objects may be returned in a response, see example</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">renewal_kid</span></code></td>
<td>string</td>
<td>a string naming the jwt key used for renewals.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">keys</span></code></td>
<td>string</td>
<td>json array of jwt symmetric keys .</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">alg</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the jwa encryption algorithm to use with this key, RFC 7518.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">kid</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the unique id for the key as defined in RFC 7516.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">kty</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the key type as defined in RFC 7516.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">k</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the base64 encoded symmetric key see RFC 7516.</td>
</tr>
</tbody>
</table>
<p><strong>Response Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;Kabletown URI Authority&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;renewal_kid&quot;</span><span class="p">:</span> <span class="s2">&quot;Second Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;keys&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;alg&quot;</span><span class="p">:</span> <span class="s2">&quot;HS256&quot;</span><span class="p">,</span>
<span class="s2">&quot;kid&quot;</span><span class="p">:</span> <span class="s2">&quot;First Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;kty&quot;</span><span class="p">:</span> <span class="s2">&quot;oct&quot;</span><span class="p">,</span>
<span class="s2">&quot;k&quot;</span><span class="p">:</span> <span class="s2">&quot;Kh_RkUMj-fzbD37qBnDf_3e_RvQ3RP9PaSmVEpE24AM&quot;</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s2">&quot;alg&quot;</span><span class="p">:</span> <span class="s2">&quot;HS256&quot;</span><span class="p">,</span>
<span class="s2">&quot;kid&quot;</span><span class="p">:</span> <span class="s2">&quot;Second Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;kty&quot;</span><span class="p">:</span> <span class="s2">&quot;oct&quot;</span><span class="p">,</span>
<span class="s2">&quot;k&quot;</span><span class="p">:</span> <span class="s2">&quot;fZBpDBNbk2GqhwoB_DGBAsBxqQZVix04rIoLJ7p_RlE&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<p><strong>POST /api/1.2/deliveryservices/:xml_id/urisignkeys</strong></p>
<blockquote>
<div><p>Assigns URISigning objects to a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>xml_id</td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="5%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">Issuer</span></code></td>
<td>string</td>
<td>a string describing the issuer of the URI signing object. Multiple URISigning objects may be returned in a response, see example</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">renewal_kid</span></code></td>
<td>string</td>
<td>a string naming the jwt key used for renewals.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">keys</span></code></td>
<td>string</td>
<td>json array of jwt symmetric keys .</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">alg</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the jwa encryption algorithm to use with this key, RFC 7518.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">kid</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the unique id for the key as defined in RFC 7516.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">kty</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the key type as defined in RFC 7516.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">k</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the base64 encoded symmetric key see RFC 7516.</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;Kabletown URI Authority&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;renewal_kid&quot;</span><span class="p">:</span> <span class="s2">&quot;Second Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;keys&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;alg&quot;</span><span class="p">:</span> <span class="s2">&quot;HS256&quot;</span><span class="p">,</span>
<span class="s2">&quot;kid&quot;</span><span class="p">:</span> <span class="s2">&quot;First Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;kty&quot;</span><span class="p">:</span> <span class="s2">&quot;oct&quot;</span><span class="p">,</span>
<span class="s2">&quot;k&quot;</span><span class="p">:</span> <span class="s2">&quot;Kh_RkUMj-fzbD37qBnDf_3e_RvQ3RP9PaSmVEpE24AM&quot;</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s2">&quot;alg&quot;</span><span class="p">:</span> <span class="s2">&quot;HS256&quot;</span><span class="p">,</span>
<span class="s2">&quot;kid&quot;</span><span class="p">:</span> <span class="s2">&quot;Second Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;kty&quot;</span><span class="p">:</span> <span class="s2">&quot;oct&quot;</span><span class="p">,</span>
<span class="s2">&quot;k&quot;</span><span class="p">:</span> <span class="s2">&quot;fZBpDBNbk2GqhwoB_DGBAsBxqQZVix04rIoLJ7p_RlE&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<p><strong>PUT /api/1.2/deliveryservices/:xml_id/urisignkeys</strong></p>
<blockquote>
<div><p>updates URISigning objects on a delivery service.</p>
<p>Authentication Required: Yes</p>
<p>Role(s) Required: admin</p>
<p><strong>Request Route Parameters</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="18%" />
<col width="16%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Name</th>
<th class="head">Required</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>xml_id</td>
<td>yes</td>
<td>xml_id of the desired delivery service</td>
</tr>
</tbody>
</table>
<p><strong>Request Properties</strong></p>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
<col width="5%" />
<col width="83%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Parameter</th>
<th class="head">Type</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">Issuer</span></code></td>
<td>string</td>
<td>a string describing the issuer of the URI signing object. Multiple URISigning objects may be returned in a response, see example</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">renewal_kid</span></code></td>
<td>string</td>
<td>a string naming the jwt key used for renewals.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">keys</span></code></td>
<td>string</td>
<td>json array of jwt symmetric keys .</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">alg</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the jwa encryption algorithm to use with this key, RFC 7518.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">kid</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the unique id for the key as defined in RFC 7516.</td>
</tr>
<tr class="row-odd"><td><code class="docutils literal notranslate"><span class="pre">kty</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the key type as defined in RFC 7516.</td>
</tr>
<tr class="row-even"><td><code class="docutils literal notranslate"><span class="pre">k</span></code></td>
<td>string</td>
<td>this parameter repeats for each jwt key in the array and specifies the base64 encoded symmetric key see RFC 7516.</td>
</tr>
</tbody>
</table>
<p><strong>Request Example</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
<span class="s2">&quot;Kabletown URI Authority&quot;</span><span class="p">:</span> <span class="p">{</span>
<span class="s2">&quot;renewal_kid&quot;</span><span class="p">:</span> <span class="s2">&quot;Second Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;keys&quot;</span><span class="p">:</span> <span class="p">[</span>
<span class="p">{</span>
<span class="s2">&quot;alg&quot;</span><span class="p">:</span> <span class="s2">&quot;HS256&quot;</span><span class="p">,</span>
<span class="s2">&quot;kid&quot;</span><span class="p">:</span> <span class="s2">&quot;First Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;kty&quot;</span><span class="p">:</span> <span class="s2">&quot;oct&quot;</span><span class="p">,</span>
<span class="s2">&quot;k&quot;</span><span class="p">:</span> <span class="s2">&quot;Kh_RkUMj-fzbD37qBnDf_3e_RvQ3RP9PaSmVEpE24AM&quot;</span>
<span class="p">},</span>
<span class="p">{</span>
<span class="s2">&quot;alg&quot;</span><span class="p">:</span> <span class="s2">&quot;HS256&quot;</span><span class="p">,</span>
<span class="s2">&quot;kid&quot;</span><span class="p">:</span> <span class="s2">&quot;Second Key&quot;</span><span class="p">,</span>
<span class="s2">&quot;kty&quot;</span><span class="p">:</span> <span class="s2">&quot;oct&quot;</span><span class="p">,</span>
<span class="s2">&quot;k&quot;</span><span class="p">:</span> <span class="s2">&quot;fZBpDBNbk2GqhwoB_DGBAsBxqQZVix04rIoLJ7p_RlE&quot;</span>
<span class="p">}</span>
<span class="p">]</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div></blockquote>
<div class="line-block">
<div class="line"><br /></div>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="deliveryservice_regex.html" class="btn btn-neutral float-right" title="Delivery Service Regexes">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="configfiles_ats.html" class="btn btn-neutral" title="Config Files and Config File Metadata"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book">Apache Traffic Control (Incubating)</span>
v:
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
<dt>Versions</dt>
<dd><a href="/docs/master/">latest</a></dd>
<dd><a href="/docs/2.0/">2.0</a></dd>
<dd><a href="/docs/1.8.1/">1.8</a></dd>
<dd><a href="/docs/1.7.0/">1.7</a></dd>
</dl>
<hr/>
Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
</div>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'2.2-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../../_static/jquery.js"></script>
<script type="text/javascript" src="../../_static/underscore.js"></script>
<script type="text/javascript" src="../../_static/doctools.js"></script>
<script type="text/javascript" src="../../_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>