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
This commit is contained in:
plegall
2012-02-10 15:31:42 +00:00
parent 59ef36277a
commit fab6a3ad4f
2 changed files with 24 additions and 1 deletions
+1
View File
@@ -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.'