From 830b4faff15fb9c81d88e8e69fcdf94aad32bef8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 6 Mar 2019 15:36:44 +0100 Subject: Add/update/delete/list my playlists --- shared/utils/videos/video-playlists.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'shared/utils/videos') diff --git a/shared/utils/videos/video-playlists.ts b/shared/utils/videos/video-playlists.ts index 4af52ec0f..b84b21623 100644 --- a/shared/utils/videos/video-playlists.ts +++ b/shared/utils/videos/video-playlists.ts @@ -265,9 +265,21 @@ async function checkPlaylistFilesWereRemoved ( } } +function getVideoPlaylistPrivacies (url: string) { + const path = '/api/v1/video-playlists/privacies' + + return makeGetRequest({ + url, + path, + statusCodeExpected: 200 + }) +} + // --------------------------------------------------------------------------- export { + getVideoPlaylistPrivacies, + getVideoPlaylistsList, getVideoChannelPlaylistsList, getAccountPlaylistsList, -- cgit v1.2.3