Skip to content

Commit

Permalink
Remove unneeded API endpoints #241 #445 #453
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Jun 3, 2024
1 parent f5d19ef commit 767f0b7
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions purldb_project/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,15 @@

from rest_framework import routers

from clearcode.api import CDitemViewSet
from packagedb.api import PackageViewSet
from packagedb.api import PackageSetViewSet
from packagedb.api import PackageUpdateSet
from packagedb.api import PackageWatchViewSet
from packagedb.api import ResourceViewSet
from matchcode.api import ApproximateDirectoryContentIndexViewSet
from matchcode.api import ApproximateDirectoryStructureIndexViewSet
from matchcode.api import ExactFileIndexViewSet
from matchcode.api import ExactPackageArchiveIndexViewSet
from minecode.api import PriorityResourceURIViewSet
from minecode.api import ScannableURIViewSet
from packagedb.api import PurlValidateViewSet
from packagedb.to_purl import api_to_purl_router
from packagedb.from_purl import api_from_purl_router
from packagedb.from_purl import api_from_purl_router
from packagedb.api import CollectViewSet
from drf_spectacular.views import SpectacularAPIView
from drf_spectacular.views import SpectacularSwaggerView
Expand All @@ -39,12 +33,6 @@
api_router.register('update_packages', PackageUpdateSet, 'update_packages')
api_router.register('package_sets', PackageSetViewSet)
api_router.register('resources', ResourceViewSet)
api_router.register('approximate_directory_content_index', ApproximateDirectoryContentIndexViewSet)
api_router.register('approximate_directory_structure_index', ApproximateDirectoryStructureIndexViewSet)
api_router.register('exact_file_index', ExactFileIndexViewSet)
api_router.register('exact_package_archive_index', ExactPackageArchiveIndexViewSet)
api_router.register('cditems', CDitemViewSet, 'cditems')
api_router.register('on_demand_queue', PriorityResourceURIViewSet)
api_router.register('validate', PurlValidateViewSet, 'validate')
api_router.register('collect', CollectViewSet, 'collect')
api_router.register('watch',PackageWatchViewSet)
Expand Down

0 comments on commit 767f0b7

Please sign in to comment.