buddycloud HTTP API deployed – Try it!
After some fumbling around (and one or two failed attempts – thanks to Simon Tennant for his patience :)), I finally managed to deploy the HTTP API server I’m working on to buddycloud.org. This means you can start playing around with it now!
For starters, the API lets you view every buddycloud channel as an Atom feed with a simple HTTP URL. For instance, the posts of the email@example.com channel, on which much GSoC-related discussion takes place, is made accessible as https://firstname.lastname@example.org/posts. Go ahead and try out the link – the channel is public and thus doesn’t require authentication. This is how it is displayed inside of Firefox on my PC:
If you have an account at beta.buddycloud.org (it’s trivial to set one up if you don’t – you only need to supply a username, password and e-mail address), you can also use the API to post to a channel. For instance, here is how you can greet us with a post to the “lounge” channel by using cURL:
curl -u YOUR_USERNAME@buddycloud.org:YOUR_PASSWORD --data-binary "<entry xmlns='http://www.w3.org/2005/Atom'><content>Hey</content></entry>" https://email@example.com/posts
More details can be found on my project’s wiki page. Have fun!