diff options
author | Zach Copley <zach@status.net> | 2009-10-05 17:10:30 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-05 17:10:30 -0700 |
commit | 475bdf6fba3ee8081f3726f98ecd3a50fdda305e (patch) | |
tree | 46e7fa0b7d017c5b1ce64db17ff24594f543170c /lib/router.php | |
parent | dd0d90723142d8042991f998f2b0c355d47638b5 (diff) |
New actions for the account methods we have implemented
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/router.php b/lib/router.php index 8e6db8880..6541d69f1 100644 --- a/lib/router.php +++ b/lib/router.php @@ -434,9 +434,16 @@ class Router // account - $m->connect('api/account/:method', - array('action' => 'api', - 'apiaction' => 'account')); + $m->connect('api/account/verify_credentials.:format', + array('action' => 'ApiAccountVerifyCredentials')); + + // special case where verify_credentials is called w/out a format + + $m->connect('api/account/verify_credentials', + array('action' => 'ApiAccountVerifyCredentials')); + + $m->connect('api/account/rate_limit_status.:format', + array('action' => 'ApiAccountRateLimitStatus')); // favorites |