GET /katello/api/srpms 200 { "total": 3, "subtotal": 3, "selectable": 3, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": null, "order": null }, "results": [ { "id": 980190962, "pulp_id": "one-uuid", "name": "one", "filename": "one-1.1.src.rpm", "created_at": "2024-05-23 19:46:02 UTC", "version": "1.0", "arch": "src", "release": "1.el7", "epoch": "0", "checksum": null, "summary": null, "nvra": "one-1.0-1.el7.src" }, { "id": 1046165992, "pulp_id": "one-uuid-two", "name": "one", "filename": "one-1.2.src.rpm", "created_at": "2024-05-23 19:46:02 UTC", "version": "1.0", "arch": "src", "release": "2.el7", "epoch": "0", "checksum": null, "summary": null, "nvra": "one-1.0-2.el7.src" }, { "id": 298486374, "pulp_id": "two-uuid", "name": "two", "filename": "two-2.1.src.rpm", "created_at": "2024-05-23 19:46:02 UTC", "version": "1.0", "arch": "src", "release": "1.el7", "epoch": "0", "checksum": null, "summary": null, "nvra": "two-1.0-1.el7.src" } ] }
Param name | Description |
---|---|
organization_id
optional |
Organization identifier Validations:
|
repository_id
optional |
Repository identifier Validations:
|
environment_id
optional |
Environment identifier Validations:
|
content_view_version_id
optional |
Content View Version identifier 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:
|
Param name | Description |
---|---|
repository_id
optional |
repository identifier Validations:
|
organization_id
optional |
organization identifier Validations:
|
id
required |
SRPM details identifier Validations:
|
GET /katello/api/srpms/compare 200 { "total": 3, "subtotal": 3, "selectable": 3, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": null, "order": null }, "results": [ { "id": 980190962, "pulp_id": "one-uuid", "name": "one", "filename": "one-1.1.src.rpm", "created_at": "2024-05-23 19:46:02 UTC", "version": "1.0", "arch": "src", "release": "1.el7", "epoch": "0", "checksum": null, "summary": null, "nvra": "one-1.0-1.el7.src", "comparison": [ 840492357 ] }, { "id": 1046165992, "pulp_id": "one-uuid-two", "name": "one", "filename": "one-1.2.src.rpm", "created_at": "2024-05-23 19:46:02 UTC", "version": "1.0", "arch": "src", "release": "2.el7", "epoch": "0", "checksum": null, "summary": null, "nvra": "one-1.0-2.el7.src", "comparison": [ 840492357 ] }, { "id": 298486374, "pulp_id": "two-uuid", "name": "two", "filename": "two-2.1.src.rpm", "created_at": "2024-05-23 19:46:02 UTC", "version": "1.0", "arch": "src", "release": "1.el7", "epoch": "0", "checksum": null, "summary": null, "nvra": "two-1.0-1.el7.src", "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:
|