diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-01-08 19:25:52 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-01-08 19:25:52 +0000 |
commit | 225b45f2b88d3193ec4012a589749c5814c42205 (patch) | |
tree | ebd032867780475a5e41df5a4e0301d3518393e4 /ws.php | |
parent | 028729f0690f3ffd4e116eecc49d58db08625d63 (diff) |
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
Diffstat (limited to 'ws.php')
-rw-r--r-- | ws.php | 25 |
1 files changed, 22 insertions, 3 deletions
@@ -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. <br><b>cat_id</b> can be empty if <b>recursive</b> 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. ' ); |