v1

latestOpenAPI 3.0.0GPL-3.02026-07-1717026.6 KB

Parse a G-code job file and return retrieved information. If no file is specified, information about the file being printed is returned

get/rr_fileinfo

Query parameters

namestring

Path to the file to parse

Response

File list result

errnumber

Error code, either 0 on success or 1 on error

fileNamestring

Filename of the G-code file

sizenumber

Size of the file

lastModifiedstring date-time

Datetime when the file was last modified

heightnumber

Object height (in mm)

layerHeightnumber

Layer height (in mm)

numLayersnumber

Number of layers

printTimenumber

Expected time to print (in s)

simulatedTimenumber

Simulated time to print (in s)

filamentnumber[]

Filament usage (in mm)

printDurationnumber

Current print duration (in s)

generatedBystring

Application that generated the file