Examples

GET /katello/api/docker_tags/compare
200
{
  "total": 1,
  "subtotal": 1,
  "selectable": 1,
  "page": 1,
  "per_page": 20,
  "error": null,
  "search": null,
  "sort": {
    "by": "id",
    "order": "desc"
  },
  "results": [
    {
      "id": 44,
      "name": "wat",
      "manifest_schema1": {
        "id": "123xyz",
        "schema_version": null,
        "digest": "abc123",
        "manifest_type": "image"
      },
      "manifest_schema2": null,
      "manifest": {
        "id": "123xyz",
        "schema_version": null,
        "digest": "abc123",
        "manifest_type": "image"
      },
      "repositories": [
        {
          "id": 992333848,
          "name": "redis",
          "full_path": "centos8-katello-devel.redhat.example.com/empty_organization-puppet_product-redis"
        }
      ],
      "product": {
        "id": 516337990,
        "name": "Puppet Product"
      },
      "environment": {
        "id": 562075838,
        "name": "Library"
      },
      "content_view_version": {
        "id": 840492357,
        "name": "ACME Default ContentView 1.0",
        "content_view_id": 30237652
      },
      "upstream_name": null,
      "comparison": [
        840492357
      ]
    }
  ]
}

Params

Param name Description
content_view_version_ids
optional

content view versions to compare

Validations:

  • Must be an array of any type

repository_id
optional

Library repository id to restrict comparisons to

Validations:

  • Must be a number.

restrict_comparison
optional

Return same, different or all results

Validations:

  • String