Job Management API

/api/space/job-management/jobs (v2)

The following operations are supported on this resource:

  • GET - List all jobs

GET /api/space/job-management/jobs (v2, expires: Oct 02, 2014)


List all jobs.

Access Control

The following capabilities are required to access this API:
"JobMgr"


Example Usage

GET /api/space/job-management/jobs

Data Notification

This API supports data notification.

See the following links for information about enabling data notifications changes to be received for this service:

  • Data Notification Usage.


Content Types

  • Produces content types:
    application/vnd.net.juniper.space.job-management.jobs+xml;version=2;q=0.02

    application/vnd.net.juniper.space.job-management.jobs+json;version=2;q=0.02


  • Sample Output XML:
    <jobs total="Integer" uri="/api/space/job-management/jobs">
         <job uri="/api/space/job-management/jobs/{id}">
               <id>Integer</id>
               <name>String</name>
               <job-type>String</job-type>
               <job-state>SCHEDULED</job-state>
               <job-status>UNDETERMINED</job-status>
               <percent-complete>Double</percent-complete>
               <summary>String</summary>
               <user>String</user>
               <domain-name>String</domain-name>
               <domain-id>Integer</domain-id>
         </job>
         <purge-jobs href="/api/space/job-management/purge-jobs"/>
    </jobs>


  • Sample Output JSON:
    {
       "jobs" : {
         "@total" : "Integer" ,
         "@uri" : "/api/space/job-management/jobs" ,
         "job" : {
           "@uri" : "/api/space/job-management/jobs/{id}" ,
           "id" : "Integer" ,
           "name" : "String" ,
           "job-type" : "String" ,
           "job-state" : "SCHEDULED" ,
           "job-status" : "UNDETERMINED" ,
           "percent-complete" : "Double" ,
           "summary" : "String" ,
           "user" : "String" ,
           "domain-name" : "String" ,
           "domain-id" : "Integer"
         } ,
         "purge-jobs" : {
           "@href" : "/api/space/job-management/purge-jobs"
         }
       }
    }



    For the current version of this API, refer to :
  • version 3