aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ws.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index cc3369bae..c2791f3c1 100644
--- a/ws.php
+++ b/ws.php
@@ -183,7 +183,18 @@ function ws_addDefaultMethods( $arr )
),
'POST method only. For admin only.'
);
-
+
+ $service->addMethod(
+ 'pwg.images.addFile',
+ 'ws_images_addFile',
+ array(
+ 'image_id' => array(),
+ 'type' => array(),
+ 'sum' => array(),
+ ),
+ 'Add or update a file for an existing photo. pwg.images.addChunk must have been called before (maybe several times)'
+ );
+
$service->addMethod(
'pwg.images.add',