On Wed, Apr 28, 2010 at 1:38 PM, Felix Nensa <
felix...@gmail.com> wrote:
> It is not in the market yet. I thought of waiting with that until it
> its a bit more "complete" and has a license attached (btw. which one
> would be appropriate?).
> But I think its a great idea to put it on
geomena.org for download.
Good idea on waiting before putting it out into the market.
The APK for those reading this email is available at
http://geomena.org/clients/geopipe-2010-04-28.apk
The current POST destination is for an HTML form. It is a key/value
pair with no hierarchy - ?a=b&c=d. I'm thinking the 'real' API is a
post with a json blob at the payload.
POST
http://api.geomena.org/v1/observations
post body is json:
{
"latitude":"45.5554251645006",
"mac":"00:1b:63:2c:bc:4d",
"longitude":"-122.62548923492432"
}
like the twitter 'user annotations' what ever data is posted under
5kbytes or so gets stored into the document database. so maybe a full
payload would look more complex like
{
"latitude":"45.5554251645006",
"mac":"00:1b:63:2c:bc:4d",
"longitude":"-122.62548923492432"
"rssi": "-80"
"encryption": "open"
"x-geopipe": { authentication: "oauth",
username: "bob",
version: "24-Apr-2010" }
}
and the result is a json status blob (inspired by couchdb)
{ "status":"OK" }