Print queues

Hi support,

I have a issue in list down all the print queues for particular slug. I can see the print queues in my repetier dashboard, But i couldn't get the list of print queues via api. I tried layeranalysis_job api call it's seems not working for me. If i wrong please guide me. I have attached my screent shot of my print queue.

https://nimbusweb.me/s/share/4474054/rlg52i2gvxzgm32wpgv9

Thanks




Comments

  • To get all pending jobs you need this api call:

    listJobs

    Parameter: None

    Response

    { "data": [ { "analysed": 1, "created": 1377942678000, "extruderUsage": [ 178.3384707110235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "filamentTotal": 178.3384707110235, "id": 2, "layer": 48, "length": 48927, "lines": 1755, "name": "wall_0_83", "printTime": 435.9966997422252, "printed": 0, "printedTimeComp": 0, "state": "stored", "volumeTotal": 0, "volumeUsage": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, { "analysed": 1, "created": 1381658340000, "extruderUsage": [ 7143.321011926979, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "filamentTotal": 7143.321011926979, "id": 3, "layer": 103, "length": 2372545, "lines": 83196, "name": "idler_pla_irapid.gcode", "printTime": 6992.575336368939, "printed": 0, "printedTimeComp": 0, "state": "stored", "volumeTotal": 0, "volumeUsage": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } ] }

    Lists all print jobs.

Sign In or Register to comment.