Changeset 4345 for branches/2.0/ws.php


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

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
  • branches/2.0/ws.php

    r4344 r4345  
    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.