Changeset 11745 for branches/2.2/ws.php


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

feature 2376 added: new method pwg.categories.setRepresentative

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/ws.php

    r11371 r11745  
    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.