feat(api): don't use trailing slashes (#1982)

This commit is contained in:
Jonas L 2022-07-22 17:34:09 +02:00 committed by GitHub
parent 368350b269
commit f08af1f3fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 85 additions and 85 deletions

View File

@ -13,7 +13,7 @@ from .views import (
VersionView, VersionView,
) )
router = routers.DefaultRouter() router = routers.DefaultRouter(trailing_slash=False)
router.register("login-attempts", LoginAttemptViewSet) router.register("login-attempts", LoginAttemptViewSet)
router.register("preferences", PreferenceViewSet) router.register("preferences", PreferenceViewSet)
router.register("service-registers", ServiceRegisterViewSet) router.register("service-registers", ServiceRegisterViewSet)
@ -25,5 +25,5 @@ router.register("third-party-track-references", ThirdPartyTrackReferenceViewSet)
urls = [ urls = [
*router.urls, *router.urls,
path("version/", VersionView.as_view()), path("version", VersionView.as_view()),
] ]

View File

@ -11,7 +11,7 @@ from .views import (
TimestampViewSet, TimestampViewSet,
) )
router = routers.DefaultRouter() router = routers.DefaultRouter(trailing_slash=False)
router.register("listener-counts", ListenerCountViewSet) router.register("listener-counts", ListenerCountViewSet)
router.register("live-logs", LiveLogViewSet) router.register("live-logs", LiveLogViewSet)
router.register("mount-names", MountNameViewSet) router.register("mount-names", MountNameViewSet)

View File

@ -7,7 +7,7 @@ from .views import (
StationPodcastViewSet, StationPodcastViewSet,
) )
router = routers.DefaultRouter() router = routers.DefaultRouter(trailing_slash=False)
router.register("podcast-episodes", PodcastEpisodeViewSet) router.register("podcast-episodes", PodcastEpisodeViewSet)
router.register("podcasts", PodcastViewSet) router.register("podcasts", PodcastViewSet)
router.register("station-podcasts", StationPodcastViewSet) router.register("station-podcasts", StationPodcastViewSet)

View File

@ -16,7 +16,7 @@ from .views import (
WebstreamViewSet, WebstreamViewSet,
) )
router = routers.DefaultRouter() router = routers.DefaultRouter(trailing_slash=False)
router.register("playlist-contents", PlaylistContentViewSet) router.register("playlist-contents", PlaylistContentViewSet)
router.register("playlists", PlaylistViewSet) router.register("playlists", PlaylistViewSet)
router.register("schedule", ScheduleViewSet) router.register("schedule", ScheduleViewSet)

View File

@ -11,7 +11,7 @@ from ...._fixtures import AUDIO_FILENAME
class TestScheduleViewSet(APITestCase): class TestScheduleViewSet(APITestCase):
@classmethod @classmethod
def setUpTestData(cls): def setUpTestData(cls):
cls.path = "/api/v2/schedule/" cls.path = "/api/v2/schedule"
cls.token = settings.CONFIG.general.api_key cls.token = settings.CONFIG.general.api_key
def test_schedule_item_full_length(self): def test_schedule_item_full_length(self):

View File

@ -2,7 +2,7 @@ from rest_framework import routers
from .views import FileViewSet, LibraryViewSet from .views import FileViewSet, LibraryViewSet
router = routers.DefaultRouter() router = routers.DefaultRouter(trailing_slash=False)
router.register("files", FileViewSet) router.register("files", FileViewSet)
router.register("libraries", LibraryViewSet) router.register("libraries", LibraryViewSet)

View File

@ -8,7 +8,7 @@ from ...._fixtures import AUDIO_FILENAME
class TestFileViewSet(APITestCase): class TestFileViewSet(APITestCase):
@classmethod @classmethod
def setUpTestData(cls): def setUpTestData(cls):
cls.path = "/api/v2/files/{id}/download/" cls.path = "/api/v2/files/{id}/download"
cls.token = settings.CONFIG.general.api_key cls.token = settings.CONFIG.general.api_key
def test_invalid(self): def test_invalid(self):

