From: Evan Prodromou Date: Fri, 18 Jul 2008 05:18:41 +0000 (-0400) Subject: add argumented friends and followers to api X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0adb1f69707927c7aae245a80fcc3ec12cd05db3;p=quix0rs-gnu-social.git add argumented friends and followers to api darcs-hash:20080718051841-84dde-32da4237ac89bc6dd953a1e73cab63e8aa718746.gz --- diff --git a/htaccess.sample b/htaccess.sample index 317ddef485..dc6fcf1f8a 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]