Get Job Details by ID

get

/job/{id}

Get details of a given job.

Request

Path Parameters
Back to Top

Response

200 Response

The job details were retrieved successfully.
Back to Top

Examples

The following example shows how to retrieve details for a job by ID by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

curl -X GET "hostname:port/job/15" -H "accept: */*"

Example of Response Body

If successful, the response code 200 is returned with a response body. For example:

{
  "_id": 15,
  "tag": [
    "TODO-job"
  ],
  "name": "TODO-job",
  "type": "0",
  "description": "TODO-job",
  "scenarioCount": 1,
  "executionConfig": {
    "name": "Name",
    "group": [
      {
        "name": "Name",
        "execution": "2",
        "scenarios": [
          {
            "_id": "6409a9db6102f60f98d476ec",
            "name": "null"
          }
        ]
      }
    ],
    "execution": "serial",
    "environment_id": 1
  }
}

If the request fails, the response includes the appropriate HTTP code. For a 4xx/5xx code, the message body also contains a ProblemDetails structure with the cause attribute set to the appropriate application error.

Back to Top