Examples

DELETE /katello/api/content_views/405955044/filters/696247676
{
  "content_view_filter": {}
}
200
{
  "inclusion": false,
  "original_packages": false,
  "id": 696247676,
  "name": "Simple Filter",
  "description": null,
  "created_at": "2022-11-08 19:09:32 UTC",
  "updated_at": "2022-11-08 19:09:32 UTC",
  "content_view": {
    "composite": false,
    "component_ids": [],
    "default": false,
    "version_count": 2,
    "latest_version": "2.0",
    "latest_version_id": 111397700,
    "auto_publish": false,
    "solve_dependencies": false,
    "import_only": false,
    "generated_for": "none",
    "related_cv_count": 0,
    "related_composite_cvs": [],
    "repository_ids": [
      697316289,
      367202338
    ],
    "id": 405955044,
    "name": "Published LIbrary view",
    "label": "published_library_view",
    "description": "A content view",
    "organization_id": 114267492,
    "organization": {
      "name": "Empty Organization",
      "label": "Empty_Organization",
      "id": 114267492
    },
    "created_at": "2022-11-08 19:09:32 UTC",
    "updated_at": "2022-11-08 19:09:32 UTC",
    "last_task": null,
    "latest_version_environments": [
      {
        "id": 562075838,
        "name": "Library",
        "label": "library_label"
      }
    ],
    "repositories": [
      {
        "id": 697316289,
        "name": "Debian 10 amd64",
        "label": "debian_10_amd64_label",
        "content_type": "deb",
        "product": {
          "id": 867224909,
          "name": "Debian"
        },
        "content_counts": {
          "docker_manifest": 0,
          "docker_tag": 0,
          "rpm": 0,
          "package": 0,
          "package_group": 0,
          "erratum": 0,
          "module_stream": 0
        }
      },
      {
        "id": 367202338,
        "name": "Fedora 17 x86_64",
        "label": "fedora_17_x86_64_label",
        "content_type": "yum",
        "product": {
          "id": 785257261,
          "name": "Fedora"
        },
        "content_counts": {
          "docker_manifest": 0,
          "docker_tag": 0,
          "rpm": 5,
          "package": 5,
          "package_group": 2,
          "erratum": 1,
          "module_stream": 2
        }
      }
    ],
    "versions": [
      {
        "id": 531274492,
        "version": "1.0",
        "published": "2022-11-08 19:09:32 UTC",
        "environment_ids": []
      },
      {
        "id": 111397700,
        "version": "2.0",
        "published": "2022-11-08 19:09:32 UTC",
        "environment_ids": [
          562075838
        ]
      }
    ],
    "components": [],
    "content_view_components": [],
    "activation_keys": [],
    "hosts": [
      {
        "id": 980190962,
        "name": "host1.example.com"
      },
      {
        "id": 529902380,
        "name": "host4.example.com"
      }
    ],
    "next_version": "3.0",
    "last_published": "2022-11-08 19:09:32 UTC",
    "environments": [
      {
        "id": 562075838,
        "label": "library_label",
        "name": "library_label",
        "activation_keys": [],
        "hosts": [
          980190962,
          529902380
        ],
        "permissions": {
          "readable": true
        }
      }
    ]
  },
  "repositories": [],
  "type": "rpm",
  "rules": []
}

Params

Param name Description
content_view_id
optional

content view identifier

Validations:

  • Must be a number.

id
required

filter identifier

Validations:

  • Must be a number.