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

Best way to get users folder using as-user in new Box Java SDK

Per Box example easy way to get user's root folder using below code http://opensource.box.com/box-java-sdk/ BoxAPIConnection api = new BoxAPIConnection("your-developer-token"); BoxFolder rootFolder = BoxFolder.getRootFolder(api); for (BoxItem.Info…
Chuck
  • 53
  • 5
1
vote
3 answers

Struggling with Box V2 API to upload a file via PHP

After feeling comfortable testing the Box API via postman I am now struggling to run the curl requests from a php file. I can run some of them, but I cannot figure out how to convert the the file upload request described at…
gabrieles
  • 29
  • 5
1
vote
1 answer

How to get refresh token in Box Windows SDK v2

I am new to dot net MVC and I am working on a application which required Box integration, in which user authorizes our application using oauth2 authentication flow. I get the access token and refresh token and save them to my database for further…
Mohit Gupta
  • 109
  • 1
  • 1
  • 11
1
vote
1 answer

Box refresh token expiry on user in-activity?

We have a system in which the administrators of different box accounts give our app the permission to access their company accounts. In Box API documents, we see that the refresh tokens expires - Till used - 60 days of inactivity I want to know…
auny
  • 1,920
  • 4
  • 20
  • 37
1
vote
1 answer

Create path Box android SDK

I'm trying to create file path with Box-v2 android API i found couple of workarounds but all of them is so slow. What is the proper way for creating a file path with android Box SDK for ex; on user's box directory : "/User Folder/1/2/3" i would like…
Nande kore
  • 784
  • 1
  • 8
  • 16
1
vote
1 answer

Upload file to box error

I am trying to upload a file to box based on the api here: https://developers.box.com/docs/#files-upload-a-file, and I always get a "bad request" error. Where is the problem? url = https://upload.box.com/api/2.0/files/content data =…
user990635
  • 3,979
  • 13
  • 45
  • 66
1
vote
2 answers

How to use redirect URI with OAuth2.0 and Box for my Android application?

I have an Android application that makes use of the Box sdk. The Box functionality has been broken for a while as I'm finally getting around to updating to the most recent version of the sdk. When I try to authenticate a user from my application…
ab11
  • 19,770
  • 42
  • 120
  • 207
1
vote
1 answer

Looping through all Folders and Sub Folders to get the files of Box

I have setup a folder that is shared and can be accessed without being logged into Box. Is there a way to loop through the folders and sub folders to get the files from Box without having me to provide an api key or token? I am trying to do this in…
vikasde
  • 5,681
  • 10
  • 45
  • 62
1
vote
0 answers

Uploading Multiple images on Box from iOS application

I am currently working on an iOS application in which i have to upload multiple images on Box,after authentication process. when i select more than 5 images at a time it always upload 5 images and more than 5 images stop uploading. Error messages…
Roshi
  • 41
  • 7
1
vote
2 answers

How can add/Remove tag using Box.com API

I am using .net library of https://github.com/jhoerr/box-csharp-sdk-v2 I am able to update the description for file/folder Now i want to create tag information using api. can anyone help me how can i add/remove tag?
Mohit
  • 11
  • 6
1
vote
1 answer

Box-api development interface in the application pages

I have a Box.net (.com) account and wanted to create an application in Box. I looked around the admin pages but can't find it. I know it is possible, but I can't find it in the Administrative application pages. Where can I find it?
Cindy Langdon
  • 611
  • 6
  • 12
1
vote
1 answer

box SDK Api V2 for Windows

Is https://github.com/box/box-windows-sdk-v2 the current SDK repo for Box V2 for Windows? It seems the Java version is currently active, but that repo hasn't been updated in the last 5 months. Maybe it didn't need update? ;)
Alexandre Santos
  • 8,170
  • 10
  • 42
  • 64
1
vote
2 answers

Box Get an Access token with ajax

I need to get the Access Token in ajax, the following example is in Curl how can i do the same in ajax call? curl https://www.box.com/api/oauth2/token \ -d…
Ortal Blumenfeld Lagziel
  • 2,415
  • 3
  • 23
  • 33
1
vote
1 answer

iPhone - Box SDK/API 20000 error followed by 20002 Error - Authentication tokens are not refreshing

I have seen a lot of different posts about how to solve this problem, but I have had no luck. I have tried the heartbeat solution, and it does nothing. I know that my keychain is storing my refresh token, but it is not serving any use. Steps: Start…
Siriss
  • 3,737
  • 4
  • 32
  • 65
1
vote
1 answer

Box API V2 generation of new RT/AT during user create/update

Using the Box API V2, is there any combination of errors in the fields which would cause valid and non-expired refresh token or the access token to become invalid? Errors such invalid values for fields or maybe the frequency of retries, such as…
Alexandre Santos
  • 8,170
  • 10
  • 42
  • 64