You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Jiho P.
10 years agoExplorer | Level 3
Dropbox Account Id vs UID
Hello, I'm using Swifty dropbox and wanted to know the difference between accountId I get from getAccountId() call vs. the userId set in my shared client.
Thanks in advance!
Greg-DB
Dropbox Staff
No, API v2 does not offer a way to get the v1 user ID.
Steve L.
8 years agoHelpful | Level 6
I have no problems changing to use the accountID going forward, but it would be very helpful if there were a way to get the V1 userID (read-only) for those who have thousands of existing installs that use the Dropbox V1 userID as a primary key. As things stand there's no way to associate existing users with their data.
- AEmery8 years agoExplorer | Level 3
Another problem I'm running into with the removal of the userID is that the URL to a file revision history is using this userID. These URLs are in the following format: https://www.dropbox.com/history/[PATH_TO_FILE]?_subject_uid=111111111. Is there another way to generate them now that API v2 no longer returns the userID?
- Greg-DB8 years agoDropbox StaffThanks for the feedback everyone!
No, unfortunately there isn't a way to get these IDs or generate these links, but I'll be sure to pass this along as a feature request.- Tony0018 years agoExplorer | Level 4
We are finishing up our API migration, and hit a bit of a snag here. The solution for mapping old account IDs (uid) to new account IDs (account_id) seems to be a proactive call to the V2 API with an existing token to retrieving account_id. Is this correct?
Does this mean that we need to get every user (we have tens of thousands) to use our app in some way so we can piggyback a call to get account_id before the V1 api is shut off? If a user takes a hiatus from our app and then tries to use it after the V1 API shutoff, there would be no way to associate the IDs at that point, correct?
I don't suppose there is a way for you folks to add uid to the get_current_account return?
Barring that, is there a better way to do this to prevent some users being caught on the outside of the transition?
Will existing tokens remain valid after the V1 shutoff?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,916 PostsLatest Activity: 2 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!