]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add argumented friends and followers to api
authorEvan Prodromou <evan@prodromou.name>
Fri, 18 Jul 2008 05:18:41 +0000 (01:18 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 18 Jul 2008 05:18:41 +0000 (01:18 -0400)
darcs-hash:20080718051841-84dde-32da4237ac89bc6dd953a1e73cab63e8aa718746.gz

htaccess.sample

index 317ddef485c44ebc247711fec65d00b9f20a6e20..dc6fcf1f8a02fa26890a5c4328ab43b78dc80396 100644 (file)
@@ -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]