feature added: pwg.images.add can perform an update on an existing photo.

git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2012-02-10 23:48:55 +00:00
commit 2bfedaea5c
2 changed files with 20 additions and 1 deletions

1
ws.php
View file

@ -260,6 +260,7 @@ function ws_addDefaultMethods( $arr )
'maxValue' => $conf['available_permission_levels']
),
'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.'