Get the job output and result
get
/rhp-restapi/rhp/jobs/{jobId}/output
Gets the job output presenting the job result and progress, which can be paginated using the limit and offset parameters.
Request
Supported Media Types
- application/json
Path Parameters
-
jobId: string
Unique integer job ID value for the scheduled job.
Query Parameters
-
limit(optional): integer
The number of lines from the job result to be included in the job output resource.Default Value:
0
-
offset(optional): integer
The identifier of the first line on the job result to be included in the job output resource.Default Value:
0
Response
Supported Media Types
- application/json
200 Response
OK. A JSON object containing a job output resource representation with multiple properties and the links array with at least the "self" link.
Nested Schema : collectionResourceLinks
Type:
Show Source
object
-
href(optional):
string
The referenced hyperlink element provided in an absolute format with the correct URL parameters.
-
rel(optional):
string
Allowed Values:
[ "next", "prev", "first", "last" ]
Specify the type of relationship the link has with the described resource.
Default Response
Unexpected error. A JSON object containing error details of the issue while executing the operation.
Root Schema : errorResource
Type:
Show Source
object
-
errorCode(optional):
string
Application specific error code, related to the error message shown at tittle.
-
errorDetails(optional):
array errorDetails
If multiple errors are reported they can be organized in a hierarchical structure in this array.
-
errorPath(optional):
string
XPath or JSON path to indicate where the error occurs.
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
integer
HTTP status code.
-
title(optional):
string
Summary error message.
-
type(optional):
string
Link to HTTP error code page.
Nested Schema : errorDetails
Type:
array
If multiple errors are reported they can be organized in a hierarchical structure in this array.
Show Source