box-api

BOX-API upload file form

非 Y 不嫁゛ 提交于 2019-12-25 12:23:34
问题 i'm trying to upload a file in BOX_API with php and Zend framework. But i'm missing somethin. It's the first time that i use an interface like this o i've read the manual. But it is confusig for me. My question are two: -First, why do you have to pass to the post call only the name of the file and not the whole file with the right header for file upload? File upload in a form is not like passing the name of the file through a post call; -secondly and consequently, do i have to make a form for

BOX-API upload file form

纵饮孤独 提交于 2019-12-25 12:22:50
问题 i'm trying to upload a file in BOX_API with php and Zend framework. But i'm missing somethin. It's the first time that i use an interface like this o i've read the manual. But it is confusig for me. My question are two: -First, why do you have to pass to the post call only the name of the file and not the whole file with the right header for file upload? File upload in a form is not like passing the name of the file through a post call; -secondly and consequently, do i have to make a form for

How do I get text data from OAuth callback?

[亡魂溺海] 提交于 2019-12-25 11:15:11
问题 I am having an issue with the response I am getting when I try to get the authorization code I need to start the authenticated client. The response appears (at least to me) to be some sort of binary data, (with one or two recognizable string fragments in it), but I have no idea how to deal with it. The code from the API's 'hello world' program seems to be parsing this data as a string, but when I try it, it fails because it isn't in the expected format. This is adapted from the 'Hello World'

Folder/File smart link enable/disable call in Box V2 API

♀尐吖头ヾ 提交于 2019-12-25 07:48:25
问题 Recently an article on the box dev blog talked about an update in the V2 API functionality. http://developers.blog.box.com/2012/07/13/more-v2-updates/. I am specifically talking about the share link for file/folders. The article says the API can be used to create/delete share links and also change the permission.But i do not see any such API on the http://developers.box.com/docs page. Does anybody have any idea about this discrepancy? Is this available now in V2 or not? 回答1: Smart links are

How can I create a custom Box application to move content directly into an MS-Access database?

a 夏天 提交于 2019-12-25 04:22:25
问题 I would like to automate content delivery from box.com, directly into an MS-Access 2013 database app. Is it possible to do this? What ingredients are needed to accomplish this objective? EDIT: A typical scenario is I have several law firms that handle personal injury cases. Their clients doctors, insurance companies, etc. put content (mainly PDF documents) into the box upload folders so that I can distribute them to the corresponding law firm that represents each client. I have an Access 2013

Filter folder listing based on date

こ雲淡風輕ζ 提交于 2019-12-25 02:29:29
问题 The current folder listing API call responds with all the contents/items of folder. I have a requirement to filter the contents of a folder based on date. For example I would like to list all the files that were updated/created after 10/05/14 or files updated/created between 2/05/14 to 4/05/14. Instead of listing all the items of a folder. Can you kindly let me know if this is already supported in BOX api calls? 回答1: You can do this via the search API. See both the blog post here, as well as

Java Equivalent of curl query

邮差的信 提交于 2019-12-25 02:28:42
问题 I am trying to fetch current user info after making him log into his box, using the box sdk for android. In the box api documentation, they have mentioned everything using curls. I am not familiar with curl. So, can anyone please give me a java equivalent for this curl operation : curl https://api.box.com/2.0/users/me-H "Authorization: Bearer ACCESS_TOKEN". I have the users access token.So, please give me a java equivalent for the above curl operation. 回答1: You can use java HttpClient

Simple Application to support uploads to box.com

谁说我不能喝 提交于 2019-12-25 02:17:05
问题 I am trying to create a simple box.com application that will support folder creation and file uploads from our application to box.com for use by multiple box.com users. I have a couple of questions: For testing, I create a new application and specified that I did not want it to be public (while we develop it). But I can't add it to my test user account because I can't find it - so how can I test it? How do I add it to my end user box.com account? The idea is to have the box.com user enter

BOX API v2.0 search feature

橙三吉。 提交于 2019-12-24 13:15:38
问题 Does the API v2 support the search feature? Couldn't find it in the documentation. When will it be supported? 回答1: The V2 API does not yet support search. It is on our roadmap to have before we take the V2 API out of Beta and make it GA. At this point we don't have specific timing on when the Search API will be released, but it should be sometime in the next month or two. 来源: https://stackoverflow.com/questions/12141560/box-api-v2-0-search-feature

Box Api v2 SSL Version Python

走远了吗. 提交于 2019-12-24 11:07:36
问题 Looking for some information regarding an SSL error while trying to get an auth token via box.net api v2.0 . I'm using Python 2.7, OpenSSL 1.0.1c, and the requests library. payload = {"action":"get_auth_token", "api_key":self.box_apikey, "ticket":self.box_ticket['status'], "verify":False} r = requests.get(self.box_secure_endpoint+"rest", params=payload) File "/usr/lib/python2.7/site-packages/requests/api.py", line 65, in get return request('get', url, **kwargs) File "/usr/lib/python2.7/site