aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ws.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index 82a4823d8..c2d2115d7 100644
--- a/ws.php
+++ b/ws.php
@@ -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(