diff options
author | plegall <plg@piwigo.org> | 2009-11-22 22:09:41 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2009-11-22 22:09:41 +0000 |
commit | 6768482bcf5ba73a1fd429a1584134c2b213044d (patch) | |
tree | ec2e97b7c785c50312c63d18a792c75fb0cf8c49 /ws.php | |
parent | 2bba9bc48a96378668bb460b11c5bcdd48a33669 (diff) |
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.
git-svn-id: http://piwigo.org/svn/branches/2.0@4344 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | ws.php | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -251,6 +251,18 @@ function ws_addDefaultMethods( $arr ) ); $service->addMethod( + 'pwg.images.checkFiles', + 'ws_images_checkFiles', + array( + 'image_id' => array(), + 'thumbnail_sum' => array('default' => null), + 'file_sum' => array('default' => null), + 'high_sum' => array('default' => null), + ), + '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"' + ); + + $service->addMethod( 'pwg.images.setInfo', 'ws_images_setInfo', array( |