mixin API is RESTful, it means that you just need to know resources’ URIs and arguments in order to fully interact with our site.
REST is a Resource Oriented Architecture (ROA) which brings HTTP to its full potential. In a world of resources, you can interact with those with HTTP verbs: GET, POST, PUT and DELETE are the ones handled by our API in order to retrieve, create, modify and delete a resource (respectively).
Note
We use our API as our internal backend for AJAX requests.
There is much more to say on this topic but let’s focus on a concrete example which fits with our service: events.
Once you have an OAuth Access Token, you can retrieve a list of private events for a given user:
http://feed.mixin.com/users/{userid}/rss/user/
From this response, you can fetch those elements one by one because you know the URIs of each event:
http://www.mixin.com/events/{eventid}/json/
If you want to delete this event, just use the DELETE HTTP verb with the same URL.
That’s enough for now, it’s time to go to the authentication page. Thanks for your interest!