Printers

Load a spool into one of a printer's slots.

Slots are 0-based and must be below the printer's slotCount. Whatever is in the slot is unloaded, and so is the spool from any other slot or printer it was loaded on: a spool is loaded in one place at a time. Loading the spool that is already there only updates the label. Returns the printer's loaded filament, in slot order.

put/api/Printers/{id}/slots/{slot}

Request

  • Base URL: https://api.3dprintlog.com
  • URL: https://api.3dprintlog.com/api/Printers/{id}/slots/{slot}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://3dprintlog.auth0.com/authorize, token URL https://3dprintlog.auth0.com/oauth/token)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Path parameters

idinteger required

The ID of the printer.

slotinteger required

The 0-based slot, such as 2 for T2.

Request body

filamentIdstring uuid required

The spool to load. It is unloaded from wherever else it is loaded.

slotLabelstring nullable

What the printer calls the slot, such as T2 or AMS A3.

Response

Returned with the printer's loaded filament.

idstring uuid
slotinteger nullable

The 0-based slot the spool is in, or null when it was loaded without one.

slotLabelstring nullable

What the printer calls the slot, such as T2.

loadedAtstring date-time

When the spool was loaded.

Changes

No recorded changes to this operation across all 1 revision of this API.