Jump to content
UltiMaker Community of 3D Printing Experts

history/print_jobs API


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

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    • Create New...