@tapd/tapd-node-sdk 1.56.0 → 1.56.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.
@@ -8497,16 +8497,16 @@ module.exports = class API extends SDK {
8497
8497
  }
8498
8498
 
8499
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
8500
+ * @description 获取子项目树
8501
+ * @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/get_sub_workspaces_tree.html
8502
8502
  * @scope workspace#r
8503
8503
 
8504
- * @params - {integer} parent_id 父项目ID
8504
+ * @params - {integer} workspace_id 项目ID
8505
8505
  */
8506
- subWorkspacesWithChildrenCount(...args) {
8506
+ getSubWorkspacesTree(...args) {
8507
8507
  return this.oAuthRequest.apply(
8508
8508
  this, [
8509
- '/workspaces/sub_workspaces_with_children_count',
8509
+ '/workspaces/sub_workspaces_tree',
8510
8510
  'GET',
8511
8511
  ...args
8512
8512
  ]
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.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": "6f2575d6ee5785ba3428b0b9deeca090564bc66f"
47
+ "gitHead": "7e140f7ab1f3115e56a09d6617536ea72f38f341"
48
48
  }