aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 6c0ce26ad..f36053312 100644
--- a/ws.php
+++ b/ws.php
@@ -229,6 +229,15 @@ function ws_addDefaultMethods( $arr )
),
'administration method only'
);
+
+ $service->addMethod(
+ 'pwg.images.exist',
+ 'ws_images_exist',
+ array(
+ 'md5sum_list'=> array(),
+ ),
+ 'check existence of a photo list'
+ );
}
add_event_handler('ws_add_methods', 'ws_addDefaultMethods');