From 225b45f2b88d3193ec4012a589749c5814c42205 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 8 Jan 2012 19:25:52 +0000 Subject: feature 2548 multisize - added a page to build missing derivatives - browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'ws.php') diff --git a/ws.php b/ws.php index 4319bada9..d42b8f828 100644 --- a/ws.php +++ b/ws.php @@ -69,7 +69,7 @@ function ws_addDefaultMethods( $arr ) 'f_max_date_created' => array( 'default'=> null ), 'f_min_ratio' => array( 'default'=> null ), 'f_max_ratio' => array( 'default'=> null ), - 'f_with_thumbnail' => array( 'default'=> false ), + 'f_max_level' => array( 'default'=> null ), ), 'Returns elements for the corresponding categories.
cat_id can be empty if recursive is true. Can be sent as an array. @@ -86,6 +86,25 @@ function ws_addDefaultMethods( $arr ) ), 'retrieves a list of categories (tree_output option only compatible with json/php output format' ); + $service->addMethod('pwg.getMissingDerivatives', 'ws_getMissingDerivatives', + array( + 'types' => array( 'default'=>array(), 'flags'=>WS_PARAM_FORCE_ARRAY), + 'max_urls' => array( 'default' => 200 ), + 'prev_page' => array( 'default'=> null), + 'f_min_rate' => array( 'default'=> null ), + 'f_max_rate' => array( 'default'=> null ), + 'f_min_hit' => array( 'default'=> null ), + 'f_max_hit' => array( 'default'=> null ), + 'f_min_date_available' => array( 'default'=> null ), + 'f_max_date_available' => array( 'default'=> null ), + 'f_min_date_created' => array( 'default'=> null ), + 'f_max_date_created' => array( 'default'=> null ), + 'f_min_ratio' => array( 'default'=> null ), + 'f_max_ratio' => array( 'default'=> null ), + 'f_max_level' => array( 'default'=> null ), + ), + 'retrieves a list of derivatives to build' ); + $service->addMethod('pwg.images.addComment', 'ws_images_addComment', array( 'image_id' => array(), @@ -129,7 +148,7 @@ function ws_addDefaultMethods( $arr ) 'f_max_date_created' => array( 'default'=> null ), 'f_min_ratio' => array( 'default'=> null ), 'f_max_ratio' => array( 'default'=> null ), - 'f_with_thumbnail' => array( 'default'=> false ), + 'f_max_level' => array( 'default'=> null ), ), 'Returns elements for the corresponding query search.' ); @@ -192,7 +211,7 @@ function ws_addDefaultMethods( $arr ) 'f_max_date_created' => array( 'default'=> null ), 'f_min_ratio' => array( 'default'=> null ), 'f_max_ratio' => array( 'default'=> null ), - 'f_with_thumbnail' => array( 'default'=> false ), + 'f_max_level' => array( 'default'=> null ), ), 'Returns elements for the corresponding tags. Note that tag_id, tag_url_name, tag_name an be arrays. Fill at least one of them. ' ); -- cgit v1.2.3