Skip to content

Commit

Permalink
deploy: 2bfda46
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorhoj committed Nov 22, 2023
1 parent 701ffd6 commit bb9bd4b
Showing 1 changed file with 56 additions and 6 deletions.
62 changes: 56 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3180,7 +3180,7 @@ <h2 id='get-queue-items'>Get queue items</h2><div class="highlight"><pre class="
</span><span class="nl">"left"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="nl">"printed"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="nl">"filesystem_id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"c00489ef361771ac098b5a60e6740757"</span><span class="p">,</span><span class="w">
</span><span class="nl">"group"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="nl">"group"</span><span class="p">:</span><span class="w"> </span><span class="mi">123</span><span class="p">,</span><span class="w">
</span><span class="nl">"for"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"printers"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="mi">1234</span><span class="w">
Expand Down Expand Up @@ -3241,7 +3241,21 @@ <h2 id='get-queue-items'>Get queue items</h2><div class="highlight"><pre class="
</span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="nl">"groups"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">123</span><span class="p">,</span><span class="w">
</span><span class="nl">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Group 1"</span><span class="p">,</span><span class="w">
</span><span class="nl">"virtual"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
</span><span class="nl">"extensions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="s2">"gcode"</span><span class="p">,</span><span class="w">
</span><span class="s2">"gco"</span><span class="p">,</span><span class="w">
</span><span class="s2">"stl"</span><span class="p">,</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="nl">"sort_order"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="err">...</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div>
<aside class="notice">
Expand All @@ -3266,6 +3280,12 @@ <h3 id='request-3'>Request</h3>
<td>no</td>
<td>The printer id to get the queue for. If not specified, the queue for all printers will be returned.</td>
</tr>
<tr>
<td><code>groups</code></td>
<td>boolean</td>
<td>no</td>
<td>Attaches a list of print queue groups to the response. Note: this argument does not take a value.</td>
</tr>
</tbody></table>
<h3 id='response-3'>Response</h3>
<table><thead>
Expand Down Expand Up @@ -3467,13 +3487,43 @@ <h3 id='response-3'>Response</h3>
</tr>
<tr>
<td><code>queue.done_items[].done</code></td>
<td>UTC date</td>
<td>nullable</td>
<td>UTC date/null</td>
<td>UTC date that the item was finished.</td>
</tr>
<tr>
<td><code>queue.done_items[].expires</code></td>
<td>UTC date</td>
<td>nullable</td>
<td>UTC date/null</td>
<td>UTC date that the item expires and is removed from the platform.</td>
</tr>
<tr>
<td><code>groups</code></td>
<td>array</td>
<td>If <code>groups</code> GET is set, an array of print queue groups.</td>
</tr>
<tr>
<td><code>groups[].id</code></td>
<td>integer</td>
<td>The group id.</td>
</tr>
<tr>
<td><code>groups[].name</code></td>
<td>string</td>
<td>The group name.</td>
</tr>
<tr>
<td><code>groups[].virtual</code></td>
<td>boolean</td>
<td>Whether the group is a virtual queue group.</td>
</tr>
<tr>
<td><code>groups[].extensions</code></td>
<td>array/null</td>
<td>An array of file extensions that are allowed in the group.</td>
</tr>
<tr>
<td><code>groups[].sort_order</code></td>
<td>integer</td>
<td>The sort index of the group.</td>
</tr>
</tbody></table>
<h2 id='update-queue-item'>Update queue item</h2><div class="highlight"><pre class="highlight shell tab-shell"><code>curl https://api.simplyprint.io/<span class="o">{</span><span class="nb">id</span><span class="o">}</span>/queue/UpdateItem?job<span class="o">=</span>1234 <span class="se">\</span>
Expand Down

0 comments on commit bb9bd4b

Please sign in to comment.