I am trying to use BOX content api's to find and download content from box from an external app.
The idea using my custom app to search and retrieve content from box. For example take HTML file and load to local or cloud platform / system. So the BOX part from what I can tell should work like this
- create a box app using OAuth2.0 with JWT
- create and sign a JWT
- Use this JWT as assertion and request a token (https://api.box.com/oauth2/token)
- Use that token to perform requests (such as /2.0/search). Specify the token in authorization header for calls.
Using this method and then performing requests ... it returns expected data when using developer token.... but not when generating the token. For example I search for a file that I know exists....
JSON result using app generated token:
{
"total_count": 0,
"entries": [],
"limit": 30,
"offset": 0
}Using developer or BOX UI auth
{
"total_count": 73,
"entries": [
{
"type": "file",
"id": "]
...tons of data here :)...
}
],
"limit": 30,
"offset": 0
}


