Changeset 11746 for trunk/ws.php


Ignore:
Timestamp:
Jul 14, 2011, 11:44:14 PM (13 years ago)
Author:
plg
Message:

merge r11745 from branch 2.2 to trunk

feature 2376 added: new method pwg.categories.setRepresentative

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r11372 r11746  
    303303    'Move categories. You can give several category_ids, comma separated. Set parent as 0 to move to gallery root. Only virtual categories can be moved.'
    304304    );
    305  
     305
     306  $service->addMethod(
     307    'pwg.categories.setRepresentative',
     308    'ws_categories_setRepresentative',
     309    array(
     310      'category_id'=>array('default'=>0),
     311      'image_id'=>array('default'=>0),
     312      ),
     313    'Set the representative photo for an album. The photo doesn\'t have to belong to the album. POST method only. Administration method only.'
     314    );
     315
    306316  $service->addMethod(
    307317    'pwg.tags.getAdminList',
Note: See TracChangeset for help on using the changeset viewer.