File tree Expand file tree Collapse file tree 3 files changed +65
-3
lines changed Expand file tree Collapse file tree 3 files changed +65
-3
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,47 @@ curl https://api.simplyprint.io/{id}/files/GetFiles?f=123&search=benchy \
29
29
"printsFailed" : 0 ,
30
30
"timesSliced" : 0
31
31
},
32
- "user_id" : 6044 ,
32
+ "user_id" : 123 ,
33
33
"thumbnail" : 1 ,
34
34
"folder" : 0 ,
35
- "user" : 6044
35
+ "user" : 123 ,
36
+ },
37
+ {
38
+ "id" : " e82ab9e1cc3c20850d94d5cf539390c0" ,
39
+ "name" : " 3DBenchy" ,
40
+ "ext" : " gcode" ,
41
+ "type" : " model" ,
42
+ "size" : 1285384 ,
43
+ "created" : " December 23, 2022, 18:00" ,
44
+ "createdint" : 1671813330 ,
45
+ "printData" : {
46
+ "printsDone" : 10 ,
47
+ "printsCancelled" : 5 ,
48
+ "printsFailed" : 0 ,
49
+ "timesSliced" : 0
50
+ },
51
+ "user_id" : 123 ,
52
+ "thumbnail" : 1 ,
53
+ "folder" : 0 ,
54
+ "user" : 123 ,
55
+ "forPrinters" : [
56
+ // list of printers IDs selected for file; key not present if no printers are selected
57
+ 1 ,
58
+ 2 ,
59
+ 3
60
+ ],
61
+ "tags" : {
62
+ "nozzle" : 0.6 ,
63
+ "material" : [
64
+ {
65
+ "ext" : 0 ,
66
+ "type" : 123 ,
67
+ "color" : " Green" ,
68
+ "hex" :" #4CAF50"
69
+ }
70
+ ],
71
+ "custom" : [1 , 2 , 3 ]
72
+ }
36
73
}
37
74
],
38
75
"folders" : [
Original file line number Diff line number Diff line change @@ -134,6 +134,18 @@ curl https://api.simplyprint.io/{id}/printers/Get \
134
134
"time" : 12627 ,
135
135
"canPreview" : true ,
136
136
"layer" : null
137
+ },
138
+ "tags" : {
139
+ "nozzle" : 0.6 ,
140
+ "material" : [
141
+ {
142
+ "ext" : 0 ,
143
+ "type" : 123 ,
144
+ "color" : " Green" ,
145
+ "hex" :" #4CAF50"
146
+ }
147
+ ],
148
+ "custom" : [1 , 2 , 3 ]
137
149
}
138
150
},
139
151
...
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ This endpoint gets the next item in the queue for the specified printer. The nex
158
158
| ` settings.fit ` | boolean | no | Print must fit printer's bed.<br >** Default: true** |
159
159
| ` settings.gcodeAnalysis ` | boolean | no | Must have gcode analysis.<br >** Default: true** |
160
160
| ` settings.printerTemps ` | boolean | no | File must have a max temperature that is lower than the printer's max temperature.<br >** Default: true** |
161
+ | ` settings.tags ` | boolean | no | Printer must match possible queue item tags (nozzle size, material data & custom tags).<br >** Default: true** |
161
162
162
163
### Response
163
164
@@ -249,7 +250,19 @@ curl https://api.simplyprint.io/{id}/queue/GetItems?p=1234 \
249
250
"v" : 5
250
251
},
251
252
"user" : " John Doe" ,
252
- "user_id" : 1234
253
+ "user_id" : 1234 ,
254
+ "tags" : {
255
+ "nozzle" : 0.6 ,
256
+ "material" : [
257
+ {
258
+ "ext" : 0 ,
259
+ "type" : 123 ,
260
+ "color" : " Green" ,
261
+ "hex" :" #4CAF50"
262
+ }
263
+ ],
264
+ "custom" : [1 , 2 , 3 ]
265
+ }
253
266
}
254
267
]
255
268
}
You can’t perform that action at this time.
0 commit comments