How to get job status/result from SOURCE via REST API

Questions and answers on how to get the most out of FFAStrans
Post Reply
veks
Posts: 80
Joined: Fri Oct 25, 2019 6:51 am

How to get job status/result from SOURCE via REST API

Post by veks »

Hi,
I need to make a REST API call using SOURCE file name, but I can't find that option. Only by job-id.
Also, is it possible to get via REST API a time and percentage of when will some job-id or source/filename be finished?
Any way to do it?
Thanks!
emcodem
Posts: 1646
Joined: Wed Sep 19, 2018 8:11 am

Re: How to get job status/result from SOURCE via REST API

Post by emcodem »

Hi veks,

no you need a jobid to ask job status because source file name and similar is not something "unique".
What you can do is to get a list of running jobs:
http://localhost:65445/api/v2/jobs/

...and of course filter the stuff in your code by the condition of your choice.
Let me know if you need help with that.
emcodem, wrapping since 2009 you got the rhyme?
Post Reply