Changeset 4344 for branches/2.0/ws.php


Ignore:
Timestamp:
Nov 22, 2009, 11:09:41 PM (14 years ago)
Author:
plg
Message:

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
  • branches/2.0/ws.php

    r3453 r4344  
    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.