Changeset 3454 for trunk/ws.php


Ignore:
Timestamp:
Jun 25, 2009, 1:01:35 AM (15 years ago)
Author:
plg
Message:

merge r3453 from branch 2.0 to trunk
feature 1033 added: new API method pwg.categories.setInfo makes possible to
change the name and comment of a given category.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r3282 r3454  
    271271<br><b>categories</b> is a string list "category_id[,rank];category_id[,rank]" The rank is optional and is equivalent to "auto" if not given.'
    272272    );
     273 
     274  $service->addMethod(
     275    'pwg.categories.setInfo',
     276    'ws_categories_setInfo',
     277    array(
     278      'category_id' => array(),
     279     
     280      'name' => array('default' => null),
     281      'comment' => array('default' => null),
     282      ),
     283    'POST method only.'
     284    );
    273285}
    274286
Note: See TracChangeset for help on using the changeset viewer.