Questions tagged [boxapiv2]

Box API V2 using oAuth 2.0

Box offers a new API V2, following the oAuth 2.0 protocol. The previous version of Box APIs (V1) has been deprecated in favor of the new V2 API as of January 2014.

152 questions
1
vote
1 answer

Box Api - How to Get user details who commented a file

I have a scenario in Box of commenting a file using Box Api. I have used Box api to add a comment. When displaying all the comments, it shows commented person name same for all comments. How should I add a comment to differentiate who has commented…
user3211705
  • 2,418
  • 3
  • 19
  • 36
1
vote
1 answer

Upload File Using Url to Box content-api

I did some research and i couldn't find any information regarding this, I know that box content-api call to upload needs to be form-data is there way to upload file via giving a url of the file? like for example i want to save this…
JuHyun Lee
  • 157
  • 1
  • 10
1
vote
2 answers

Python Box-SDK JWT Exp calculation off?

I'm using the Box API's and trying to integrate using the Box SDK but am running into errors authenticating. For some reason my JWT auth keeps failing and I run into this: BoxOAuthException: Message:…
Kumar
  • 11
  • 1
1
vote
2 answers

How to create folder in box using App Users?

I am trying to create the folders in box by using the App Users. I already created the App User by following the below link given at box documentation: https://box-content.readme.io/docs/app-users But when I try to create the folder by following the…
1
vote
2 answers

Change folder ownership in Box

We have a situation where we have 2 users, UserA and UserB. I want to transfer all the files and folders of UserB to UserA. We are using collaborations API to perform this task. But getting following…
Abhishek
  • 621
  • 1
  • 8
  • 19
1
vote
1 answer

Minimum Date supported by Box.com

Anyone knows the minimum date vale supported by api.box.com for search by created_range and modified_range The URL for the same is: https://box-content.readme.io/#searching-for-content
Hiren Kagrana
  • 912
  • 8
  • 21
1
vote
1 answer

How to set automatic deletion of folder with Box REST api V2?

I want to set automatic delete date for a folder in Box through REST api. I don't see any option for it now? Is it possible through Box v2 api?
Pushpan
  • 11
  • 1
1
vote
0 answers

upload file in box api with multipart/form-data in c#

I am trying to upload file in box using box api its Give me Error is Bad Request whats wrong in this code please help me public static FileDetails PutFile(string token, byte[] filebytes, string FolderId, string filename, string filecontentType) …
Krupit Patel
  • 68
  • 10
1
vote
1 answer

"As-User" header enabled with our enterprise admin account with Box.com [BOX-API.V2]

I got "As-User" header enabled with our enterprise admin account with Box.com to impersonate other users and trying to use the previously generated token without refreshing/regenerating every time. When I am trying to connect Box.com thru my vb.net…
1
vote
1 answer

User's last login time?

I'd like to know when a given user last logged in. It seems that the User object doesn't include this information (creation and modification only). Should I look to leverage the Events API (seems inefficient) or am I missing something obvious?
rayvd
  • 15
  • 3
1
vote
1 answer

Box Api : Adding User Group as Collaborator return 403 Forbidden

I am trying to add collaborators through Box API, but when I am adding a user group, the api request return status 403: Forbidden. Here is the request attributes i'm passing: {"item": { "id": "3907701373", "type": "folder"}, "accessible_by": {"id":…
nix
  • 3,262
  • 2
  • 21
  • 36
1
vote
1 answer

Box API 502 Server Connection Closed

I'm uploading several thousand files through the Box API, and after a few hundred uploads I'm getting a 502 Server Connection Closed error (and the response is HTML, not JSON as I would expect). Average file size is 0.5M The errors seem to be mostly…
troyastorino
  • 235
  • 4
  • 13
1
vote
2 answers

Box View API : Is it possible to upload a file directly?

I was wondering if it is possible to upload a file directly to be used with the Box View API without saving it on my local server. The idea is users will be able to upload a file (pdf, ppt. etc) and it will be used only with the Box Viewer and not…
1
vote
1 answer

C# Box-API [net_WebHeaderInvalidControlChars] received when downloading a file with Korean filename or when the file is corrupted

I received the following error when downloading from Box server: InnerException {System.ArgumentException: [net_WebHeaderInvalidControlChars] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide…
1
vote
0 answers

Box iOS SDK Issue: [BoxAPIMultipartToJSONOperation respondsToSelector:]: message sent to deallocated instance 0x1707a32c0

I get this error from the box sdk when I try to upload a file. It never occurs on the first upload. Always on the second upload. (I upload 25 files, I upload 25 again and this memory error pops up) I tracked the problem down to box code with…
yvanscher
  • 1,009
  • 1
  • 13
  • 16
1 2
3
10 11