Changeset 9191 for trunk/ws.php


Ignore:
Timestamp:
Feb 11, 2011, 11:57:23 PM (13 years ago)
Author:
plg
Message:

feature 2189 added: ability to update a photo (the JPEG/PNG file) with
pwg.images.addSimple, simply by adding an $image_id as argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r8728 r9191  
    234234        ),
    235235      'tags' => array('default' => null),
    236       ),
    237     '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.'
     236      'image_id' => array('default' => null),
     237      ),
     238    '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.'
    238239    );
    239240
Note: See TracChangeset for help on using the changeset viewer.