View File

@ -11,7 +11,7 @@ from ..permissions import IsSystemTokenOrUser
class TestIsSystemTokenOrUser(APITestCase): class TestIsSystemTokenOrUser(APITestCase):
@classmethod @classmethod
def setUpTestData(cls): def setUpTestData(cls):
cls.path = "/api/v2/files/" cls.path = "/api/v2/files"
def test_unauthorized(self): def test_unauthorized(self):
response = self.client.get(self.path.format("files")) response = self.client.get(self.path.format("files"))
@ -67,7 +67,7 @@ class TestPermissions(APITestCase):
@classmethod @classmethod
def setUpTestData(cls): def setUpTestData(cls):
cls.path = "/api/v2/{}/" cls.path = "/api/v2/{}"
def test_guest_permissions_success(self): def test_guest_permissions_success(self):
for model in self.URLS: for model in self.URLS:

View File

@ -24,12 +24,12 @@ api_urls += storage_urls
urlpatterns = [ urlpatterns = [
path("api/v2/", include(api_urls)), path("api/v2/", include(api_urls)),
path( path(
"api/v2/schema/", "api/v2/schema",
SpectacularAPIView.as_view(), SpectacularAPIView.as_view(),
name="schema", name="schema",
), ),
path( path(
"api/v2/schema/swagger-ui/", "api/v2/schema/swagger-ui",
SpectacularSwaggerView.as_view(url_name="schema"), SpectacularSwaggerView.as_view(url_name="schema"),
name="swagger-ui", name="swagger-ui",
), ),

View File

@ -4,7 +4,7 @@ info:
version: 2.0.0 version: 2.0.0
description: Radio Broadcast & Automation Platform description: Radio Broadcast & Automation Platform
paths: paths:
/api/v2/celery-tasks/: /api/v2/celery-tasks:
get: get:
operationId: celery_tasks_list operationId: celery_tasks_list
tags: tags:
@ -47,7 +47,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/CeleryTask" $ref: "#/components/schemas/CeleryTask"
description: "" description: ""
/api/v2/celery-tasks/{id}/: /api/v2/celery-tasks/{id}:
get: get:
operationId: celery_tasks_retrieve operationId: celery_tasks_retrieve
parameters: parameters:
@ -151,7 +151,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/files/: /api/v2/files:
get: get:
operationId: files_list operationId: files_list
tags: tags:
@ -194,7 +194,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/File" $ref: "#/components/schemas/File"
description: "" description: ""
/api/v2/files/{id}/: /api/v2/files/{id}:
get: get:
operationId: files_retrieve operationId: files_retrieve
parameters: parameters:
@ -298,7 +298,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/files/{id}/download/: /api/v2/files/{id}/download:
get: get:
operationId: files_download_retrieve operationId: files_download_retrieve
parameters: parameters:
@ -320,7 +320,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/File" $ref: "#/components/schemas/File"
description: "" description: ""
/api/v2/imported-podcasts/: /api/v2/imported-podcasts:
get: get:
operationId: imported_podcasts_list operationId: imported_podcasts_list
tags: tags:
@ -363,7 +363,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ImportedPodcast" $ref: "#/components/schemas/ImportedPodcast"
description: "" description: ""
/api/v2/imported-podcasts/{id}/: /api/v2/imported-podcasts/{id}:
get: get:
operationId: imported_podcasts_retrieve operationId: imported_podcasts_retrieve
parameters: parameters:
@ -467,7 +467,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/libraries/: /api/v2/libraries:
get: get:
operationId: libraries_list operationId: libraries_list
tags: tags:
@ -510,7 +510,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Library" $ref: "#/components/schemas/Library"
description: "" description: ""
/api/v2/libraries/{id}/: /api/v2/libraries/{id}:
get: get:
operationId: libraries_retrieve operationId: libraries_retrieve
parameters: parameters:
@ -614,7 +614,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/listener-counts/: /api/v2/listener-counts:
get: get:
operationId: listener_counts_list operationId: listener_counts_list
tags: tags:
@ -657,7 +657,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ListenerCount" $ref: "#/components/schemas/ListenerCount"
description: "" description: ""
/api/v2/listener-counts/{id}/: /api/v2/listener-counts/{id}:
get: get:
operationId: listener_counts_retrieve operationId: listener_counts_retrieve
parameters: parameters:
@ -761,7 +761,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/live-logs/: /api/v2/live-logs:
get: get:
operationId: live_logs_list operationId: live_logs_list
tags: tags:
@ -804,7 +804,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/LiveLog" $ref: "#/components/schemas/LiveLog"
description: "" description: ""
/api/v2/live-logs/{id}/: /api/v2/live-logs/{id}:
get: get:
operationId: live_logs_retrieve operationId: live_logs_retrieve
parameters: parameters:
@ -908,7 +908,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/login-attempts/: /api/v2/login-attempts:
get: get:
operationId: login_attempts_list operationId: login_attempts_list
tags: tags:
@ -950,7 +950,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/LoginAttempt" $ref: "#/components/schemas/LoginAttempt"
description: "" description: ""
/api/v2/login-attempts/{ip}/: /api/v2/login-attempts/{ip}:
get: get:
operationId: login_attempts_retrieve operationId: login_attempts_retrieve
parameters: parameters:
@ -1053,7 +1053,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/mount-names/: /api/v2/mount-names:
get: get:
operationId: mount_names_list operationId: mount_names_list
tags: tags:
@ -1096,7 +1096,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/MountName" $ref: "#/components/schemas/MountName"
description: "" description: ""
/api/v2/mount-names/{id}/: /api/v2/mount-names/{id}:
get: get:
operationId: mount_names_retrieve operationId: mount_names_retrieve
parameters: parameters:
@ -1200,7 +1200,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/playlist-contents/: /api/v2/playlist-contents:
get: get:
operationId: playlist_contents_list operationId: playlist_contents_list
tags: tags:
@ -1243,7 +1243,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/PlaylistContent" $ref: "#/components/schemas/PlaylistContent"
description: "" description: ""
/api/v2/playlist-contents/{id}/: /api/v2/playlist-contents/{id}:
get: get:
operationId: playlist_contents_retrieve operationId: playlist_contents_retrieve
parameters: parameters:
@ -1347,7 +1347,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/playlists/: /api/v2/playlists:
get: get:
operationId: playlists_list operationId: playlists_list
tags: tags:
@ -1390,7 +1390,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Playlist" $ref: "#/components/schemas/Playlist"
description: "" description: ""
/api/v2/playlists/{id}/: /api/v2/playlists/{id}:
get: get:
operationId: playlists_retrieve operationId: playlists_retrieve
parameters: parameters:
@ -1494,7 +1494,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/playout-history/: /api/v2/playout-history:
get: get:
operationId: playout_history_list operationId: playout_history_list
tags: tags:
@ -1537,7 +1537,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/PlayoutHistory" $ref: "#/components/schemas/PlayoutHistory"
description: "" description: ""
/api/v2/playout-history-metadata/: /api/v2/playout-history-metadata:
get: get:
operationId: playout_history_metadata_list operationId: playout_history_metadata_list
tags: tags:
@ -1580,7 +1580,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/PlayoutHistoryMetadata" $ref: "#/components/schemas/PlayoutHistoryMetadata"
description: "" description: ""
/api/v2/playout-history-metadata/{id}/: /api/v2/playout-history-metadata/{id}:
get: get:
operationId: playout_history_metadata_retrieve operationId: playout_history_metadata_retrieve
parameters: parameters:
@ -1684,7 +1684,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/playout-history-template-fields/: /api/v2/playout-history-template-fields:
get: get:
operationId: playout_history_template_fields_list operationId: playout_history_template_fields_list
tags: tags:
@ -1727,7 +1727,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/PlayoutHistoryTemplateField" $ref: "#/components/schemas/PlayoutHistoryTemplateField"
description: "" description: ""
/api/v2/playout-history-template-fields/{id}/: /api/v2/playout-history-template-fields/{id}:
get: get:
operationId: playout_history_template_fields_retrieve operationId: playout_history_template_fields_retrieve
parameters: parameters:
@ -1839,7 +1839,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/playout-history-templates/: /api/v2/playout-history-templates:
get: get:
operationId: playout_history_templates_list operationId: playout_history_templates_list
tags: tags:
@ -1882,7 +1882,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/PlayoutHistoryTemplate" $ref: "#/components/schemas/PlayoutHistoryTemplate"
description: "" description: ""
/api/v2/playout-history-templates/{id}/: /api/v2/playout-history-templates/{id}:
get: get:
operationId: playout_history_templates_retrieve operationId: playout_history_templates_retrieve
parameters: parameters:
@ -1986,7 +1986,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/playout-history/{id}/: /api/v2/playout-history/{id}:
get: get:
operationId: playout_history_retrieve operationId: playout_history_retrieve
parameters: parameters:
@ -2090,7 +2090,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/podcast-episodes/: /api/v2/podcast-episodes:
get: get:
operationId: podcast_episodes_list operationId: podcast_episodes_list
tags: tags:
@ -2133,7 +2133,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/PodcastEpisode" $ref: "#/components/schemas/PodcastEpisode"
description: "" description: ""
/api/v2/podcast-episodes/{id}/: /api/v2/podcast-episodes/{id}:
get: get:
operationId: podcast_episodes_retrieve operationId: podcast_episodes_retrieve
parameters: parameters:
@ -2237,7 +2237,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/podcasts/: /api/v2/podcasts:
get: get:
operationId: podcasts_list operationId: podcasts_list
tags: tags:
@ -2280,7 +2280,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Podcast" $ref: "#/components/schemas/Podcast"
description: "" description: ""
/api/v2/podcasts/{id}/: /api/v2/podcasts/{id}:
get: get:
operationId: podcasts_retrieve operationId: podcasts_retrieve
parameters: parameters:
@ -2384,7 +2384,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/preferences/: /api/v2/preferences:
get: get:
operationId: preferences_list operationId: preferences_list
tags: tags:
@ -2427,7 +2427,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Preference" $ref: "#/components/schemas/Preference"
description: "" description: ""
/api/v2/preferences/{id}/: /api/v2/preferences/{id}:
get: get:
operationId: preferences_retrieve operationId: preferences_retrieve
parameters: parameters:
@ -2531,7 +2531,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/schedule/: /api/v2/schedule:
get: get:
operationId: schedule_list operationId: schedule_list
parameters: parameters:
@ -2607,7 +2607,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Schedule" $ref: "#/components/schemas/Schedule"
description: "" description: ""
/api/v2/schedule/{id}/: /api/v2/schedule/{id}:
get: get:
operationId: schedule_retrieve operationId: schedule_retrieve
parameters: parameters:
@ -2711,7 +2711,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/schema/: /api/v2/schema:
get: get:
operationId: schema_retrieve operationId: schema_retrieve
description: |- description: |-
@ -2854,7 +2854,7 @@ paths:
type: object type: object
additionalProperties: {} additionalProperties: {}
description: "" description: ""
/api/v2/service-registers/: /api/v2/service-registers:
get: get:
operationId: service_registers_list operationId: service_registers_list
tags: tags:
@ -2897,7 +2897,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ServiceRegister" $ref: "#/components/schemas/ServiceRegister"
description: "" description: ""
/api/v2/service-registers/{name}/: /api/v2/service-registers/{name}:
get: get:
operationId: service_registers_retrieve operationId: service_registers_retrieve
parameters: parameters:
@ -3001,7 +3001,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/show-days/: /api/v2/show-days:
get: get:
operationId: show_days_list operationId: show_days_list
tags: tags:
@ -3044,7 +3044,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ShowDays" $ref: "#/components/schemas/ShowDays"
description: "" description: ""
/api/v2/show-days/{id}/: /api/v2/show-days/{id}:
get: get:
operationId: show_days_retrieve operationId: show_days_retrieve
parameters: parameters:
@ -3148,7 +3148,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/show-hosts/: /api/v2/show-hosts:
get: get:
operationId: show_hosts_list operationId: show_hosts_list
tags: tags:
@ -3191,7 +3191,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ShowHost" $ref: "#/components/schemas/ShowHost"
description: "" description: ""
/api/v2/show-hosts/{id}/: /api/v2/show-hosts/{id}:
get: get:
operationId: show_hosts_retrieve operationId: show_hosts_retrieve
parameters: parameters:
@ -3295,7 +3295,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/show-instances/: /api/v2/show-instances:
get: get:
operationId: show_instances_list operationId: show_instances_list
tags: tags:
@ -3338,7 +3338,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ShowInstance" $ref: "#/components/schemas/ShowInstance"
description: "" description: ""
/api/v2/show-instances/{id}/: /api/v2/show-instances/{id}:
get: get:
operationId: show_instances_retrieve operationId: show_instances_retrieve
parameters: parameters:
@ -3442,7 +3442,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/show-rebroadcasts/: /api/v2/show-rebroadcasts:
get: get:
operationId: show_rebroadcasts_list operationId: show_rebroadcasts_list
tags: tags:
@ -3485,7 +3485,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ShowRebroadcast" $ref: "#/components/schemas/ShowRebroadcast"
description: "" description: ""
/api/v2/show-rebroadcasts/{id}/: /api/v2/show-rebroadcasts/{id}:
get: get:
operationId: show_rebroadcasts_retrieve operationId: show_rebroadcasts_retrieve
parameters: parameters:
@ -3589,7 +3589,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/shows/: /api/v2/shows:
get: get:
operationId: shows_list operationId: shows_list
tags: tags:
@ -3632,7 +3632,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Show" $ref: "#/components/schemas/Show"
description: "" description: ""
/api/v2/shows/{id}/: /api/v2/shows/{id}:
get: get:
operationId: shows_retrieve operationId: shows_retrieve
parameters: parameters:
@ -3736,7 +3736,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/smart-block-contents/: /api/v2/smart-block-contents:
get: get:
operationId: smart_block_contents_list operationId: smart_block_contents_list
tags: tags:
@ -3779,7 +3779,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/SmartBlockContent" $ref: "#/components/schemas/SmartBlockContent"
description: "" description: ""
/api/v2/smart-block-contents/{id}/: /api/v2/smart-block-contents/{id}:
get: get:
operationId: smart_block_contents_retrieve operationId: smart_block_contents_retrieve
parameters: parameters:
@ -3883,7 +3883,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/smart-block-criteria/: /api/v2/smart-block-criteria:
get: get:
operationId: smart_block_criteria_list operationId: smart_block_criteria_list
tags: tags:
@ -3926,7 +3926,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/SmartBlockCriteria" $ref: "#/components/schemas/SmartBlockCriteria"
description: "" description: ""
/api/v2/smart-block-criteria/{id}/: /api/v2/smart-block-criteria/{id}:
get: get:
operationId: smart_block_criteria_retrieve operationId: smart_block_criteria_retrieve
parameters: parameters:
@ -4030,7 +4030,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/smart-blocks/: /api/v2/smart-blocks:
get: get:
operationId: smart_blocks_list operationId: smart_blocks_list
tags: tags:
@ -4073,7 +4073,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/SmartBlock" $ref: "#/components/schemas/SmartBlock"
description: "" description: ""
/api/v2/smart-blocks/{id}/: /api/v2/smart-blocks/{id}:
get: get:
operationId: smart_blocks_retrieve operationId: smart_blocks_retrieve
parameters: parameters:
@ -4177,7 +4177,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/station-podcasts/: /api/v2/station-podcasts:
get: get:
operationId: station_podcasts_list operationId: station_podcasts_list
tags: tags:
@ -4220,7 +4220,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/StationPodcast" $ref: "#/components/schemas/StationPodcast"
description: "" description: ""
/api/v2/station-podcasts/{id}/: /api/v2/station-podcasts/{id}:
get: get:
operationId: station_podcasts_retrieve operationId: station_podcasts_retrieve
parameters: parameters:
@ -4324,7 +4324,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/stream-settings/: /api/v2/stream-settings:
get: get:
operationId: stream_settings_list operationId: stream_settings_list
tags: tags:
@ -4367,7 +4367,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/StreamSetting" $ref: "#/components/schemas/StreamSetting"
description: "" description: ""
/api/v2/stream-settings/{key}/: /api/v2/stream-settings/{key}:
get: get:
operationId: stream_settings_retrieve operationId: stream_settings_retrieve
parameters: parameters:
@ -4471,7 +4471,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/third-party-track-references/: /api/v2/third-party-track-references:
get: get:
operationId: third_party_track_references_list operationId: third_party_track_references_list
tags: tags:
@ -4514,7 +4514,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/ThirdPartyTrackReference" $ref: "#/components/schemas/ThirdPartyTrackReference"
description: "" description: ""
/api/v2/third-party-track-references/{id}/: /api/v2/third-party-track-references/{id}:
get: get:
operationId: third_party_track_references_retrieve operationId: third_party_track_references_retrieve
parameters: parameters:
@ -4618,7 +4618,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/timestamps/: /api/v2/timestamps:
get: get:
operationId: timestamps_list operationId: timestamps_list
tags: tags:
@ -4661,7 +4661,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Timestamp" $ref: "#/components/schemas/Timestamp"
description: "" description: ""
/api/v2/timestamps/{id}/: /api/v2/timestamps/{id}:
get: get:
operationId: timestamps_retrieve operationId: timestamps_retrieve
parameters: parameters:
@ -4765,7 +4765,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/user-tokens/: /api/v2/user-tokens:
get: get:
operationId: user_tokens_list operationId: user_tokens_list
tags: tags:
@ -4808,7 +4808,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/UserToken" $ref: "#/components/schemas/UserToken"
description: "" description: ""
/api/v2/user-tokens/{id}/: /api/v2/user-tokens/{id}:
get: get:
operationId: user_tokens_retrieve operationId: user_tokens_retrieve
parameters: parameters:
@ -4912,7 +4912,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/users/: /api/v2/users:
get: get:
operationId: users_list operationId: users_list
tags: tags:
@ -4955,7 +4955,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/User" $ref: "#/components/schemas/User"
description: "" description: ""
/api/v2/users/{id}/: /api/v2/users/{id}:
get: get:
operationId: users_retrieve operationId: users_retrieve
parameters: parameters:
@ -5059,7 +5059,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/version/: /api/v2/version:
get: get:
operationId: version_retrieve operationId: version_retrieve
tags: tags:
@ -5075,7 +5075,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Version" $ref: "#/components/schemas/Version"
description: "" description: ""
/api/v2/webstream-metadata/: /api/v2/webstream-metadata:
get: get:
operationId: webstream_metadata_list operationId: webstream_metadata_list
tags: tags:
@ -5118,7 +5118,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/WebstreamMetadata" $ref: "#/components/schemas/WebstreamMetadata"
description: "" description: ""
/api/v2/webstream-metadata/{id}/: /api/v2/webstream-metadata/{id}:
get: get:
operationId: webstream_metadata_retrieve operationId: webstream_metadata_retrieve
parameters: parameters:
@ -5222,7 +5222,7 @@ paths:
responses: responses:
"204": "204":
description: No response body description: No response body
/api/v2/webstreams/: /api/v2/webstreams:
get: get:
operationId: webstreams_list operationId: webstreams_list
tags: tags:
@ -5265,7 +5265,7 @@ paths:
schema: schema:
$ref: "#/components/schemas/Webstream" $ref: "#/components/schemas/Webstream"
description: "" description: ""
/api/v2/webstreams/{id}/: /api/v2/webstreams/{id}:
get: get:
operationId: webstreams_retrieve operationId: webstreams_retrieve
parameters: parameters: