@tapd/tapd-node-sdk 1.56.0 → 1.56.1-alpha.0
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/node-sdk/src/index.js +17 -0
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -8513,6 +8513,23 @@ module.exports = class API extends SDK {
|
|
|
8513
8513
|
);
|
|
8514
8514
|
}
|
|
8515
8515
|
|
|
8516
|
+
/**
|
|
8517
|
+
* @description 获取子项目树
|
|
8518
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/get_sub_workspaces_tree.html
|
|
8519
|
+
* @scope workspace#r
|
|
8520
|
+
|
|
8521
|
+
* @params - {integer} workspace_id 项目ID
|
|
8522
|
+
*/
|
|
8523
|
+
getSubWorkspacesTree(...args) {
|
|
8524
|
+
return this.oAuthRequest.apply(
|
|
8525
|
+
this, [
|
|
8526
|
+
'/workspaces/sub_workspaces_tree',
|
|
8527
|
+
'GET',
|
|
8528
|
+
...args
|
|
8529
|
+
]
|
|
8530
|
+
);
|
|
8531
|
+
}
|
|
8532
|
+
|
|
8516
8533
|
|
|
8517
8534
|
}
|
|
8518
8535
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.56.0",
|
|
3
|
+
"version": "1.56.1-alpha.0",
|
|
4
4
|
"description": "node sdk for open tapd ",
|
|
5
5
|
"main": "node-sdk/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"directories": {
|
|
45
45
|
"test": "test"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d2d7c4a793599fbd4519da2a281abdf5de364d2a"
|
|
48
48
|
}
|