Skip to content

Commit 9fdc3fc

Browse files
committed
refactor(api): Update URLs to use ACLAssignment routes
Replaces `interface-assignments` route with `assignments` to align with the unified `ACLAssignment` model. Enhances consistency and maintainability across the API by simplifying route names.
1 parent c39951c commit 9fdc3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_acls/api/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
router = NetBoxRouter()
1212
router.register("access-lists", views.AccessListViewSet)
13-
router.register("interface-assignments", views.ACLInterfaceAssignmentViewSet)
13+
router.register("assignments", views.ACLAssignmentViewSet)
1414
router.register("standard-acl-rules", views.ACLStandardRuleViewSet)
1515
router.register("extended-acl-rules", views.ACLExtendedRuleViewSet)
1616

0 commit comments

Comments
 (0)