@tapd/tapd-node-sdk 1.54.1-alpha.0 → 1.54.1-alpha.1
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
|
@@ -8496,6 +8496,23 @@ module.exports = class API extends SDK {
|
|
|
8496
8496
|
);
|
|
8497
8497
|
}
|
|
8498
8498
|
|
|
8499
|
+
/**
|
|
8500
|
+
* @description 获取子项目信息及子项目数量
|
|
8501
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/sub_workspaces_with_children_count.html
|
|
8502
|
+
* @scope workspace#r
|
|
8503
|
+
|
|
8504
|
+
* @params - {integer} parent_id 父项目ID
|
|
8505
|
+
*/
|
|
8506
|
+
subWorkspacesWithChildrenCount(...args) {
|
|
8507
|
+
return this.oAuthRequest.apply(
|
|
8508
|
+
this, [
|
|
8509
|
+
'/workspaces/sub_workspaces_with_children_count',
|
|
8510
|
+
'GET',
|
|
8511
|
+
...args
|
|
8512
|
+
]
|
|
8513
|
+
);
|
|
8514
|
+
}
|
|
8515
|
+
|
|
8499
8516
|
|
|
8500
8517
|
}
|
|
8501
8518
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.54.1-alpha.
|
|
3
|
+
"version": "1.54.1-alpha.1",
|
|
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": "666738793f3835f91d4ce72f90145972f8d31bdd"
|
|
48
48
|
}
|