Examples

GET /api/hosts/980191160/subscriptions/enabled_repositories
200
{
  "total": 1,
  "subtotal": 1,
  "selectable": 1,
  "page": 1,
  "per_page": 1,
  "error": null,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "backend_identifier": "fedora_17_acme_dev",
      "relative_path": "ACME_Corporation/dev/fedora_17_dev_label",
      "container_repository_name": null,
      "full_path": "https://centos8-katello-devel.area51.example.com/pulp/content/ACME_Corporation/dev/fedora_17_dev_label/",
      "library_instance_id": null,
      "version_href": null,
      "remote_href": null,
      "publication_href": null,
      "content_counts": {
        "rpm": 0,
        "erratum": 0,
        "package_group": 0,
        "srpm": 0,
        "module_stream": 0
      },
      "mirroring_policy": "mirror_content_only",
      "id": 841170190,
      "name": "Fedora 17 x86_64",
      "label": "fedora_17_x86_64_label",
      "description": "My description",
      "content_view_versions": [],
      "last_sync": null,
      "content_view": {
        "id": 30237652,
        "name": "ACME Default ContentView"
      },
      "content_view_version": {
        "id": 840492357,
        "name": "ACME Default ContentView 1.0",
        "content_view_id": 30237652
      },
      "kt_environment": {
        "id": 292811013,
        "name": "Dev"
      },
      "content_type": "yum",
      "url": "http://myrepo.com",
      "arch": "noarch",
      "os_versions": null,
      "content_id": "1",
      "generic_remote_options": null,
      "major": null,
      "minor": null,
      "product": {
        "id": 785257261,
        "cp_id": "fedora",
        "name": "Fedora",
        "orphaned": false,
        "redhat": false,
        "sync_plan": null
      },
      "content_label": "fedora",
      "last_sync_words": null
    }
  ]
}

Params

Param name Description
host_id
required

id of host

Validations:

  • String