GAE Storage API is a simple key/value HTTP text storage API for Google App Engine. Think Mosso Cloud Files or Amazon S3, although only for unicode text. It's designed to make it easier to use App Engine's Datastore with applications that aren't running on App Engine. It's not for everyone, and it aims to be dead simple to use with as few features as possible.
Potential use cases:
An IRC logging service
API ReferenceSimple Data Service has 3 API calls: GET, APPEND, and REPLACE:
GET retrieves all the text stored under the given key. The key used for GET is the SHA-256 hash of the key used for APPEND and REPLACE. This allows you to keep the key used for APPEND and REPLACE secure while making the GET key public. APPEND appends the supplied text to the already-existing text stored under the current key. If this key does not already exist, APPEND stores the text under the given key. REPLACE replaces the current contents of the given key with the given text. If this key does not already exist, REPLACE stores the text under the given key.
SecurityAs noted above, the key used for GET is the SHA-224 hash of the key used for APPEND and REPLACE. This allows you to keep the key used for APPEND and REPLACE secure while making the GET key public. The "private" key used for APPEND and REPLACE must not be guessable, so use a long one.
Additionally, you should use SSL so that the private key is not snooped in transit. SSL support is currently not available because it is overkill for my needs, but I may add it soon.
ExamplesLet's assume your application is named "party" and you are accessing it through the appspot.com domain. To store "happy" under the private key "lucky", you can use the following URI:
To then retrieve that data, you need to take the SHA-224 hash of the private key "lucky". That is "dec0fc315e36bc2459409270a32bf7c8b888933475eec029d53cd10e". So your retrieval URL is:
Note that you will probably want to use a longer key than "lucky". No minimum length is enforced. You are responsible for generating your own keys.
Test ServerYou can try out GAE Storage API here. Although this service is being used in other production applications, you should not use it in production yourself: you should instead download the source code and either use it as is or embed it in your own application. This way you will have full control over your data through Google's control panel/tools/etc. If this test service is abused I will be forced to protect it, so please be gentle.
Simple Data Service was created by Brandon Thomson for use with some of his own applications. It released under the MIT license and is unsupported software.
These details are provided for information only. No information here is legal advice and should not be used as such.