Initial work on API method for updating a group's profile info

This commit is contained in:
Zachary Copley
2010-04-20 11:29:13 -07:00
committed by Zach Copley
parent 4b0458801a
commit b407665b98
2 changed files with 376 additions and 0 deletions

View File

@@ -650,6 +650,12 @@ class Router
$m->connect('api/statusnet/groups/create.:format',
array('action' => 'ApiGroupCreate',
'format' => '(xml|json)'));
$m->connect('api/statusnet/groups/update/:id.:format',
array('action' => 'ApiGroupProfileUpdate',
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json)'));
// Tags
$m->connect('api/statusnet/tags/timeline/:tag.:format',
array('action' => 'ApiTimelineTag',