file metadata

get/api/v1/files/{storage}/{path}

Response

OK

type'PRINT' | 'FW' | 'OTHER'

File could be Print file, firmware or other (e.g. configuration file)

sizeinteger
display_pathstring
display_namestring

Long Filename

creation_timestampinteger

Timestamp in seconds

roboolean

Example response

{
  "refs": {
    "download": "/api/files/local/examples/Spice_Harvester_0.3mm_PLA_MK3S_42m.gcode/raw",
    "icon": "/api/thumbnails/local/examples/Spice_Harvester_0.3mm_PLA_MK3S_42m.gcode.small.png",
    "thumbnail": "/api/thumbnails/local/examples/Spice_Harvester_0.3mm_PLA_MK3S_42m.gcode.orig.png"
  },
  "size": 424242,
  "display_path": "/PrusaLink gcodes/examples",
  "display_name": "Spice_Harvester_0.3mm_PLA_MK3S_12m.gcode",
  "creation_timestamp": 1648038843,
  "metadata": {
    "bed_temperature": "60",
    "nozzle_temperature": "215",
    "brim_width": "0",
    "estimated printing time (normal mode)": "42m 42s",
    "faded_layers": "42",
    "filament cost": "0.57",
    "filament used [cm3]": "12.44",
    "filament used [g]": "15.79",
    "filament used [mm]": "5170.06",
    "filament_type": "PLA",
    "fill_density": "20%",
    "initial_exposure_time": "5",
    "layer_height": "0.3",
    "material_name": "PLA Sandstorm Orange",
    "exposure_time": "2",
    "max_exposure_time": "3",
    "max_initial_exposure_time": "3",
    "min_exposure_time": "1",
    "min_initial_exposure_time": "1",
    "nozzle_diameter": "0.4",
    "support_material": "PLA",
    "ironing": "0",
    "required_resin_ml": "123.4",
    "profile": "ultra_fast"
  }
}

Changes