DropBox Cloud Storage is quite flexible, has Drop-ins, Datastore API, Sync API, Core API. Here are some examples to get started. As we know, for closed source platforms, the only way to develop is to approach via the SDK way and read the API guides. What we want to tell the new developers should be very clear – it is quite interesting to work with DropBox but as DropBox is itself closed source, unlike OpenStack Swift – one must not waste a huge time behind developing DropBox Dependent Apps.
Basics of DropBox Cloud Storage Webhook
Some of the API responses over HTTP can be tested with our great tool for OS X – CocoaRestClient. You can install
nautilus-dropbox on your Ubuntu desktop or Server :
# add source
echo 'deb http://linux.dropbox.com/ubuntu saucy main'>>'dropbox.list'
# chmod and chown
chmod 644 'dropbox.list'
sudo chown root:root 'dropbox.list'
# move or copy
sudo mv 'dropbox.list' '/etc/apt/sources.list.d/dropbox.list'
# add the key to get validated via apt-get
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5044912E
# install dependencies
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
# update and upgrade
sudo apt-get update && upgrade
# last command to install
sudo apt-get install dropbox
You can create SVN repo in this way :
# note the name
svnadmin create .
# you can use any SVN client to create repository
svn checkout file:///~Dropbox/SVNRepo
svn commit -m "Initial setup (committing trunk, branches, tags)"
svn checkout file:///~Dropbox/SVNRepo/trunk
This is advanced usage but not actually Dropbox Specific – you’ll not get vendor lock-in. You’ll get the pure Webhook tuts here :
DropBox Cloud Storage Webhook and Sample Apps
A sample app that uses web hooks to convert Markdown files to HTML and hosted on free Heroku PaaS can be found here :
The source code of the App is open :
There are quite interesting resources :
These are great for getting used with various types of API and web hooks free of cost.