Hosts REST Endpoints
Hosts
REST API endpoints for Hosts
- Create a Group for a Host
- Method: postPath:
/api/v2/hosts/{id}/groups/ - Create an Ad Hoc Command for a Host
- Method: postPath:
/api/v2/hosts/{id}/ad_hoc_commands/ - Delete a Host
- Method: deletePath:
/api/v2/hosts/{id}/ - List Activity Streams for a Host
- Method: getPath:
/api/v2/hosts/{id}/activity_stream/ - List Ad Hoc Command Events for a Host
- Method: getPath:
/api/v2/hosts/{id}/ad_hoc_command_events/ - List Ad Hoc Commands for a Host
- Method: getPath:
/api/v2/hosts/{id}/ad_hoc_commands/ - List All Groups for a Host
- Method: getPath:
/api/v2/hosts/{id}/all_groups/ - List Groups for a Host
- Method: getPath:
/api/v2/hosts/{id}/groups/ - List Hosts
- Method: getPath:
/api/v2/hosts/ - List Inventories for a Host
- Method: getPath:
/api/v2/hosts/{id}/smart_inventories/ - List Inventory Sources for a Host
- Method: getPath:
/api/v2/hosts/{id}/inventory_sources/ - List Job Events for a Host
- Method: getPath:
/api/v2/hosts/{id}/job_events/ - List Job Host Summaries for a Host
- Method: getPath:
/api/v2/hosts/{id}/job_host_summaries/ - List Red Hat Insights for a Host
- Method: getPath:
/api/v2/hosts/{id}/insights/ - Retrieve a Host
- Method: getPath:
/api/v2/hosts/{id}/ - Retrieve a Host
- Method: getPath:
/api/v2/hosts/{id}/ansible_facts/ - Retrieve Host Variable Data
- Method: getPath:
/api/v2/hosts/{id}/variable_data/ - Update a Host
- Method: patchPath:
/api/v2/hosts/{id}/ - Update a Host
- Method: putPath:
/api/v2/hosts/{id}/ - Update Host Variable Data
- Method: patchPath:
/api/v2/hosts/{id}/variable_data/ - Update Host Variable Data
- Method: putPath:
/api/v2/hosts/{id}/variable_data/ - `Host_filter` Is Available on This Endpoint. The Filter Supports: Relational Queries, `And` `Or` Boolean Logic, as Well as Expression Grouping via `()`.
- Method: postPath:
/api/v2/hosts/