aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index fea6c1c90..cc3369bae 100644
--- a/ws.php
+++ b/ws.php
@@ -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(