From fab6a3ad4f0ff3644a1dfef0b141c15fb7054e18 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 10 Feb 2012 15:31:42 +0000 Subject: 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 --- ws.php | 1 + 1 file changed, 1 insertion(+) (limited to 'ws.php') 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.
categories is a string list "category_id[,rank];category_id[,rank]" The rank is optional and is equivalent to "auto" if not given.' -- cgit v1.2.3