GET /katello/api/python_packages 200 { "total": 1, "subtotal": 1, "selectable": 1, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "name", "order": "asc" }, "results": [ { "id": 980190962, "name": "python_file", "filename": "python_file.whl", "pulp_id": "1234-1234-1234", "version": "1.0", "content_type": "python_package", "additional_metadata": null } ] }
Param name | Description |
---|---|
content_type
required |
Possible values: ostree_ref, python_package Validations:
|
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:
|
content_view_filter_rule_id
optional |
content view filter rule identifier Validations:
|
repository_id
optional |
repository identifier Validations:
|
environment_id
optional |
environment identifier Validations:
|
ids
optional |
ids to filter content by Validations:
|
include_filter_ids
optional |
Includes associated content view filter ids in response 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/python_packages/980190962 200 { "id": 980190962, "name": "python_file", "filename": "python_file.whl", "pulp_id": "1234-1234-1234", "version": "1.0", "content_type": "python_package", "additional_metadata": null, "repositories": [ { "id": 16447009, "name": "Pulp3 Python 1", "product_id": 785257261, "product_name": "Fedora" } ] }
Param name | Description |
---|---|
content_type
required |
Possible values: ostree_ref, python_package Validations:
|
repository_id
optional |
repository identifier Validations:
|
organization_id
optional |
organization identifier Validations:
|
id
required |
a content unit identifier Validations:
|
Param name | Description |
---|---|
content_type
required |
Possible values: ostree_ref, python_package Validations:
|
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:
|
Param name | Description |
---|---|
content_type
required |
Possible values: ostree_ref, python_package Validations:
|