cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

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.
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
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?