Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How i can get all jobs with REST API
Trần Quốc Việt
<p>Can i get all jobs by use REST API ???? currently i use method <span style="color:#0000ff;">get</span> /jobs and don't pass string to field "search" but that just return all jobs are completed in past (with state "success" or "fail") . I want to get list include all job in schedule in future. Help me ! Thank</p>
Find more posts tagged with
Comments
Trần Quốc Việt
<p>help me pls !!!!!!!!</p>
pricher
<p>Hi,</p>
<p> </p>
<p>From what I can tell, the <span style="font-family:'courier new', courier, monospace;">jobs </span>request in iHub 3.x only returns completed jobs. In iHub 16, the <span style="font-family:'courier new', courier, monospace;">jobs </span>request has been enhanced with the <span style="font-family:'courier new', courier, monospace;">type </span>parameter where you can specify either "completed" or "scheduled".</p>
<p> </p>
<p>Hope this helps,</p>
<p> </p>
<p>P.</p>
Trần Quốc Việt
<blockquote class="ipsBlockquote" data-author="pricher" data-cid="144575" data-time="1468265606">
<div>
<p>Hi,</p>
<p> </p>
<p>From what I can tell, the <span style="font-family:'courier new', courier, monospace;">jobs </span>request in iHub 3.x only returns completed jobs. In iHub 16, the <span style="font-family:'courier new', courier, monospace;">jobs </span>request has been enhanced with the <span style="font-family:'courier new', courier, monospace;">type </span>parameter where you can specify either "completed" or "scheduled".</p>
<p> </p>
<p>Hope this helps,</p>
<p> </p>
<p>P.</p>
</div>
</blockquote>
<p>Thank for your answer, so i can't get jobs "scheduled" with REST API on iHub 3.1
</p>