You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
426 B
Python

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
from rest_framework.routers import DefaultRouter
from .views import InvitationViewSet, MembershipViewSet, OrganizationViewSet
router = DefaultRouter(trailing_slash=False)
router.register('organizations', OrganizationViewSet)
router.register('invitations', InvitationViewSet)
router.register('memberships', MembershipViewSet)
urlpatterns = router.urls