mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
feature 2189 added: ability to update a photo (the JPEG/PNG file) with
pwg.images.addSimple, simply by adding an $image_id as argument. git-svn-id: http://piwigo.org/svn/trunk@9191 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -233,8 +233,9 @@ function ws_addDefaultMethods( $arr )
|
||||
'maxValue' => $conf['available_permission_levels']
|
||||
),
|
||||
'tags' => array('default' => null),
|
||||
'image_id' => array('default' => null),
|
||||
),
|
||||
'POST method only.<br>Use the <b>image</b> field for uploading file.<br>Set the form encoding to "form-data"<br><b>category</b> is the numeric identifier of the destination category.'
|
||||
'POST method only.<br>Use the <b>image</b> field for uploading file.<br>Set the form encoding to "form-data"<br><b>category</b> is the numeric identifier of the destination category.<br>You can update an existing photo if you define an existing image_id.'
|
||||
);
|
||||
|
||||
$service->addMethod(
|
||||
|
||||
Reference in New Issue
Block a user