|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
from django.urls import path
|
|
|
|
|
from rest_framework_bulk.routes import BulkRouter
|
|
|
|
|
|
|
|
|
|
from labels.api import LabelViewSet
|
|
|
|
|
from .. import api
|
|
|
|
|
|
|
|
|
|
app_name = 'assets'
|
|
|
|
@ -22,6 +23,7 @@ router.register(r'domains', api.DomainViewSet, 'domain')
|
|
|
|
|
router.register(r'gateways', api.GatewayViewSet, 'gateway')
|
|
|
|
|
router.register(r'favorite-assets', api.FavoriteAssetViewSet, 'favorite-asset')
|
|
|
|
|
router.register(r'protocol-settings', api.PlatformProtocolViewSet, 'protocol-setting')
|
|
|
|
|
router.register(r'labels', LabelViewSet, 'label')
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
# path('assets/<uuid:pk>/gateways/', api.AssetGatewayListApi.as_view(), name='asset-gateway-list'),
|
|
|
|
|