mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Initial work on contacts
This commit is contained in:
@@ -9,5 +9,11 @@ router.APIRootView = views.TenancyRootView
|
||||
router.register('tenant-groups', views.TenantGroupViewSet)
|
||||
router.register('tenants', views.TenantViewSet)
|
||||
|
||||
# Contacts
|
||||
router.register('contact-groups', views.ContactGroupViewSet)
|
||||
router.register('contact-roles', views.ContactRoleViewSet)
|
||||
router.register('contacts', views.ContactViewSet)
|
||||
router.register('contact-assignments', views.ContactAssignmentViewSet)
|
||||
|
||||
app_name = 'tenancy-api'
|
||||
urlpatterns = router.urls
|
||||
|
Reference in New Issue
Block a user