cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We recently received a question asking for advice on how to set up a Dropbox account for an elderly family member. This prompted us to think about the different ways we can make Dropbox more accessible in general, learn about it and add your tips right over here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

API v2

API v2

Marcos_Soares
Explorer | Level 3

My app send me a "v1_retired" message when i try to upload a json file. The command is:

 

$http({method: 'PUT', url: 'https://api-content.dropbox.com/1/files_put/dropbox/'+G_NomeUsuario+'/avisos.json?access_token='+G_A...: data  

 

What do i have to do to fix it?  

Thanks. Marcos.

5 Replies 5

Re: API v2

Rich
Super User II

You need to update your app to use the newer API v2. I'm moving your post to the API forum.

Re: API v2

Greg-DB
Dropboxer

@Marcos_Soares Rich is correct, your code uses API v1, which is retired, so the call will fail. You should migrate to API v2 instead. For example, the equivalent of /1/files_put is /2/files/upload.

 

By the way, if you need more time to migrate your app to API v2, we can offer an extension for access to API v1. To request that, please open an API ticket with the relevant app key(s).

Re: API v2

Marcos_Soares
Explorer | Level 3

Do I have only to change the path? What else do i have to do? There is a step by step way to do it?

 

Thanks.

Marcos.

Re: API v2

Greg-DB
Dropboxer
API v1 and API v2 offer different interfaces, so you will need to update your code. There's a migration guide here:

https://www.dropbox.com/developers/reference/migration-guide

Re: API v2

Marcos_Soares
Explorer | Level 3
Ok, i finally get my app working with the API v2. Thanks Greg.
Who's talking

Top contributors to this post

  • User avatar
    Marcos_Soares Explorer | Level 3
  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Rich Super User II
What do Dropbox user levels mean?
Need more support?