GET /katello/api/packages/compare
200
{
"total": 5,
"subtotal": 5,
"selectable": 5,
"page": 1,
"per_page": 20,
"error": null,
"search": null,
"sort": {
"by": null,
"order": null
},
"results": [
{
"id": 1037874757,
"pulp_id": "modular",
"name": "modular",
"version": "0.9",
"release": "108",
"arch": "x86_64",
"epoch": "0",
"summary": null,
"modular": true,
"filename": "mod-99-108.rpm",
"sourcerpm": null,
"checksum": null,
"nvrea": "modular-0.9-108.x86_64",
"nvra": "mod-99-108.x86_64",
"uuid": "modular",
"hosts_available_count": 0,
"hosts_applicable_count": 0,
"comparison": [
840492357
]
},
{
"id": 980190962,
"pulp_id": "one-uuid",
"name": "one",
"version": "1.0",
"release": "1.el7",
"arch": "x86_64",
"epoch": "0",
"summary": null,
"modular": false,
"filename": "one-1.1.rpm",
"sourcerpm": null,
"checksum": null,
"nvrea": "one-1.0-1.el7.x86_64",
"nvra": "one-1.0-1.el7.x86_64",
"uuid": "one-uuid",
"hosts_available_count": 0,
"hosts_applicable_count": 1,
"comparison": [
840492357
]
},
{
"id": 1046165992,
"pulp_id": "one-uuid-two",
"name": "one",
"version": "1.0",
"release": "2.el7",
"arch": "x86_64",
"epoch": "0",
"summary": null,
"modular": false,
"filename": "one-1.2.rpm",
"sourcerpm": null,
"checksum": null,
"nvrea": "one-1.0-2.el7.x86_64",
"nvra": "one-1.0-2.el7.x86_64",
"uuid": "one-uuid-two",
"hosts_available_count": 0,
"hosts_applicable_count": 0,
"comparison": [
840492357
]
},
{
"id": 113629430,
"pulp_id": "three-uuid",
"name": "three",
"version": "99",
"release": "108",
"arch": "x86_64",
"epoch": "0",
"summary": null,
"modular": false,
"filename": "three-99-108.rpm",
"sourcerpm": null,
"checksum": null,
"nvrea": "three-99-108.x86_64",
"nvra": "three-99-108.x86_64",
"uuid": "three-uuid",
"hosts_available_count": 0,
"hosts_applicable_count": 0,
"comparison": [
840492357
]
},
{
"id": 298486374,
"pulp_id": "two-uuid",
"name": "two",
"version": "1.0",
"release": "1.el7",
"arch": "x86_64",
"epoch": "0",
"summary": null,
"modular": false,
"filename": "two-2.1.rpm",
"sourcerpm": null,
"checksum": null,
"nvrea": "two-1.0-1.el7.x86_64",
"nvra": "two-1.0-1.el7.x86_64",
"uuid": "two-uuid",
"hosts_available_count": 0,
"hosts_applicable_count": 1,
"comparison": [
840492357
]
}
]
}
| Param name | Description |
|---|---|
|
content_view_version_ids
optional |
content view versions to compare Validations:
|
|
repository_id
optional |
Library repository id to restrict comparisons to Validations:
|
|
restrict_comparison
optional |
Return same, different or all results Validations:
|