You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,6 +45,7 @@ This endpoint adds a file to the queue. The file can either be a file on the fil
43
45
| --------- | ---- | -------- | ----------- |
44
46
|`filesystem`| string | no | The filesystem id of the file to add to the queue. |
45
47
|`amount`| integer | no | The amount of prints to add to the queue.<br>**Default: 1**|
48
+
|`group`| integer | no | If you have Queue Groups - ID of the group the item should be added to.<br>**Default: 0 - required if you have Queue Groups**|
|`queue.items[].model`| boolean | True if the queue item is a model. |
306
+
|`queue.items[].printable`| boolean | True if the queue is printable. |
299
307
|`queue.items[].left`| integer | The amount of prints left to print. |
300
308
|`queue.items[].printed`| integer | The amount of prints that have been printed. |
301
309
|`queue.items[].filesystem_id`| string/null | File id if print is from SimplyPrint filesystem. |
310
+
|`queue.items[].group`| integer | Possible ID of Queue Group. |
302
311
|`queue.items[].for`| object | For which printers, models and groups this queue item is for. |
303
312
|`queue.items[].for.printers`| array | An array of printer ids. |
304
313
|`queue.items[].for.models`| array | An array of printer model ids. |
@@ -318,6 +327,12 @@ This endpoint returns the queue for the specified or all printers.
318
327
|`queue.items[].user`| string | The user name of who added the queue item. |
319
328
|`queue.items[].user_id`| integer | The user id of who added the queue item. |
320
329
|`queue.items[].tags`| object|nullable | Tags for queue item; custom tags, static material data & nozzle size |
330
+
|`queue.done_items`| array | If `groups` GET is set, an array of done queue items, or ones where the last remaining item is being printed **includes all the same fields as queue items, with a few extra;**. |
331
+
|`queue.done_items[]....`||*Fields inherited from regular queue items*. |
332
+
|`queue.done_items[].size`| integer | Byte-size used by this item - 0 if the file is from the filesystem. |
333
+
|`queue.done_items[].ongoing`| boolean | If the item is currently ongoing. |
334
+
|`queue.done_items[].done`| UTC date|nullable | UTC date that the item was finished. |
335
+
|`queue.done_items[].expires`| UTC date|nullable | UTC date that the item expires and is removed from the platform. |
321
336
322
337
## Update queue item
323
338
@@ -377,6 +392,7 @@ This endpoint updates the queue item with the specified id.
377
392
|`for_models`| array | no | An array of printer model ids to assign the queue item to. |
378
393
|`for_printers`| array | no | An array of printer ids to assign the queue item to. |
379
394
|`amount`| integer | no | The new amount to set. |
395
+
|`amount`| integer | no | Set amount of "printed". |
380
396
381
397
### Response
382
398
@@ -494,6 +510,10 @@ This endpoint empties the queue.
494
510
495
511
`GET /{id}/queue/EmptyQueue`
496
512
513
+
| Parameter | Type | Required | Description |
514
+
| --------- | ---- | -------- | ----------- |
515
+
|`group`| integer | no | ID of Queue Group to empty.<br>**Default: 0 - required if you have Queue Groups |
0 commit comments