Changeset 11371 for branches/2.2/ws.php


Ignore:
Timestamp:
Jun 14, 2011, 3:53:40 PM (13 years ago)
Author:
plg
Message:

bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/ws.php

    r11365 r11371  
    144144    );
    145145
     146  $service->addMethod(
     147    'pwg.images.setRank',
     148    'ws_images_setRank',
     149    array(
     150      'image_id' => array(),
     151      'category_id' => array(),
     152      'rank' => array(),
     153      ),
     154    'sets the rank of a photo for a given album (POST method only, for admins)'
     155    );
     156 
    146157  $service->addMethod('pwg.session.getStatus', 'ws_session_getStatus', null, '' );
    147158  $service->addMethod('pwg.session.login', 'ws_session_login',
Note: See TracChangeset for help on using the changeset viewer.