We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2047c68d authored by Evan Prodromou's avatar Evan Prodromou

add laconica methods to unauthed ones

darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz
parent a88770a2
......@@ -100,4 +100,6 @@ Evan Prodromou <evan@prodromou.name>**20081223195722]
[Laconica-specific extensions for Twitter API
Evan Prodromou <evan@prodromou.name>**20081230202019]
[add laconica-specific methods to htaccess.sample
Evan Prodromou <evan@prodromou.name>**20081230202513]
\ No newline at end of file
Evan Prodromou <evan@prodromou.name>**20081230202513]
[add laconica methods to unauthed ones
Evan Prodromou <evan@prodromou.name>**20081230203747]
\ No newline at end of file
......@@ -117,7 +117,10 @@ class ApiAction extends Action
'statuses/show',
'users/show',
'help/test',
'help/downtime_schedule');
'help/downtime_schedule',
'laconica/version',
'laconica/config',
'laconica/wadl');
static $bareauth = array('statuses/user_timeline',
'statuses/friends',
......
hunk ./htaccess.sample 146
+RewriteRule ^api/laconica/version(.*)$ index.php?action=api&apiaction=laconica&method=version$1 [L,QSA]
+RewriteRule ^api/laconica/config(.*)$ index.php?action=api&apiaction=laconica&method=config$1 [L,QSA]
+RewriteRule ^api/laconica/wadl\.xml$ index.php?action=api&apiaction=laconica&method=wadl.xml [L,QSA]
hunk ./actions/api.php 120
- 'help/downtime_schedule');
+ 'help/downtime_schedule',
+ 'laconica/version',
+ 'laconica/config',
+ 'laconica/wadl');
......@@ -117,7 +117,10 @@ class ApiAction extends Action
'statuses/show',
'users/show',
'help/test',
'help/downtime_schedule');
'help/downtime_schedule',
'laconica/version',
'laconica/config',
'laconica/wadl');
static $bareauth = array('statuses/user_timeline',
'statuses/friends',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment