Creating a shared link with python

  • 1
  • Question
  • Updated 1 month ago
I am trying to create a shared link for a folder that I created. My code does create a shared link but it is a link to upload to the shared file, not the specified file. My code to create the JSON parameters is as follows:

shareModel = '{"ShareType": "Request", "Items": [{"Id": "%s"}], "RequireLogin": false, "RequireUserInfo": false, "MaxDownloads": -1,}'%(folder_id)

Does anyone have an idea if the above is causing this or if it is something else in my code?
Photo of Ryan Chiu

Ryan Chiu

  • 1 Post
  • 0 Reply Likes

Posted 1 month ago

  • 1

Be the first to post a reply!