Questions tagged [box-api]

Questions about the API provided by Box, Inc. for their online storage service.

The Box API lets you create applications and web sites that integrate with Box. By leveraging Box's RESTful API, you can add simple, yet secure file management, sharing, and collaboration to your app.

Please consult http://developers.box.com for full API documentation.

Box, Inc. was formerly known as Box.net.

1055 questions
0
votes
2 answers

With the Box v2 API, how do I set the current (top) version?

Using the v2 Box API, how do I set the most recent version of a file? This is with a premium account. I see that there is the /versions resource, for downloading a specific version of a file, and that now works. But, If I want to progmatically set…
PaulPerry
  • 906
  • 5
  • 14
0
votes
1 answer

Box: Send state along with authorization url and receive it back in redirect url

The authorization link for Box looks something like: https://www.box.com/api/1.0/auth/ticketName I've tried to include state in this manner: https://www.box.com/api/1.0/auth/ticketName?state=1234 But the redirect url is formatted like…
benkdev
  • 673
  • 2
  • 16
  • 32
0
votes
1 answer

Box.Net API v2.0 Moving File on Service Action

Building a workflow that allows a file to be dynamically moved via user input (renames, the whole works). Using the Service Action, a web service will rename and move the file based on user input fields and some other behind the scenes processing.…
0
votes
2 answers

Error when authenticating Box app with Enterprise account that uses SSO

I am developing an app against an Enterprise account that has SSO enabled. When I authenticate, it will accept just my email address if I am already authenticated with Box in my browser session. All looks good, and I get the message via Box…
Gavin
  • 13
  • 2
0
votes
1 answer

Is it possible to retrieve a file or folder resource by path?

Is there any way to get information about a file or folder on Box, given it's full path, but not ID? For example, I'd like to check if /Foo/Bar/test.txt exists on Box. Currently, I have to start at the root and recursively walk through each folder…
Collin Dauphinee
  • 13,664
  • 1
  • 40
  • 71
0
votes
1 answer

Box Rest APIv2: Download Deleted File returns 500: Internal Server Error

I'm unit testing my code with the APIv2. The scenario is as follows: Upload new file, say it returns id "12345" Delete the new file Try download the deleted new file id "12345" Result: 500 Internal Server Error I know it shouldn't really happen,…
metric
  • 193
  • 1
  • 2
  • 9
0
votes
1 answer

Are there paging mechanisms in the box v2 API?

I'm looking at the APIs for things like retrieve a folder's items and retrieve the discussion's comments and I don't see any paging mechanisms. Am I missing something, or is there a reason why they aren't there ?
0
votes
2 answers

Upload size limit

I tried to upload big files to box.net (box.com) with API. I see that there is upload size limit . For me it is 100MB. If i upload file with size exactly 100MB (104860224 bytes) then file is not accepted. If less then upload works. I wanted to ask…
Roman Gelembjuk
  • 1,797
  • 2
  • 25
  • 50
0
votes
1 answer

Should I ignore the HTTP status code in the Box API's responses?

I've recently noticed that when I attempt to upload a file with a name that already exists, Box returns me an error with a HTTP status code of 201 (Created), but the error JSON's "status" member is 409 (Conflict). Should I be ignoring the actual…
Collin Dauphinee
  • 13,664
  • 1
  • 40
  • 71
0
votes
2 answers

Use curl instead of browser to get auth_token

Looking at: http://developers.box.com/get-started/#authenticating on step #2 I'm trying to use curl to enter the credentials (user/email/password) to get the auth_token. I'd rather do it this way instead of directing the user to their browser…
ikwyl6
  • 851
  • 1
  • 7
  • 12
0
votes
1 answer

Security sandbox violation cannot load data from box.net

I have an application which upload/download files to/from box.net. the application works fine when not deployed on server but when I deploy it on Google App Engine the following error is encountered. Error #2044: Unhandled securityError:.…
0
votes
1 answer

How do I deploy my box.net application

I have create an box.net application according to the documentation. Now, I would like to share the application with my colleges. Does anyone knows, how I can make it? IMPORTANT, I dont want to deploy it in public. Thanks in advance
0
votes
1 answer

Ruby Multi-part Form Upload with RestClient

I'm working on a ruby application, and am trying to upload a file to box.net. I have it working with the curl call curl https://www.box.com/api/2.0/files/data -H "Authorization: BoxAuth api_key=&auth_token=" -F folder_id=0 -F…
Pyro2927
  • 1,112
  • 9
  • 18
0
votes
1 answer

How to revoke application permissions using Box API 2.0

I'm ok granting permissions to an app using Box API 2.0. But I'm in the need to let users revoke given permissions. TIA
chok68
  • 875
  • 9
  • 10
0
votes
1 answer

How can I get the shared Link via API in Box.net

I used the get_account_tree parameter and looped trough the output to get the value of the shared_Link value. However, it does not work. I also used get_collaboration_link but no success. How can I store the shared_Link to the box.net?