diff options
author | Zachary Copley <zcopley@danube.local> | 2010-04-20 11:29:13 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-07 10:10:30 -0700 |
commit | b407665b983297078f5361db24c60a7d46e0f4ba (patch) | |
tree | b062bf9534be38c6f82e8a3a9a780e76121f9da3 /lib/router.php | |
parent | 4b0458801af03b40fa636849da0a7e96bbd3e860 (diff) |
Initial work on API method for updating a group's profile info
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index a040abb83..faa26c861 100644 --- a/lib/router.php +++ b/lib/router.php @@ -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', |