summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-18 01:18:41 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-18 01:18:41 -0400
commit0adb1f69707927c7aae245a80fcc3ec12cd05db3 (patch)
tree2a9c9e3dea4ff8a480b34a6eb19082e50372d780 /htaccess.sample
parent0567dc4a1ca0365f7d6d5d956b889c99edc8ad84 (diff)
add argumented friends and followers to api
darcs-hash:20080718051841-84dde-32da4237ac89bc6dd953a1e73cab63e8aa718746.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 317ddef48..dc6fcf1f8 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -66,7 +66,9 @@ RewriteRule ^api/statuses/show/(.*)$ index.php?action=api&apiaction=statuses&met
RewriteRule ^api/statuses/update(.*)$ index.php?action=api&apiaction=statuses&method=update$1 [L,QSA]
RewriteRule ^api/statuses/replies(.*)$ index.php?action=api&apiaction=statuses&method=replies&argument=$1 [L,QSA]
RewriteRule ^api/statuses/destroy/(.*)$ index.php?action=api&apiaction=statuses&method=destroy&argument=$1 [L,QSA]
+RewriteRule ^api/statuses/friends/(.*)$ index.php?action=api&apiaction=statuses&method=friends&argument=$1 [L,QSA]
RewriteRule ^api/statuses/friends(.*)$ index.php?action=api&apiaction=statuses&method=friends$1 [L,QSA]
+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/direct_messages/sent(.*)$ index.php?action=api&apiaction=direct_messages&method=sent$1 [L,QSA]