- post "/account/verify_credentials.json", TwitterAPI.Controller, :verify_credentials
- post "/statuses/update.json", TwitterAPI.Controller, :status_update
- get "/statuses/friends_timeline.json", TwitterAPI.Controller, :friends_timeline
- post "/friendships/create.json", TwitterAPI.Controller, :follow
+ get "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
+ post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
+
+ get "/statuses/home_timeline", TwitterAPI.Controller, :friends_timeline
+ get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline
+ get "/statuses/mentions", TwitterAPI.Controller, :mentions_timeline
+ get "/statuses/mentions_timeline", TwitterAPI.Controller, :mentions_timeline
+
+ post "/statuses/update", TwitterAPI.Controller, :status_update
+ post "/statuses/retweet/:id", TwitterAPI.Controller, :retweet
+
+ post "/friendships/create", TwitterAPI.Controller, :follow
+ post "/friendships/destroy", TwitterAPI.Controller, :unfollow
+
+ post "/statusnet/media/upload", TwitterAPI.Controller, :upload
+ post "/media/upload", TwitterAPI.Controller, :upload_json
+
+ post "/favorites/create/:id", TwitterAPI.Controller, :favorite
+ post "/favorites/create", TwitterAPI.Controller, :favorite
+ post "/favorites/destroy/:id", TwitterAPI.Controller, :unfavorite
+
+ post "/qvitter/update_avatar", TwitterAPI.Controller, :update_avatar
+ end
+
+ pipeline :ostatus do
+ plug :accepts, ["xml", "atom"]