Project

Profile

Help

Task #5679

closed

Rename endpoints for content to be in plural form

Added by ttereshc about 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
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

Also available in: Atom PDF