@tapd/tapd-node-sdk 1.63.0 → 1.64.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 +19 -0
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -8628,6 +8628,25 @@ module.exports = class API extends SDK {
|
|
|
8628
8628
|
);
|
|
8629
8629
|
}
|
|
8630
8630
|
|
|
8631
|
+
/**
|
|
8632
|
+
* @description 获取当前应用被哪些项目安装,以及安装信息
|
|
8633
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/app_installed_workspaces.html
|
|
8634
|
+
* @scope workspace#r
|
|
8635
|
+
|
|
8636
|
+
* @params - {integer} page 分页页码,默认为1
|
|
8637
|
+
* @params - {integer} per_page 分页每页数据量
|
|
8638
|
+
* @params - {string} app_version 要查询的版本号,不传则返回所有版本
|
|
8639
|
+
*/
|
|
8640
|
+
appInstalledWorkspaces(...args) {
|
|
8641
|
+
return this.oAuthRequest.apply(
|
|
8642
|
+
this, [
|
|
8643
|
+
'/workspaces/app_installed_workspaces',
|
|
8644
|
+
'GET',
|
|
8645
|
+
...args
|
|
8646
|
+
]
|
|
8647
|
+
);
|
|
8648
|
+
}
|
|
8649
|
+
|
|
8631
8650
|
|
|
8632
8651
|
}
|
|
8633
8652
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.64.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": "6f3191ae8732aaae153425303355d215b5aaad9c"
|
|
48
48
|
}
|