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
Actions #1

Updated by ipanova@redhat.com about 5 years ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 61
Actions #2

Updated by CodeHeeler about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to CodeHeeler

Added by CodeHeeler about 5 years ago

Revision 052424b3 | View on GitHub

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

Actions #4

Updated by CodeHeeler about 5 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by ttereshc about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #6

Updated by bmbouter over 4 years ago

  • Tags deleted (Pulp 3 RPM blocker)

Also available in: Atom PDF