Skip to content

Commit

Permalink
add folder parent id arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseibel committed Jun 25, 2024
1 parent 500b3ce commit 19bcfc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions panopto_client/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ def getFoldersByExternalId(self, folder_external_ids):
ns=self.param_ns, params=folder_external_ids),
})

def addFolder(self, folder_name):
def addFolder(self, folder_name, parent_folder_id=None, is_public=False):
return self._request('AddFolder', {
'auth': self.authentication_info(ns=self.auth_ns),
'name': folder_name,
'parentFolder': None,
'isPublic': 'false'
'parentFolder': parent_folder_id,
'isPublic': is_public
})

def updateFolderName(self, folder_id, name):
Expand Down

0 comments on commit 19bcfc2

Please sign in to comment.