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.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...