diff options
author | Evan Prodromou <evan@status.net> | 2009-12-12 14:46:24 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-12-12 14:46:24 -0500 |
commit | c622d144400026dac65c39303994d11f114c0f5b (patch) | |
tree | 533c80bc1e99fe5e307a76e81a9aa75524cacab3 /lib | |
parent | 683edfd199ae150afa74993521c4c65d76b1e19d (diff) |
add statuses/retweets to API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 5 |
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', |