Forum Discussion
Dan L.10
10 years agoNew member | Level 1
API v2 feedback: files' ".tag" attribute extremely unfriendly for HTTP/JSON
I'm using v2 of the HTTP API and wanted to pass along some feedback.
When I hit a files list from an endpoint like files/list_folder, I get a JSON response like this:
{ entries: [ { '.tag': ...
That `v1_retired` error does indicate that you're attempting to make an API v1 call, which is retired:
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
You should update your app to use API v2:
https://www.dropbox.com/developers
There's a migration guide here:
https://www.dropbox.com/developers/reference/migration-guide
All Dropbox API calls, both API v1 and v2, must be made over SSL/TLS, though this doesn't mean that your site itself needs to be served over https.
The OAuth 2 app authorization flow doesn't allow http:// for redirect URIS though, so if you don't have an https:// redirect URI, you can omit the redirect URI entirely when using the 'code' flow:
https://www.dropbox.com/developers/documentation/http/documentation#authorization
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/
You should update your app to use API v2:
https://www.dropbox.com/developers
There's a migration guide here:
https://www.dropbox.com/developers/reference/migration-guide
All Dropbox API calls, both API v1 and v2, must be made over SSL/TLS, though this doesn't mean that your site itself needs to be served over https.
The OAuth 2 app authorization flow doesn't allow http:// for redirect URIS though, so if you don't have an https:// redirect URI, you can omit the redirect URI entirely when using the 'code' flow:
https://www.dropbox.com/developers/documentation/http/documentation#authorization
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,966 PostsLatest Activity: 2 days ago