Retrieve Job Stdout
get
/api/v2/jobs/{id}/stdout/
Make GET request to this resource to retrieve the stdout from running this job.
Format
Use the format query string parameter to specify the output format.
- Browsable API:
?format=api - HTML:
?format=html - Plain Text:
?format=txt - Plain Text with ANSI color codes:
?format=ansi - JSON structure:
?format=json - Downloaded Plain Text:
?format=txt_download - Downloaded Plain Text with ANSI color codes:
?format=ansi_download
(New in Ansible Tower 2.0.0) When using the Browsable API, HTML and JSON
formats, the start_line and end_line query string parameters can be used
to specify a range of line numbers to retrieve.
Use dark=1 or dark=0 as a query string parameter to force or disable a
dark background.
Files over 1.0??MB (configurable)
will not display in the browser. Use the txt_download or ansi_download
formats to download the file directly to view it.
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- text/html; charset=utf-8