summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-12 14:46:24 -0500
committerEvan Prodromou <evan@status.net>2009-12-12 14:46:24 -0500
commitc622d144400026dac65c39303994d11f114c0f5b (patch)
tree533c80bc1e99fe5e307a76e81a9aa75524cacab3 /lib
parent683edfd199ae150afa74993521c4c65d76b1e19d (diff)
add statuses/retweets to API
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 835339720..b0b95b080 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -364,6 +364,11 @@ class Router
'id' => '[0-9]+',
'format' => '(xml|json)'));
+ $m->connect('api/statuses/retweets/:id.:format',
+ array('action' => 'ApiStatusesRetweets',
+ 'id' => '[0-9]+',
+ 'format' => '(xml|json)'));
+
// users
$m->connect('api/users/show.:format',