Jump to content

history/print_jobs API


mikef87

Recommended Posts

Posted · history/print_jobs API

When reviewing /api/history/print_jobs response I noticed there is both a Failed and Aborted result.  How does the Ultimaker/Cura decide which of these responses to provide.

{'datetime_cleaned': '2019-06-04T22:22:47', 'datetime_finished': '2019-06-04T22:21:18', 'datetime_started': '2019-06-04T22:13:07', 'name': '######', 'reprint_original_uuid': None, 'result': 'Aborted', 'source': 'WEB_API/R1M/Cura Connect', 'time_elapsed': 0.0, 'time_estimated': 0.0, 'time_total': 0, 'uuid': '4db88675-23c2-4db5-b1a9-dc2af4f0d2d3'}

{'datetime_cleaned': '1970-01-01T00:04:52', 'datetime_finished': '1970-01-01T00:00:41', 'datetime_started': '2020-02-24T18:07:23', 'name': '######', 'reprint_original_uuid': None, 'result': 'Failed', 'source': 'Reboot', 'time_elapsed': 0.0, 'time_estimated': 0.0, 'time_total': 0, 'uuid': 'cca8ad47-21f7-4af7-bac2-813d2c949078'}

 

 

 

 

  • Link to post
    Share on other sites

    Posted · history/print_jobs API

    Aborted means that a user decided to abort the print (either via API or via interface).

    Failed is that the system had to stop the print (in this case because the printer was powered down, which you can see from the "source" field)

    • Thanks 1
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 21 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...