Deployed e9ed05d with MkDocs version: 1.6.1

This commit is contained in:
2026-08-28 00:22:40 +00:00
parent e127af7db5
commit a04a58d0d0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2530,7 +2530,7 @@
</span><span id="__span-5-5"><a id="__codelineno-5-5" name="__codelineno-5-5" href="#__codelineno-5-5"></a><span class="w"> </span><span class="nt">api_mode</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">json</span>
</span><span id="__span-5-6"><a id="__codelineno-5-6" name="__codelineno-5-6" href="#__codelineno-5-6"></a><span class="w"> </span><span class="nt">password</span><span class="p">:</span><span class="w"> </span><span class="s">"your-api-token"</span>
</span></code></pre></div>
<p>Requests are <code>POST</code>ed as <code>{"method": ..., "params": ..., "token": ...}</code> using methods like <code>GetKey</code>, <code>InsertKey</code>, and <code>GetServices</code>. Bulk writes (<code>kv copy</code>, <code>kv add</code>) first try <code>InsertKeys</code> with <code>params: {"keys": {kid: key, ...}, "service": ..., "title": ...}</code> (up to 500 content keys per call) and expect <code>{"inserted": &lt;count&gt;}</code> back. A server that answers HTTP 404 to <code>InsertKeys</code> gets one <code>InsertKey</code> call per content key for the rest of the run instead. This mode cannot list all keys in bulk, so a <code>kv copy</code> from a json vault relies on the remote server's own duplicate handling.</p>
<p>Requests are <code>POST</code>ed as <code>{"method": ..., "params": ..., "token": ...}</code> using methods like <code>GetKey</code>, <code>InsertKey</code>, and <code>GetServices</code>. Bulk writes (<code>kv copy</code>, <code>kv add</code>) first try <code>InsertKeys</code> with <code>params: {"keys": {kid: key, ...}, "service": ..., "title": ...}</code> (up to 500 content keys per call) and expect <code>{"inserted": &lt;count&gt;}</code> back. A server that answers HTTP 404 or <code>Unknown JSON-RPC method</code> to <code>InsertKeys</code> gets one <code>InsertKey</code> call per content key for the rest of the run instead. This mode cannot list all keys in bulk, so a <code>kv copy</code> from a json vault relies on the remote server's own duplicate handling.</p>
</div>
<div class="tabbed-block">
<div class="language-yaml highlight"><span class="filename">unshackle.yaml</span><pre><span></span><code><span id="__span-6-1"><a id="__codelineno-6-1" name="__codelineno-6-1" href="#__codelineno-6-1"></a><span class="nt">key_vaults</span><span class="p">:</span>
File diff suppressed because one or more lines are too long