aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-01-08 19:25:52 +0000
committerrvelices <rv-github@modusoptimus.com>2012-01-08 19:25:52 +0000
commit225b45f2b88d3193ec4012a589749c5814c42205 (patch)
treeebd032867780475a5e41df5a4e0301d3518393e4 /ws.php
parent028729f0690f3ffd4e116eecc49d58db08625d63 (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 '')
-rw-r--r--ws.php25
1 files changed, 22 insertions, 3 deletions
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.
<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. '
);