Get detailed job information by job ID (GET)
Description
URL |
scheme://domain:port/platform/ws/jobs/{jobIds} |
Description |
Gets detailed job information for jobs that have the specified job IDs. You can only get information about jobs submitted by the logged on user account. You must be a cluster administrator or LSF user group administrator to get information about jobs submitted by other users. To specify multiple job IDs, separate with a comma(,). For example: 532,533. The job ID cannot be 0. |
HTTP Method |
GET |
Parameters |
NONE |
Request
Request-Method |
GET |
|
Request-URI |
/platform/ws/jobs/{jobIds} |
|
Request-Header |
Name |
Value |
Accept |
application/xml or application/json |
|
Message-body |
empty |
|
Response
Response-Code |
|
|
Response-Header |
Name |
Value |
Content-Type |
application/xml or application/json |
|
Message-body |
Success Message | If successful, returns detailed information
about jobs. For additional information, refer to the schema file GUID-5354f7f9-1722-4906-a4b9-6c5b961edd56.xsd. |
| Failure Message | If not successful, returns an error message. For additional information, refer to the schema file GUID-977db1c3-64d1-4996-b8df-e17e3df06846.xsd. |
|
Example: Get detailed information about jobs 236, 237, and 289
# Request
GET /platform/ws/jobs/236,237,289 HTTP/1.1
Host: www.example.org
# Response
200 Successful
Content-Type: application/xml;
<jobs total=”3”>
<atom:link rel="self"
href="http:// www.example.org/platfom/ws/jobs/236,237,289"/>
<job>
<id>236</id>
…
</job>
<job>
<id>237</id>
…
</job>
<job>
<id>289</id>
…
</job>
<jobs>