fixes #2173 allow comma separated list for image_id in pwg.images.syncMetadata

This commit is contained in:
plegall
2024-07-09 15:42:21 +02:00
parent 3b376edfb1
commit 6e6a74c348
3 changed files with 36 additions and 10 deletions
+1 -3
View File
@@ -567,9 +567,7 @@ function ws_addDefaultMethods( $arr )
'pwg.images.syncMetadata',
'ws_images_syncMetadata',
array(
'image_id' => array('default'=>null,
'type'=>WS_TYPE_ID|WS_TYPE_POSITIVE,
'flags'=>WS_PARAM_FORCE_ARRAY),
'image_id' => array('flags'=>WS_PARAM_ACCEPT_ARRAY, 'info'=>'Comma separated ids or array of id'),
'pwg_token' => array(),
),
'Sync metadatas, by blocks. Returns how many images were synchronized',