Changeset 4348 for trunk/ws.php


Ignore:
Timestamp:
Nov 23, 2009, 12:59:14 AM (15 years ago)
Author:
plg
Message:

merge r4345 from branch 2.0 to trunk

feature 1051: ability to add/update a file for an existing photo. For example,
you can add the "high" later. Another example is to update the "web resized"
file (new dimensions is a common example). It also works for thumbnails.
Updating an existing file has no impact on the logical level (list of tags,
list of categories, title, description and so on).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r4347 r4348  
    184184    'POST method only. For admin only.'
    185185    );
    186  
     186
     187  $service->addMethod(
     188    'pwg.images.addFile',
     189    'ws_images_addFile',
     190    array(
     191      'image_id' => array(),
     192      'type' => array(),
     193      'sum' => array(),
     194      ),
     195    'Add or update a file for an existing photo. pwg.images.addChunk must have been called  before (maybe several times)'
     196    );
     197
    187198
    188199  $service->addMethod(
Note: See TracChangeset for help on using the changeset viewer.