summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-12 15:35:05 -0500
committerEvan Prodromou <evan@status.net>2009-12-12 15:35:05 -0500
commit138ce0cd05e2e59c79b29f5eeea5c11d1e56e931 (patch)
tree2a6e5a0c2230c8929dc9a8e2d2405184921bfc4d /lib/router.php
parenta3660fbea46be4d9408cd0f824166a75b8c865ab (diff)
add statuses/retweeted_by_me api action
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 b0b95b080..5c1bd3c4f 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -319,6 +319,10 @@ class Router
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json|rss|atom)'));
+ $m->connect('api/statuses/retweeted_by_me.:format',
+ array('action' => 'ApiTimelineRetweetedByMe',
+ 'format' => '(xml|json|atom)'));
+
$m->connect('api/statuses/friends.:format',
array('action' => 'ApiUserFriends',
'format' => '(xml|json)'));