seafile-js 0.2.207 → 0.2.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seafile-api.js +16 -0
- package/package.json +1 -1
package/lib/seafile-api.js
CHANGED
|
@@ -601,6 +601,22 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
601
601
|
value: function getShareLinkTaggedFiles(token, tag_id) {
|
|
602
602
|
var url = this.server + '/api/v2.1/share-links/' + token + '/tagged-files/' + tag_id + '/';
|
|
603
603
|
return this.req.get(url);
|
|
604
|
+
}
|
|
605
|
+
}, {
|
|
606
|
+
key: "getAllRepoFolderShareInfo",
|
|
607
|
+
value: function getAllRepoFolderShareInfo(repoID, shareTo) {
|
|
608
|
+
var url = this.server + '/api/v2.1/repo-folder-share-info/';
|
|
609
|
+
var params = {
|
|
610
|
+
repo_id: repoID
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
if (shareTo) {
|
|
614
|
+
params.share_to = shareTo;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
return this.req.get(url, {
|
|
618
|
+
params: params
|
|
619
|
+
});
|
|
604
620
|
} // upload-link
|
|
605
621
|
|
|
606
622
|
}, {
|