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
    • Create New...