Add ams_slot to start_print

This commit is contained in:
2026-10-30 06:56:24 +00:00
parent 1b1df9c438
commit 2bc5b88dd7
2 changed files with 14 additions and 0 deletions
@@ -27,6 +27,12 @@
"type": "string",
"format": "uri",
"description": "A presigned, expiring GET for the job file. Deliberately a URL rather than the bytes: the file is tens of megabytes, this is a JSON control channel, and handing the gateway a URL keeps object-store credentials out of every gateway on every farm. Expect it to be valid for minutes, and note that an upload to a printer is slow - 0.2 MiB/s measured over FTPS to a P1P - so the download must finish before the transfer starts, not stream through it."
},
"ams_slot": {
"type": "integer",
"minimum": 0,
"maximum": 15,
"description": "Use this AMS slot (0-based across all units: AMS1 slot 4 is 3) instead of the one the project's own filament colour would pick. Only valid for a single-filament project, and the slot must hold the same material type; the gateway refuses otherwise."
}
},
"required": [