Hi,
I'm trying to make a /shares call from Zoho Creator to dropbox using the HTTP Core Api, could someone please provide an example of the <path> needed?
https://api.dropbox.com/1/shares/auto/<path>???
Thanks,Damien.
The path in the API call should just be the path to the file in the Dropbox that you want to operate on. In this case, if you want to get the shared link for a file named "example.txt" in a folder named "Documents", the path would be "/Documents/example.txt".
Note that apps using the app folder permission implicitly have a root of the app folder, so you don't need to do anything special in that case. For example, if your app has the app folder permission and you wanted to access a file in the app folder named "example.txt" in a folder named "Documents", the path would still be "/Documents/example.txt" (even though on the web site you would see it at /Apps/MyAppName/Documents/example.txt.)
So my post url will look like "https://api.dropbox.com/1/shares/auto/<FolderName>/<FileName>"?
That's correct.
And for further example, if the file is in the root, it's just:
https://api.dropbox.com/1/shares/auto/<FileName>
Or if it's multiple folders deep:
https://api.dropbox.com/1/shares/auto/<FolderName1>/<FolderName2>/<FolderName3>/<FileName>
Greg,
Thank You, I have eventually got it working.
Damien.