Jump to content

UM 3 API - Empty source_user


alanglois

Recommended Posts

Posted · UM 3 API - Empty source_user

Hi everyone,

 

I am facing an issue with the Ultimaker api. I'd like to know if there is something I can do on my side to solve this.

Basically, when a print job is sent, you can easily get the associated username in Cura (who sent the job).

 

Based on the api docs, all you have to do to get that same info using the API is to call the endpoint http://.../api/v1/print_job/source_user.

Unfortunately, this doesn't seem to work. All I get is an empty string and the same scenario occurs when calling the complete "print_job" endpoint. Everything is in the returned json object except for the source_user (marked " "):

 

{ "datetime_cleaned": "", "datetime_finished": "", "datetime_started": "1970-02-06T00:16:26", "name": "UM3E_XXXXXXX", "progress": 0.3079226833256708, "reprint_original_uuid": "", "result": "", "source": "WEB_API", "source_application": "Cura connect", "source_user": "", "state": "printing", "time_elapsed": 6220, "time_total": 20202, "uuid": "XXXXXX...XXXXXX" }

 

When I look at the current job in Cura, I can see the username just fine.

 

Any ideas on how I can make this work?

 

Thanks

  • 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 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • 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...