from django.urls import path from queues.api.v1.views import ( PlaylistListAPIView, PlaylistRetrieveAPIView, QueueAPIView, QueueSkipAPIView, PlaylistSongMoveDownAPIView, PlaylistSongCancelAPIView, QueueRequestAPIView, QueueVolumeDownAPIView, QueueVolumeUpAPIView, QueueMuteAPIView, QueueCommandListAPIView, QueueCommandDestroyAPIView, QueueUpdateAPIView, ) urlpatterns = [ path("current/", QueueAPIView.as_view(), name="queue_current"), path("/", QueueUpdateAPIView.as_view(), name="queue_update"), path("current/skip/", QueueSkipAPIView.as_view(), name="queue_skip"), path("current/request/", QueueRequestAPIView.as_view(), name="queue_request"), path("current/volume-down/", QueueVolumeDownAPIView.as_view(), name="queue_volume_down"), path("current/volume-up/", QueueVolumeUpAPIView.as_view(), name="queue_volume_up"), path("current/mute/", QueueMuteAPIView.as_view(), name="queue_mute"), path("playlists/", PlaylistListAPIView.as_view(), name="playlist_list"), path("playlists//", PlaylistRetrieveAPIView.as_view(), name="playlist_retrieve"), path("playlist-song//move-down/", PlaylistSongMoveDownAPIView.as_view(), name="playlist_song_move_down"), path("playlist-song//cancel/", PlaylistSongCancelAPIView.as_view(), name="playlist_song_cancel"), path("/commands/", QueueCommandListAPIView.as_view(), name="queue_command_list"), path("commands//", QueueCommandDestroyAPIView.as_view(), name="queue_command_destroy"), ]