Jump to content

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'}





Share this post

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

Share this post

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

    • Survey: Understanding your workflow
      Interact with future concepts and aim to collect your feedback and opinion. In particular, if this would/could be a welcome addition to your 3D printing workflow. Interested?
      • 0 replies
    • Coronavirus: Let's do our part
      Through this post I would like to further explain what we are doing, and what you could be doing. 
      Our efforts consist of 2 layers. First; connect medical institutions and hospitals to (local) 3D Printing hubs to help them print parts of which a 3D model already exists. And second, contribute to design the necessary part and then have it printed via a (local) 3D printing hub. Experts are available from within Ultimaker and from within our network of 3D printing experts.
        • Like
      • 53 replies
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!