feat(api): split api into multiple apps (#1626)
Fixes #1622 - split the api into 4 apps: core, history, schedule, storage - exploded the settings into testing/prod
This commit is contained in:
parent
87d2da9d84
commit
fce988aef1
120 changed files with 1499 additions and 1078 deletions
22
api/libretime_api/history/router.py
Normal file
22
api/libretime_api/history/router.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
from rest_framework import routers
|
||||
|
||||
from .views import (
|
||||
ListenerCountViewSet,
|
||||
LiveLogViewSet,
|
||||
MountNameViewSet,
|
||||
PlayoutHistoryMetadataViewSet,
|
||||
PlayoutHistoryTemplateFieldViewSet,
|
||||
PlayoutHistoryTemplateViewSet,
|
||||
PlayoutHistoryViewSet,
|
||||
TimestampViewSet,
|
||||
)
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router.register("listener-counts", ListenerCountViewSet)
|
||||
router.register("live-logs", LiveLogViewSet)
|
||||
router.register("mount-names", MountNameViewSet)
|
||||
router.register("playout-history", PlayoutHistoryViewSet)
|
||||
router.register("playout-history-metadata", PlayoutHistoryMetadataViewSet)
|
||||
router.register("playout-history-templates", PlayoutHistoryTemplateViewSet)
|
||||
router.register("playout-history-template-fields", PlayoutHistoryTemplateFieldViewSet)
|
||||
router.register("timestamps", TimestampViewSet)
|
Loading…
Add table
Add a link
Reference in a new issue