Skip to content

Commit 2b9fabb

Browse files
committed
Remove Save AutoQueue defaults
1 parent 8bf5344 commit 2b9fabb

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

source/includes/_account.md

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,5 @@
11
# Account
22

3-
## Save autoqueue defaults
4-
5-
```shell
6-
curl https://api.simplyprint.io/{id}/account/SaveAutoQueueDefaults \
7-
-X POST \
8-
-H 'accept: application/json' \
9-
-H 'X-API-KEY: {API_KEY}'
10-
```
11-
12-
> Request body
13-
14-
```json
15-
{
16-
"gcodeAnalysis": true,
17-
"fit": true,
18-
"printerTemps": true,
19-
"filament": true,
20-
"filamentTemps": true
21-
}
22-
```
23-
24-
> Success response
25-
26-
```json
27-
{
28-
"status": true,
29-
"message": null
30-
}
31-
```
32-
33-
<aside class="notice">
34-
This endpoint requires the <b>Print Farm</b> plan.
35-
</aside>
36-
37-
| Required permissions |
38-
| -------------------- |
39-
| `PRINTER_SETTINGS` |
40-
41-
This endpoint saves the auto queue settings for the company.
42-
43-
To restore the default settings, send an empty request body to `POST /{id}/account/SaveAutoQueueDefaults?default=true`.
44-
45-
### Request
46-
47-
`POST /{id}/account/SaveAutoQueueDefaults`
48-
49-
| Parameter | Type | Required | Description |
50-
| --------- | ---- | -------- | ----------- |
51-
| `gcodeAnalysis` | boolean | yes | Whether to only allow gcode files that have been analysed. |
52-
| `fit` | boolean | yes | If true, the model will be scaled to fit the build volume. |
53-
| `printerTemps` | boolean | yes | If true, the printer temperatures will be set. |
54-
| `filament` | boolean | yes | If true, the filament will be set. |
55-
| `filamentTemps` | boolean | yes | If true, the filament temperatures will be set. |
56-
57-
### Response
58-
59-
| Parameter | Type | Description |
60-
| --------- | ---- | ----------- |
61-
| `status` | boolean | True if the request was successful. |
62-
| `message` | string | Error message if `status` is false. |
63-
643
## Create company groups
654

665
```shell

0 commit comments

Comments
 (0)