summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-12 16:00:27 -0500
committerEvan Prodromou <evan@status.net>2009-12-12 16:00:27 -0500
commitcfe67a9c0192129448ea3f0b98aadf49e962fd4d (patch)
tree7079083b93c83af8d4649ca613a88731f5ca8f86 /lib/router.php
parent138ce0cd05e2e59c79b29f5eeea5c11d1e56e931 (diff)
add statuses/retweets_of_me to API
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 5c1bd3c4f..732caa1c7 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -323,6 +323,10 @@ class Router
array('action' => 'ApiTimelineRetweetedByMe',
'format' => '(xml|json|atom)'));
+ $m->connect('api/statuses/retweets_of_me.:format',
+ array('action' => 'ApiTimelineRetweetsOfMe',
+ 'format' => '(xml|json|atom)'));
+
$m->connect('api/statuses/friends.:format',
array('action' => 'ApiUserFriends',
'format' => '(xml|json)'));