summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-30 17:32:26 -0400
committerzach <zach@copley.name>2008-07-30 17:32:26 -0400
commit93d25bec337ed20dd9576fda870c25d7c27420f3 (patch)
treee33fe85ab67f48a5f842c5e1b53a55a050e8732c /htaccess.sample
parent16daa87a392bc503ff7c07773618893f581dc982 (diff)
Twitter-compatible API: implemented /users/show.format method
(and some API bug fixes) darcs-hash:20080730213226-ca946-eb89bad91eee630ac286d537ba42f0042b8d2109.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 07246a436..e81680400 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -79,6 +79,8 @@ RewriteRule ^api/statuses/friends(.*)$ index.php?action=api&apiaction=statuses&m
RewriteRule ^api/statuses/followers/(.*)$ index.php?action=api&apiaction=statuses&method=followers&argument=$1 [L,QSA]
RewriteRule ^api/statuses/followers(.*)$ index.php?action=api&apiaction=statuses&method=followers$1 [L,QSA]
RewriteRule ^api/statuses/featured(.*)$ index.php?action=api&apiaction=statuses&method=featured$1 [L,QSA]
+RewriteRule ^api/users/show/(.*)$ index.php?action=api&apiaction=users&method=show&argument=$1 [L,QSA]
+RewriteRule ^api/users/show(.*)$ index.php?action=api&apiaction=users&method=show$1 [L,QSA]
RewriteRule ^api/direct_messages/sent(.*)$ index.php?action=api&apiaction=direct_messages&method=sent$1 [L,QSA]
RewriteRule ^api/direct_messages/destroy/(.*)$ index.php?action=api&apiaction=direct_messages&method=destroy&argument=$1 [L,QSA]
RewriteRule ^api/direct_messages/new(.*)$ index.php?action=api&apiaction=direct_messages&method=create$1 [L,QSA]