✨(plugins) add endpoint to list SIRET of active organizations
Allow access to AccountService with right scope to list SIRET of active communes
This commit is contained in:
14
src/backend/plugins/la_suite/urls.py
Normal file
14
src/backend/plugins/la_suite/urls.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""API URL Configuration for La Suite plugin"""
|
||||
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .api.viewsets import ActiveOrganizationsSiret
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(
|
||||
"la-suite/v1.0/siret",
|
||||
ActiveOrganizationsSiret,
|
||||
basename="active-organization-sirets",
|
||||
)
|
||||
|
||||
urlpatterns = router.urls
|
||||
Reference in New Issue
Block a user