{ "opencollection": "1.0.0", "info": { "name": "Red Hat Ansible Automation Platform Add-Ons Hosts API", "version": "2.6" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Hosts", "type": "folder" }, "items": [ { "info": { "name": "Red Hat List Hosts", "type": "http" }, "http": { "method": "GET", "url": "https://ansible-platform.example.com/api/v2/hosts", "params": [ { "name": "page", "value": "", "type": "query", "description": "The page number for paginated results." }, { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page." }, { "name": "search", "value": "", "type": "query", "description": "A scoped search filter expression." }, { "name": "order", "value": "", "type": "query", "description": "The sort order for results (e.g., name ASC)." } ] }, "docs": "Retrieves a paginated list of all hosts managed by Satellite, including their reported status, operating system, and organization membership." }, { "info": { "name": "Red Hat Get a Host", "type": "http" }, "http": { "method": "GET", "url": "https://ansible-platform.example.com/api/v2/hosts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Retrieves the details of a specific host, including its network interfaces, operating system, and content view assignment." }, { "info": { "name": "Red Hat Update a Host", "type": "http" }, "http": { "method": "PUT", "url": "https://ansible-platform.example.com/api/v2/hosts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the configuration of an existing host managed by Satellite." }, { "info": { "name": "Red Hat Delete a Host", "type": "http" }, "http": { "method": "DELETE", "url": "https://ansible-platform.example.com/api/v2/hosts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Deletes a host from Satellite. This removes the host record but does not affect the actual system." } ] } ], "bundled": true }