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
0
votes
2 answers

How do I get a thumbnail of a certain size from an image file using Box Java SDK?

I can currently retrieve a thumbnail of an image file just fine with the following code: BoxImageRequestObject obj = null; thumbnail = client.getFilesManager().getThumbnail( entryId, fileExtention, obj ); However, the thumbnail obtained is too…
scottel
  • 3
  • 1
0
votes
1 answer

Box IOS SDK V2 cancel download/upload operation

I'm using the objective-c box SDK to manage files using the dedicated method [[BoxSDK sharedSDK].filesManager downloadFileWithID:fileID outputStream:outputStream …
Sylverb
  • 939
  • 6
  • 14
0
votes
1 answer

box-java-sdk-v2 OAuth token in a Web Server scenario

I was looking at Box's Java SDK at https://github.com/box/box-java-sdk-v2 I saw a sample snippet String url = "https://www.box.com/api/oauth2/authorize?response_type=code&client_id=" + key + "&redirect_uri=http%3A//localhost%3A" + PORT; try { …
0
votes
1 answer

Integrating Box-Sdk with iOS application

I am working with an iOS application in which i have to authenticate with help of BOX-SDK for iOS and then upload images on Box. Firstly i used the sample app of BOX-API by Mr. lopopolo and upload images with that. Currently i want to integrate the…
Roshi
  • 41
  • 7
0
votes
0 answers

Uploading images on Box from iOS Application

I am working with an iOS application in which I have to upload images on Box Service. After authentication process when I uploaded images from the NSBundle, it uploaded successfully. when I uploaded from a path image get uploaded but only file is…
Roshi
  • 41
  • 7
0
votes
1 answer

Box Java SDK: How do I configure HTTPUrlConnection for file upload?

I am developing an app that utilizes the Box Java SDK (Box Api v2). Due to our architecture, I need to upload files via the REST api. Apparently, I am having trouble getting the HTTPUrlConnection configured correctly. Here is my code: URL…
0
votes
2 answers

Archive Mac App using BoxSDK not found

I have a Mac and iOS app that is using v2 of the BoxSDK. The BoxSDK is integrated as a framework and the iOS app builds and archive fine. The Mac app fails to archive with the following error: Lexical or Preprocessor…
jeffbailey
  • 137
  • 6
0
votes
1 answer

Move Folder into Another User’s Folder with Box API

In the Box API document, there is this section about "Move Folder into Another User’s Folder". I tried to follow the instructions there but it did not seem to work for me. This is what I did: I logged in as a co-admin of my Box account, I used the…
0
votes
1 answer

Box upload files using ajax

I try to upload a file using Box.com API from https://gist.github.com/seanrose/5570650. I received the following error: `XMLHttpRequest cannot load "https://upload.box.com/api/2.0/files/content". No 'Access-Control-Allow-Origin' header is present…
Ortal Blumenfeld Lagziel
  • 2,415
  • 3
  • 23
  • 33
0
votes
1 answer

Folder ID when creating folder using Box API

I'm using the BoxPHPAPI and I was wondering if there was a way to get the folder ID when creating a folder? https://github.com/golchha21/BoxPHPAPI
user2901453
0
votes
2 answers

Box Issue when "Deny Access" is selected in Box window(frame)

I am integrating Box.com with my application. My flow is when the employee login for the very first time, he will be presented with Box Page in an frame (Please note I am not using Box Embed Widgt as such). After entering the valid username and…
0
votes
1 answer

How can use Box.API with Asp.Net web service?

I have used asp.net(c#) web service for my project. I am calling save file function from front end adobe flex environment. My files are exists on web service folder. My web application is an intranet application and currently used google docs api…
Mohit
  • 11
  • 6
0
votes
1 answer

Box Java SDK - SSL Error in running hello world program

I downloaded the latest Box Java SDK from https://github.com/box/box-java-sdk-v2 and followed the instructions in Readme to run the example HelloWorld program. I updated my client ID and secret key in the program and executed "ant run". The browser…
Sridhar S
  • 73
  • 4
0
votes
1 answer

iOS BoxItem parent/pathCollection is always null

I am trying to use the BoxSDK on iOS, and I need to load the parent directory of the current folder/file. I have an array of BoxItems, and I try to get the BoxItem.parent and it is always null. The same goes for the pathCollection. When the app…
Siriss
  • 3,737
  • 4
  • 32
  • 65
0
votes
1 answer

Passing a bitmap/uri to Box Android API v2

EDIT: I wrote a function passing the Authenticated Box Client and Bitmap Bytestream. Was also informated the root directory on Box has an ID of 0. But I'm still unable to upload. What I need to do is create a directory, if present don't and upload…
Arnab Saha
  • 511
  • 6
  • 15
1 2 3
10
11