Retrieve a Host
get
/api/v2/hosts/{id}/ansible_facts/
Make GET request to this resource to retrieve a single host record containing the following fields:
id: Database ID for this host. (integer)type: Data type for this host. (choice)url: URL for this host. (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 host was created. (datetime)modified: Timestamp when this host was last modified. (datetime)name: Name of this host. (string)description: Optional description of this host. (string)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : AnsibleFacts
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true