Skip to content

Commit d3c3800

Browse files
committed
add dtable asset stats
1 parent dcdc380 commit d3c3800

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/dtable-web-api.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,6 +2171,16 @@ class DTableWebAPI {
21712171
return this._sendPostRequest(url, form);
21722172
}
21732173

2174+
getDTableAssetStats(dtableUuid) {
2175+
let url = this.server + `/api/v2.1/dtables/${dtableUuid}/asset-stats/`;
2176+
return this.req.get(url);
2177+
}
2178+
2179+
calcDTableAssetStats(dtableUuid) {
2180+
let url = this.server + `/api/v2.1/dtables/${dtableUuid}/calc-asset-stats/`;
2181+
return this.req.post(url);
2182+
}
2183+
21742184
listCommonDatasets(dstDTableUuid, byGroup=false) {
21752185
let url = this.server + '/api/v2.1/dtable/common-datasets/';
21762186
let params = {};

0 commit comments

Comments
 (0)