Retrieve an Ad Hoc Command Event
get
/api/v2/ad_hoc_command_events/{id}/
Make GET request to this resource to retrieve a single ad hoc command event record containing the following fields:
id: Database ID for this ad hoc command event. (integer)type: Data type for this ad hoc command event. (choice)url: URL for this ad hoc command event. (string)related: Data structure with URLs of related resources. (object)summary_fields: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created: Timestamp when this ad hoc command event was created. (datetime)modified: Timestamp when this ad hoc command event was last modified. (datetime)ad_hoc_command: (id)event: (choice)runner_on_failed: Host Failedrunner_on_ok: Host OKrunner_on_unreachable: Host Unreachablerunner_on_skipped: Host Skippeddebug: Debugverbose: Verbosedeprecated: Deprecatedwarning: Warningsystem_warning: System Warningerror: Error
counter: (integer)event_display: (string)event_data: (json)failed: (boolean)changed: (boolean)uuid: (string)host: (id)host_name: (string)stdout: (string)start_line: (integer)end_line: (integer)verbosity: (integer)
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search(optional): string
A search term.