Printago API
POST /v1/materials/instances/restore

Restore spools

Bring finished spools back to active, in bulk Each spool comes back with the weight its `retire` row took off, on a `restore` row in its activity. It is not put back into a printer slot. Spools that are not finished are left as they are and are not listed in `restored`. An unknown id is a 404 and restores nothing. Needs the filament-inventory and spool-tracking add-ons.

Requires: material.instance.edit

Request Body

Up to 500 spool IDs

RestoreSpoolsRequest
instanceIdsrequired
string[]
min items: 1max items: 500

Example Request

application/json
{
  "instanceIds": [
    "string"
  ]
}

Response Schema

RestoreSpoolsResponse
restoredrequired
string[]
Spools brought back to active. Spools that were not finished are left out.

Example Response

201 OK — application/json
{
  "restored": [
    "string"
  ]
}