mwiller
- Total activity 375
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 156
Comments
Votes on activity by mwiller-
An access token is required to authenticate with the Box API, even for public shared resources. Please see the setup documentation for help getting started setting up an app and getting an acces...
-
The following curl call worked for me: curl https://api.box.com/2.0/shared_items \ -H "Authorization: Bearer " \ -H "BoxApi: shared_link=https://nihcc.app.box.com/v/ChestXray-NIHCC" That will g...
-
As mentioned, this is not currently possible with the CLI. However, there's a new version of the CLI due out next month that will include support for Terms of Service — my team is putting the f...
-
You can use the API to access publicly shared folders, you just need to pass the `BoxApi` header with the shared link in it along with every call to let the API know that you should have access t...
-
When getting the items in a folder, the API only returns a limited set of fields for each item by default (which doesn't include size). You'll need to specifically request the fields you need if...
-
The Classification information is contained within special metadata on the file. You can access it like this: file = client.file(file_id).get(fields=['metadata.enterprise.securityClassificatio...
-
The behavior of this method changed in v2.0.0 of the Python SDK — it now returns an iterator that will automatically get all the items in the folder for you if you iterate over it. If you just w...
-
The Python SDK docs have examples for how to use most of the functions of the SDK — please refer to those. In general, for API endpoints that return a collection, the SDK returns an iterator tha...
-
It looks like you're using the Box Python SDK — what version are you on? That method was only added in v2.0.0, which was recently released.
-
For this type of use case where you want your script to run without user interaction, we would recommend using Server-to-Server authentication with JWT, rather than traditional OAuth2. The Box P...