Skip to main content

Using Python with JWT to get a list of files and folders

  • June 21, 2024
  • 1 reply
  • 88 views

My request is VERY basic. Get a list of thee following:

  • List all top level folders
  • List the path of the folder
  • List the owners and co-admins
  • List the size of the folder including subfolders
  • List the number of items in the folder and subfolders

Using JWT for this and have enabled all scopes with apps + enterprise access

The real issue is that I STILL have to add the service account as a co-admin to get this data. How can I ensure my enterprise token access allows me to read data enterprise-wide? It is ridiculous that this isn’t even a report in the console that I must build a custom solution.

1 reply

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • June 24, 2024

Hi @user258

Welcome to the forum.

We have plenty of examples using Python.

Take a look at our Python workshops:

This should get you started, and let us know if you have follow up questions.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings