Changeset 4347 for trunk/ws.php


Ignore:
Timestamp:
Nov 23, 2009, 12:58:44 AM (14 years ago)
Author:
plg
Message:

merge r4344 from branch 2.0 to trunk

feature 1051: new API method pwg.images.checkFiles. This method will be useful
before asking for an update on photo files.

Enhancement in code factorization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r3454 r4347  
    252252
    253253  $service->addMethod(
     254    'pwg.images.checkFiles',
     255    'ws_images_checkFiles',
     256    array(
     257      'image_id' => array(),
     258      'thumbnail_sum' => array('default' => null),
     259      'file_sum' => array('default' => null),
     260      'high_sum' => array('default' => null),
     261      ),
     262    'check if you have updated version of your files for a given photo, for each requested file type, the answer can be "missing", "equals" or "differs"'
     263    );
     264
     265  $service->addMethod(
    254266    'pwg.images.setInfo',
    255267    'ws_images_setInfo',
Note: See TracChangeset for help on using the changeset viewer.