mwiller
- Total activity 375
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 156
Comments
Recent activity by mwiller-
Here's a curl command that worked for me and the verbose output from curl: 14:36 $ curl -vvv https://upload.box.com/api/2.0/files/content -H "Authorization: Bearer MY_ACCESS_TOKEN" -F attribut...
-
The `sub` claim in the JWT should always be a Box ID — depending on the value of `box_sub_type` it would be either the ID of the user you're trying to generate tokens for, or the ID of the enterp...
-
I'm not sure if this is what you meant, but the user ID is NOT the user's email address. It's their numeric ID — see the id file of the user object for more information. One way you can get thi...
-
Yes, Governance is generally sold as an add-on feature to enterprise accounts. The Retention Policies feature I mentioned is available in our API and is supported in our SDKs.
-
I can't really speak to the correctness of your code by sight-reading it — you'll have to run it and see. The "Perform Actions As Users" feature allows an admin or service account to impersonate...
-
As mentioned, Box offers Governance features like Retention Policies, which can be used to ensure a file is not deleted for some amount of time and then delete it at the end of that period. How...
-
Unfortunately, that setting is not currently supported via the Update Folder API endpoint.
-
By default, apps do not have permission to generate tokens for arbitrary users. You'll need to ensure that the app has the "Generate User Access Tokens" feature toggled on in the Configuration t...
-
I'm not very familiar with PHP's curl wrapper, but when I tried your code on my machine I got the following: php > $attributes = array('name'=>time().'.docx','parent'=>array('id'=>0)); php > $p...
-
Yes, in general Batch API does not reduce the consumption of rate limits. This is because on the backend we still have to do the same amount of work to make N updates, whether it's in one API ca...