GET /katello/api/debs 200 { "total": 2, "subtotal": 2, "selectable": 2, "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 }, { "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 } ] }
Param name | Description |
---|---|
organization_id
optional |
Organization identifier Validations:
|
content_view_version_id
optional |
Content View Version identifier Validations:
|
content_view_filter_id
optional |
Content View Filter identifier Validations:
|
repository_id
optional |
Repository identifier Validations:
|
environment_id
optional |
Environment identifier Validations:
|
ids
optional |
Deb package identifiers to filter content by Validations:
|
host_id
optional |
Host id to list applicable deb packages for Validations:
|
packages_restrict_applicable
optional |
Return deb packages that are applicable to one or more hosts (defaults to true if host_id is specified) Validations:
|
packages_restrict_upgradable
optional |
Return deb packages that are upgradable on one or more hosts Validations:
|
packages_restrict_latest
optional |
Return only the latest version of each package Validations:
|
available_for
optional |
Return deb packages that can be added to the specified object. Only the value 'content_view_version' is supported. Validations:
|
search
optional |
Search string Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return Validations:
|
order
optional |
Sort field and order, eg. 'id DESC' Validations:
|
full_result
optional |
Whether or not to show all results Validations:
|
sort_by
optional |
Field to sort the results on Validations:
|
sort_order
optional |
How to order the sorted results (e.g. ASC for ascending) Validations:
|
GET /katello/api/repositories/697316289/debs/3805853f-5cae-4a4a-8549-0ec86410f58f 404 { "displayMessage": "Failed to find Deb Package with id '3805853f-5cae-4a4a-8549-0ec86410f58f'.", "errors": [ "Failed to find Deb Package with id '3805853f-5cae-4a4a-8549-0ec86410f58f'." ] }
Param name | Description |
---|---|
repository_id
optional |
repository identifier Validations:
|
organization_id
optional |
organization identifier Validations:
|
id
required |
a deb package identifier Validations:
|
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 ] } ] }
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:
|