summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-12 16:15:23 -0500
committerEvan Prodromou <evan@status.net>2009-12-12 16:15:23 -0500
commit1ec54d3433a79f56c14c0a99114bb1e607348899 (patch)
tree608f3340cf1db5ba38dfadf97babab91ad924ea4 /lib/router.php
parent698b28c95c9d4fa5cb404395b2c90b10a438fcd5 (diff)
add statuses/retweeted_to_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 732caa1c7..8f68f86ac 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/retweeted_to_me.:format',
+ array('action' => 'ApiTimelineRetweetedToMe',
+ 'format' => '(xml|json|atom)'));
+
$m->connect('api/statuses/retweets_of_me.:format',
array('action' => 'ApiTimelineRetweetsOfMe',
'format' => '(xml|json|atom)'));