aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-10 15:31:42 +0000
committerplegall <plg@piwigo.org>2012-02-10 15:31:42 +0000
commitfab6a3ad4f0ff3644a1dfef0b141c15fb7054e18 (patch)
treecc22007c54a6f60793dc9b97d1c1711cfb2b25fc /ws.php
parent59ef36277a33a3dd8e159583d30e8583a27895a0 (diff)
feature 2566 added: pwg.images.add can perform an update on an existing photo.
The additional parameter is image_id and it can be used only combined with option resize=1. git-svn-id: http://piwigo.org/svn/branches/2.3@13083 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 4319bada9..e66c17ee0 100644
--- a/ws.php
+++ b/ws.php
@@ -242,6 +242,7 @@ function ws_addDefaultMethods( $arr )
),
'resize' => array('default' => false),
'check_uniqueness' => array('default' => true),
+ 'image_id' => array('default' => null),
),
'POST method only.
<br><b>categories</b> is a string list "category_id[,rank];category_id[,rank]" The rank is optional and is equivalent to "auto" if not given.'