Deployed 87b58190 with MkDocs version: 1.6.1

This commit is contained in:
2026-12-05 03:00:15 +00:00
parent 56cac92f20
commit 6ed040a6dd
44 changed files with 17665 additions and 13063 deletions
+241 -163
View File
@@ -13,10 +13,10 @@
<link rel="canonical" href="https://docs.unshackle.dev/dev/rest-api/errors/">
<link rel="prev" href="../remote-sessions/">
<link rel="prev" href="../job-lifecycle/">
<link rel="next" href="../../../reference/api/service/">
<link rel="next" href="../remote-sessions/">
@@ -347,28 +347,6 @@
<li class="md-tabs__item">
<a href="../../../reference/api/service/" class="md-tabs__link">
API Reference
</a>
</li>
</ul>
</div>
</nav>
@@ -614,6 +592,8 @@
@@ -886,6 +866,171 @@
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_9" >
<div class="md-nav__link md-nav__container">
<a href="../" class="md-nav__link ">
<span class="md-ellipsis">
Server
</span>
</a>
<label class="md-nav__link " for="__nav_3_9" id="__nav_3_9_label" tabindex="0">
<span class="md-nav__icon md-icon"></span>
</label>
</div>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_3_9_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_3_9">
<span class="md-nav__icon md-icon"></span>
Server
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../authentication/" class="md-nav__link">
<span class="md-ellipsis">
Authentication
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../dashboard/" class="md-nav__link">
<span class="md-ellipsis">
Dashboard
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../../guide/remote-sessions/" class="md-nav__link">
<span class="md-ellipsis">
Remote Sessions
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
@@ -1078,7 +1223,7 @@
<span class="md-ellipsis">
Output & Naming
Output & Naming Options
@@ -1162,7 +1307,7 @@
<span class="md-ellipsis">
Key Vaults
Key Vault Options
@@ -1282,6 +1427,8 @@
@@ -1400,14 +1547,6 @@
@@ -1436,9 +1575,8 @@
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_3" checked>
<div class="md-nav__link md-nav__container">
<a href="../" class="md-nav__link ">
<label class="md-nav__link" for="__nav_5_3" id="__nav_5_3_label" tabindex="">
<span class="md-ellipsis">
@@ -1452,14 +1590,8 @@
</a>
<label class="md-nav__link " for="__nav_5_3" id="__nav_5_3_label" tabindex="">
<span class="md-nav__icon md-icon"></span>
</label>
</div>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_3_label" aria-expanded="true">
<label class="md-nav__title" for="__nav_5_3">
@@ -1473,8 +1605,6 @@
<ul class="md-nav__list" data-md-scrollfix>
@@ -1488,35 +1618,7 @@
<span class="md-ellipsis">
Quick Start
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../authentication/" class="md-nav__link">
<span class="md-ellipsis">
Authentication
REST API Quick Start
@@ -1590,62 +1692,6 @@
<li class="md-nav__item">
<a href="../dashboard/" class="md-nav__link">
<span class="md-ellipsis">
Dashboard
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../remote-sessions/" class="md-nav__link">
<span class="md-ellipsis">
Remote Sessions
</span>
</a>
</li>
@@ -1872,9 +1918,29 @@
</ul>
</nav>
<li class="md-nav__item">
<a href="../remote-sessions/" class="md-nav__link">
<span class="md-ellipsis">
Remote Session Protocol
</span>
</a>
</li>
@@ -1886,9 +1952,10 @@
</li>
@@ -1911,25 +1978,28 @@
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
<label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
<li class="md-nav__item md-nav__item--section md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_4" >
<label class="md-nav__link" for="__nav_5_4" id="__nav_5_4_label" tabindex="">
<span class="md-ellipsis">
API Reference
Python API
@@ -1940,12 +2010,12 @@
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_6">
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_4_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_5_4">
<span class="md-nav__icon md-icon"></span>
API Reference
Python API
</label>
@@ -2097,6 +2167,14 @@
</li>
</ul>
</nav>
</li>
</ul>
</nav>
@@ -2307,7 +2385,7 @@ that carries a machine-readable <strong>error code</strong>, a human-readable <s
matching <strong>HTTP status</strong>. This page documents that format and catalogues every error
code the server can send.</p>
<p>If you write a client against the API, read this page alongside the endpoint
reference. Each endpoint lists the specific codes it raises, and this page gives the
reference. The section of each endpoint names the specific codes it raises, and this page gives the
meanings of those codes.</p>
<div class="admonition note">
<p class="admonition-title">Where this comes from</p>
@@ -2405,7 +2483,7 @@ stable across releases.</p>
<div class="language-text highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>Error ref 7f3a2c: SERVICE_ERROR 422 POST /api/session/&lt;id&gt;/license service=EXAMPLE user=alice: Licence request failed: ...
</span></code></pre></div>
<p>Search the server log for <code>Error ref &lt;ref&gt;</code>. The handler's traceback, when there is one,
is directly above that line. The <a href="../dashboard/">developer dashboard</a> log view also shows it.</p>
is directly above that line. The <a href="../dashboard/">server dashboard</a> log view also shows it.</p>
<h3 id="the-details-object">The <code>details</code> object<a class="headerlink" href="#the-details-object" title="Permanent link">&para;</a></h3>
<p>When present, <code>details</code> carries extra context specific to the error. It is only
included when it is non-empty, so a client must treat a missing <code>details</code> as "no
@@ -2511,7 +2589,7 @@ while the server restarts.</p>
<tr>
<td><code>SESSION_NOT_FOUND</code></td>
<td>404</td>
<td>The remote-dl session does not exist or has expired.</td>
<td>The remote session does not exist or has expired.</td>
</tr>
<tr>
<td><code>TRACK_NOT_FOUND</code></td>
@@ -2536,7 +2614,7 @@ while the server restarts.</p>
<tr>
<td><code>DRM_ERROR</code></td>
<td>422</td>
<td>DRM or license acquisition failed.</td>
<td>DRM or licence acquisition failed.</td>
</tr>
<tr>
<td><code>RATE_LIMITED</code></td>
@@ -2713,9 +2791,9 @@ body that uses an integer <code>status</code> and no <code>error_code</code> or
(integer <code>status</code>, no <code>error_code</code>).</p>
</div>
<h2 id="late-failures-with-status-200">Late failures with status <code>200</code><a class="headerlink" href="#late-failures-with-status-200" title="Permanent link">&para;</a></h2>
<p>The remote session <code>titles</code>, <code>tracks</code> and <code>license</code> routes send status <code>200</code> and the headers
<p>The remote session <code>titles</code>, <code>tracks</code>, <code>segments</code> and <code>license</code> routes send status <code>200</code> and the headers
when the work takes longer than 30 seconds. They then send a newline every 30 seconds to keep
the connection open. See <a href="../endpoints/#slow-responses">Slow responses</a>. A failure after that
the connection open. See <a href="../remote-sessions/#slow-responses">Slow responses</a>. A failure after that
time arrives as the standard error body, but with status <code>200</code>. The body has no field for the
HTTP status that the error would otherwise have. <code>error_code</code> and <code>retryable</code> stay in the body.</p>
<div class="admonition warning">
@@ -2770,7 +2848,7 @@ debugging, never on a server reachable by untrusted clients.</p>
</ol>
<div class="admonition note">
<p class="admonition-title">Reference consumer</p>
<p>unshackle's own remote-download client treats any status of <code>400</code> or above as
<p>unshackle's own remote session client treats any status of <code>400</code> or above as
fatal, and a <code>200</code> body with <code>"status": "error"</code> and an <code>error_code</code> too: it logs
<code>Server error [&lt;error_code&gt;]: &lt;message&gt;</code> and exits. It retries a request once,
after one second, only when a <code>502</code>, <code>503</code> or <code>504</code> arrives with a body that is
@@ -2815,7 +2893,7 @@ handling.</p>
<nav class="md-footer__inner md-grid" aria-label="Footer" >
<a href="../remote-sessions/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Remote Sessions">
<a href="../job-lifecycle/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Job Lifecycle">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
@@ -2825,20 +2903,20 @@ handling.</p>
Previous
</span>
<div class="md-ellipsis">
Remote Sessions
Job Lifecycle
</div>
</div>
</a>
<a href="../../../reference/api/service/" class="md-footer__link md-footer__link--next" aria-label="Next: Service">
<a href="../remote-sessions/" class="md-footer__link md-footer__link--next" aria-label="Next: Remote Session Protocol">
<div class="md-footer__title">
<span class="md-footer__direction">
Next
</span>
<div class="md-ellipsis">
Service
Remote Session Protocol
</div>
</div>
<div class="md-footer__button md-icon">