Hosts REST Endpoints

Hosts

REST API endpoints for Hosts

Create a Group for a Host
Method: post
Path: /api/v2/hosts/{id}/groups/
Create an Ad Hoc Command for a Host
Method: post
Path: /api/v2/hosts/{id}/ad_hoc_commands/
Delete a Host
Method: delete
Path: /api/v2/hosts/{id}/
List Activity Streams for a Host
Method: get
Path: /api/v2/hosts/{id}/activity_stream/
List Ad Hoc Command Events for a Host
Method: get
Path: /api/v2/hosts/{id}/ad_hoc_command_events/
List Ad Hoc Commands for a Host
Method: get
Path: /api/v2/hosts/{id}/ad_hoc_commands/
List All Groups for a Host
Method: get
Path: /api/v2/hosts/{id}/all_groups/
List Groups for a Host
Method: get
Path: /api/v2/hosts/{id}/groups/
List Hosts
Method: get
Path: /api/v2/hosts/
List Inventories for a Host
Method: get
Path: /api/v2/hosts/{id}/smart_inventories/
List Inventory Sources for a Host
Method: get
Path: /api/v2/hosts/{id}/inventory_sources/
List Job Events for a Host
Method: get
Path: /api/v2/hosts/{id}/job_events/
List Job Host Summaries for a Host
Method: get
Path: /api/v2/hosts/{id}/job_host_summaries/
Retrieve a Host
Method: get
Path: /api/v2/hosts/{id}/
Retrieve a Host
Method: get
Path: /api/v2/hosts/{id}/ansible_facts/
Retrieve Host Variable Data
Method: get
Path: /api/v2/hosts/{id}/variable_data/
Update a Host
Method: patch
Path: /api/v2/hosts/{id}/
Update a Host
Method: put
Path: /api/v2/hosts/{id}/
Update Host Variable Data
Method: patch
Path: /api/v2/hosts/{id}/variable_data/
Update Host Variable Data
Method: put
Path: /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: post
Path: /api/v2/hosts/