POST /models/{id}/files
snipeit_gen_modelsidfilesUpload one or more files to a Snipe-IT model by ID; this JSON-based endpoint cannot handle multipart uploads, so use the Snipe-IT web UI instead.
Instructions
POST /models/{id}/files: Upload one or more files to a model. Generated from Snipe-IT OpenAPI operation modelsidfiles. File uploads do not work through this tool: Snipe-IT expects multipart/form-data and this tool sends JSON (the vendored spec declares JSON). Upload files in the Snipe-IT web UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the model you'd like to upload files to to | |
| body | No | ||
| confirm | No | Required when SNIPEIT_CONFIRM_WRITES=true. Exact string "YES" to apply this write. |