mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-17 16:50:53 +00:00
Some checks failed
CI Pipeline / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Frontend Tests / test (push) Has been cancelled
CI Pipeline / docker (amd64, ubuntu-24.04) (push) Has been cancelled
CI Pipeline / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
CI Pipeline / create-manifest (push) Has been cancelled
Added password fields - #616 Fixed multiple GUI issues - #494 Adds some QoL upgrades See CHANGELOG.md for more info
24 lines
928 B
Python
24 lines
928 B
Python
from django.urls import path
|
|
from .api_views import (
|
|
PluginsListAPIView,
|
|
PluginReloadAPIView,
|
|
PluginSettingsAPIView,
|
|
PluginRunAPIView,
|
|
PluginEnabledAPIView,
|
|
PluginImportAPIView,
|
|
PluginDeleteAPIView,
|
|
PluginLogoAPIView,
|
|
)
|
|
|
|
app_name = "plugins"
|
|
|
|
urlpatterns = [
|
|
path("plugins/", PluginsListAPIView.as_view(), name="list"),
|
|
path("plugins/reload/", PluginReloadAPIView.as_view(), name="reload"),
|
|
path("plugins/import/", PluginImportAPIView.as_view(), name="import"),
|
|
path("plugins/<str:key>/delete/", PluginDeleteAPIView.as_view(), name="delete"),
|
|
path("plugins/<str:key>/settings/", PluginSettingsAPIView.as_view(), name="settings"),
|
|
path("plugins/<str:key>/run/", PluginRunAPIView.as_view(), name="run"),
|
|
path("plugins/<str:key>/enabled/", PluginEnabledAPIView.as_view(), name="enabled"),
|
|
path("plugins/<str:key>/logo/", PluginLogoAPIView.as_view(), name="logo"),
|
|
]
|