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
1 answer

Getting all locked files using the BOX API (BOX.com)

I am trying to find a solution to search/list all locked files in BOX (BOX.com). As this seems not to be possible through the user-interface, I investigated the Rest API. I cannot find a way to search for all locked files using the API. I cannot…
0
votes
2 answers

box.net API oauth refresh token without coding

I have the box.net API client_id and client_secret . I want to get a refresh token for some box account but i don't want to create the app for it. what is easiest way to get the API refresh token and start using the API? maybe there is some app…
Roman Gelembjuk
  • 1,797
  • 2
  • 25
  • 50
0
votes
1 answer

Get all users/groups having access to a collaboration : BOX API

Is there a way to retrive all the users/groups having access to a collaboration : BOX API?
Sivakumar
  • 305
  • 1
  • 14
0
votes
1 answer

How do I get the comments added to a comment in the in the Box REST API?

How do I get the comments added to a comment in the in the Box REST API? For example, how would I return the comments (marked in red) for the comment (marked in black)?
Jannes
  • 117
  • 2
  • 10
0
votes
1 answer

About picture's thumbnail which returns from BOX

In old BOX API, I have shown the thumbnail as this method. However, recently, taking of the thumbnail fails. It seems that there is no declaration of mime-type in…
Tank2005
  • 899
  • 1
  • 14
  • 32
0
votes
1 answer

Is it possible to set the order of returned folder item's in the Box REST API?

The response has the order the results were returned in, but is it possible to set the order in the request? It is possible to set the limit and offset when executing the Get a Folder’s Items, but this functionality seems incomplete if the order…
Jannes
  • 117
  • 2
  • 10
0
votes
2 answers

Having trouble uploading files with Box.com API

I am new to programming and learning python, so please bear with me, I appreciate the help.... I am working on a project where I need to upload files to storage services and I am currently trying to use the box API. I am trying to work with the…
Steve-O
  • 387
  • 1
  • 4
  • 10
0
votes
1 answer

How do I upload a file using the Box API using app credentials?

I want the user to upload to our server and have our server then upload the file to a specific folder in Box using the API. How can I do this? What credentials should I use? curl https://app.box.com/api/oauth2/token \ -d…
Tom Wu
  • 24
  • 4
0
votes
1 answer

Custom header not included in the http post request

Box.com's Enterprise User Provisioning API requires OAUTH2 token in the header of the request ("Authorization: Bearer faKE_toKEN_1234"). I've ran the code below against http://www.xhaus.com/headers, http://httpbin.org/post and…
Lunar Remedy
  • 37
  • 2
  • 9
0
votes
1 answer

Provision Grant - Events (Java)

Given many users using Provision Grants, how do I determine from the event stream which event corresponds to which grant? If any file changes underneath the root folder of the Provision Grant I want to respond to that change, but I need to be able…
Joel
  • 2,601
  • 4
  • 33
  • 44
0
votes
1 answer

A connection that was expected to be kept alive was closed by the server

We are using Box.V2.Sdk to upload files to box.com using the following code Function UploadToBox(ByVal attachedFilename As String, ByVal stream As System.IO.Stream) As Boolean Dim clientID As String Dim clientSecret As String Dim…
blue piranha
  • 3,706
  • 13
  • 57
  • 98
0
votes
1 answer

Set tags on BoxFile using Box Android SDK v2

I want to set tags on a file I am uploading using the Box Android Library v2. As far as I can tell you can only getTags from a file but there is no API method to set tags on upload or later. The only implementation of setTag that I found is in…
Iñaqui
  • 251
  • 4
  • 9
0
votes
1 answer

Socks proxy failure with camel-box component

I've got the camel-box component working well via the corporate web proxy but it is very slow. I tried using the socks proxy instead, which works well for me for sftp transfers but it fails with almost no useful error message. Just an exception…
Julian
  • 1,522
  • 11
  • 26
0
votes
1 answer

How dynamic is the Box /search API?

I'm using the Box search API to try to locate files on my Box account. I'm finding that when I move files around, even though those files are on my account on the server, when I search for them, they are not found. They were found in the original…
Mike Kaply
  • 747
  • 3
  • 12
0
votes
0 answers

How to pass data into a Listener when using Guzzle?

I am using Guzzle 3.8.1 with CakePHP 2.5.6 and I am making a call to the Box API. I would like to be able to refresh my access token when it expires. The issue I am encountering is that I may be using any one of N possible access tokens and I want…