sdk: add getMultiPreviewURL() function

This commit is contained in:
mappu 2017-11-18 14:11:27 +13:00
parent 14456e6539
commit 08321818ff

View File

@ -67,6 +67,9 @@ var contented = (function() {
"getPreviewURL": function(id) {
return baseURL + "p/" + encodeURIComponent(id);
},
"getMultiPreviewURL": function(items) {
return baseURL + "p/" + encodeURIComponent(items.join("-"));
},
"getDownloadURL": function(id) {
return baseURL + "get/" + encodeURIComponent(id);
},