diff --git a/CHANGES/577.feature b/CHANGES/577.feature new file mode 100644 index 000000000..342f7e1f2 --- /dev/null +++ b/CHANGES/577.feature @@ -0,0 +1 @@ +Added version filter to package list endpoint. diff --git a/pulp_python/app/viewsets.py b/pulp_python/app/viewsets.py index b769e0f10..12e3bfecc 100644 --- a/pulp_python/app/viewsets.py +++ b/pulp_python/app/viewsets.py @@ -101,6 +101,7 @@ class Meta: 'filename': ['exact', 'in', 'contains'], 'keywords': ['in', 'contains'], 'sha256': ['exact', 'in'], + 'version': ['exact', 'gt', 'lt', 'gte', 'lte'] }