Red Hat Satellite · Example Payload

Red Hat Satellite Createhost Example

Configuration ManagementLifecycle ManagementPatch ManagementSubscription ManagementSystems Management

Red Hat Satellite Createhost Example is an example object payload from Red Hat Satellite, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createHost",
  "method": "POST",
  "path": "/api/v2/hosts",
  "summary": "Create a Host",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CreatehostRequestExample",
      "example": {
        "host": {
          "name": "Example Title",
          "location_id": "500123",
          "organization_id": "500123",
          "ip": "example_value",
          "mac": "example_value",
          "architecture_id": "500123",
          "domain_id": "500123",
          "subnet_id": "500123",
          "operatingsystem_id": "500123",
          "medium_id": "500123",
          "ptable_id": "500123",
          "compute_resource_id": "500123",
          "compute_profile_id": "500123",
          "hostgroup_id": "500123",
          "root_pass": "example_value",
          "owner_id": "500123",
          "owner_type": "User",
          "build": true,
          "managed": true,
          "comment": "example_value",
          "content_facet_attributes": {
            "content_view_id": "500123",
            "lifecycle_environment_id": "500123",
            "content_source_id": "500123"
          },
          "interfaces_attributes": [
            {}
          ]
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "name": "Createhost201Example",
      "example": {
        "id": "abc123",
        "name": "Example Title",
        "ip": "example_value",
        "ip6": "example_value",
        "mac": "example_value",
        "environment_id": "500123",
        "hostgroup_id": "500123",
        "hostgroup_name": "example_value",
        "hostgroup_title": "example_value",
        "operatingsystem_id": "500123",
        "operatingsystem_name": "example_value",
        "architecture_id": "500123",
        "architecture_name": "example_value",
        "domain_id": "500123",
        "domain_name": "example_value",
        "subnet_id": "500123",
        "subnet_name": "example_value",
        "subnet6_id": "500123",
        "compute_resource_id": "500123",
        "compute_resource_name": "example_value",
        "compute_profile_id": "500123",
        "medium_id": "500123",
        "ptable_id": "500123",
        "model_id": "500123",
        "model_name": "example_value",
        "location_id": "500123",
        "location_name": "example_value",
        "organization_id": "500123",
        "organization_name": "example_value",
        "owner_id": "500123",
        "owner_type": "User",
        "managed": true,
        "build": true,
        "enabled": true,
        "comment": "example_value",
        "uuid": "500123",
        "global_status": 10,
        "global_status_label": "OK",
        "content_facet_attributes": {
          "id": "abc123",
          "content_view_id": "500123",
          "content_view_name": "example_value",
          "lifecycle_environment_id": "500123",
          "lifecycle_environment_name": "example_value",
          "content_source_id": "500123",
          "errata_counts": {
            "security": 10,
            "bugfix": 10,
            "enhancement": 10,
            "total": 10
          },
          "applicable_errata_count": 10,
          "upgradable_package_count": 10
        },
        "subscription_facet_attributes": {
          "id": "abc123",
          "uuid": "500123",
          "registered_at": "2026-01-15T10:30:00Z",
          "last_checkin": "2026-01-15T10:30:00Z",
          "service_level": "example_value",
          "release_version": "example_value",
          "autoheal": true,
          "registered_through": "example_value"
        },
        "interfaces": [
          {
            "id": "abc123",
            "mac": "example_value",
            "ip": "example_value",
            "ip6": "example_value",
            "type": "interface",
            "name": "Example Title",
            "subnet_id": "500123",
            "subnet6_id": "500123",
            "domain_id": "500123",
            "identifier": "example_value",
            "managed": true,
            "primary": true,
            "provision": true,
            "virtual": true,
            "tag": "example_value",
            "mtu": "example_value",
            "attached_to": "example_value"
          }
        ],
        "puppetclasses": [
          {}
        ],
        "all_puppetclasses": [
          {}
        ],
        "created_at": "2026-01-15T10:30:00Z",
        "updated_at": "2026-01-15T10:30:00Z",
        "installed_at": "2026-01-15T10:30:00Z",
        "last_report": "2026-01-15T10:30:00Z"
      }
    }
  ]
}