Examples

GET /katello/api/debs/compare
200
{
  "total": 4,
  "subtotal": 4,
  "selectable": 4,
  "page": 1,
  "per_page": 20,
  "error": null,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "id": 298486374,
      "name": "due",
      "version": "1.0",
      "architecture": "amd64",
      "filename": "due_1.0_amd64.deb",
      "checksum": null,
      "description": null,
      "nav": "due:amd64=1.0",
      "nva": "due_1.0_amd64",
      "pulp_id": "due-uuid",
      "uuid": "due-uuid",
      "hosts_available_count": 0,
      "hosts_applicable_count": 1,
      "comparison": [
        840492357
      ]
    },
    {
      "id": 113629430,
      "name": "tre",
      "version": "1.0",
      "architecture": "amd64",
      "filename": "tre_1.0_amd64.deb",
      "checksum": null,
      "description": null,
      "nav": "tre:amd64=1.0",
      "nva": "tre_1.0_amd64",
      "pulp_id": "tre-uuid",
      "uuid": "tre-uuid",
      "hosts_available_count": 0,
      "hosts_applicable_count": 0,
      "comparison": [
        840492357
      ]
    },
    {
      "id": 980190962,
      "name": "uno",
      "version": "1.0",
      "architecture": "amd64",
      "filename": "uno_1.0_amd64.deb",
      "checksum": null,
      "description": null,
      "nav": "uno:amd64=1.0",
      "nva": "uno_1.0_amd64",
      "pulp_id": "uno-uuid",
      "uuid": "uno-uuid",
      "hosts_available_count": 0,
      "hosts_applicable_count": 1,
      "comparison": [
        840492357
      ]
    },
    {
      "id": 74643400,
      "name": "uno",
      "version": "1.1",
      "architecture": "amd64",
      "filename": "uno_1.1_amd64.deb",
      "checksum": null,
      "description": null,
      "nav": "uno:amd64=1.1",
      "nva": "uno_1.1_amd64",
      "pulp_id": "uno-uuid2",
      "uuid": "uno-uuid2",
      "hosts_available_count": 0,
      "hosts_applicable_count": 0,
      "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