Actions
Task #5679
closedRename endpoints for content to be in plural form
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 61
Quarter:
Description
For consistency with the rest content endpoint, rename those:
modulemd -> modulemds
packageenvironmwent -> packageenvironments
packagecategory -> packagecategories
packagegroup -> packagegroups
The following endpoints should be updated:
/pulp/api/v3/content/rpm/modulemd/ pulp_rpm.app.viewsets.ModulemdViewSet content-rpm/modulemd-list
/pulp/api/v3/content/rpm/modulemd/<pk>/ pulp_rpm.app.viewsets.ModulemdViewSet content-rpm/modulemd-detail
/pulp/api/v3/content/rpm/modulemd/<pk>\.<format>/ pulp_rpm.app.viewsets.ModulemdViewSet content-rpm/modulemd-detail
/pulp/api/v3/content/rpm/modulemd\.<format>/ pulp_rpm.app.viewsets.ModulemdViewSet content-rpm/modulemd-list
/pulp/api/v3/content/rpm/packagecategory/ pulp_rpm.app.viewsets.PackageCategoryViewSet content-rpm/packagecategory-list
/pulp/api/v3/content/rpm/packagecategory/<pk>/ pulp_rpm.app.viewsets.PackageCategoryViewSet content-rpm/packagecategory-detail
/pulp/api/v3/content/rpm/packagecategory/<pk>\.<format>/ pulp_rpm.app.viewsets.PackageCategoryViewSet content-rpm/packagecategory-detail
/pulp/api/v3/content/rpm/packagecategory\.<format>/ pulp_rpm.app.viewsets.PackageCategoryViewSet content-rpm/packagecategory-list
/pulp/api/v3/content/rpm/packageenvironment/ pulp_rpm.app.viewsets.PackageEnvironmentViewSet content-rpm/packageenvironment-list
/pulp/api/v3/content/rpm/packageenvironment/<pk>/ pulp_rpm.app.viewsets.PackageEnvironmentViewSet content-rpm/packageenvironment-detail
/pulp/api/v3/content/rpm/packageenvironment/<pk>\.<format>/ pulp_rpm.app.viewsets.PackageEnvironmentViewSet content-rpm/packageenvironment-detail
/pulp/api/v3/content/rpm/packageenvironment\.<format>/ pulp_rpm.app.viewsets.PackageEnvironmentViewSet content-rpm/packageenvironment-list
/pulp/api/v3/content/rpm/packagegroup/ pulp_rpm.app.viewsets.PackageGroupViewSet content-rpm/packagegroup-list
/pulp/api/v3/content/rpm/packagegroup/<pk>/ pulp_rpm.app.viewsets.PackageGroupViewSet content-rpm/packagegroup-detail
/pulp/api/v3/content/rpm/packagegroup/<pk>\.<format>/ pulp_rpm.app.viewsets.PackageGroupViewSet content-rpm/packagegroup-detail
/pulp/api/v3/content/rpm/packagegroup\.<format>/ pulp_rpm.app.viewsets.PackageGroupViewSet content-rpm/packagegroup-list
Actions
Rename endpoints for content to be in plural form
For consistency, now: modulemd -> modulemds packageenvironmwent -> packageenvironments packagecategory -> packagecategories packagegroup -> packagegroups
closes #5679 https://pulp.plan.io/issues/5679