Job History API addition of jobid and workflowid

Use this forum to request features. Maybe you'll get lucky!
Post Reply
emcodem
Posts: 445
Joined: Wed Sep 19, 2018 8:11 am

Job History API addition of jobid and workflowid

Post by emcodem » Sun Dec 02, 2018 6:45 pm

Dear Steinar,

as i am not able to help you on the AV detection issues (this issue is highest priority for me), i wanted to support you by developing some stuff around FFASTRANS that my transcoding customers typically and generally ask for. Starting with a webUI for monitoring and later on job submission.

So i tried to come up with an advanced webinterface job monitor which i would of course share here (with source ;-)) It is great that you already allow CORS, that helped a lot.

My main goal was to collect and show logs when the user selects a job in my grid, but i did not find a way how to figure out the jobid.

Would it be hard for you to add workflow and Jobid so i am enabled to find the logs of the jobs?

Relate API methods:
http://localhost:65445/api/json/v1/jobs/<job_id>
http://localhost:65445/api/json/v1/history

To be honest even manually i was not able to find out whats the <job_id> for the first API call...

Thanks,
harry

admin
Site Admin
Posts: 1304
Joined: Sat Feb 08, 2014 10:39 pm

Re: Job History API addition of jobid and workflowid

Post by admin » Mon Dec 03, 2018 8:39 am

Hi harry,

When you submit a job through the API you get a job-id in return. However, the link between the job-id and history is lacking and it's something I'm working on. In general, logging and history in FFAStrans is not in ship shape so it will be an area of focus in the coming months.

-steinar

Post Reply