[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror) | repository | major | `23.12.1` -> `24.1.1` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://togithub.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>psf/black-pre-commit-mirror (psf/black-pre-commit-mirror)</summary> ### [`v24.1.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1) [Compare Source](https://togithub.com/psf/black-pre-commit-mirror/compare/24.1.0...24.1.1) ### [`v24.1.0`](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0) [Compare Source](https://togithub.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/libretime/libretime). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
38 lines
1,009 B
Python
38 lines
1,009 B
Python
"""
|
|
URL Configuration
|
|
|
|
For more information on this file, see
|
|
https://docs.djangoproject.com/en/3.2/topics/http/urls/
|
|
"""
|
|
|
|
from django.urls import include, path
|
|
from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView
|
|
|
|
from .core.router import urls as core_urls
|
|
from .history.router import urls as history_urls
|
|
from .podcasts.router import urls as podcasts_urls
|
|
from .schedule.router import urls as schedule_urls
|
|
from .storage.router import urls as storage_urls
|
|
|
|
api_urls = []
|
|
api_urls += core_urls
|
|
api_urls += history_urls
|
|
api_urls += podcasts_urls
|
|
api_urls += schedule_urls
|
|
api_urls += storage_urls
|
|
|
|
|
|
urlpatterns = [
|
|
path("api/browser/", include("rest_framework.urls", namespace="rest_framework")),
|
|
path("api/v2/", include(api_urls)),
|
|
path(
|
|
"api/v2/schema",
|
|
SpectacularAPIView.as_view(),
|
|
name="schema",
|
|
),
|
|
path(
|
|
"api/v2/schema/swagger-ui",
|
|
SpectacularSwaggerView.as_view(url_name="schema"),
|
|
name="swagger-ui",
|
|
),
|
|
]
|