Qbittorrent endpoints #3

Merged
rishighan merged 13 commits from qbittorrent-endpoints into main 2024-03-31 01:38:18 +00:00
Showing only changes of commit 3676bb0699 - Show all commits

View File

@@ -37,8 +37,14 @@ export default class QBittorrentService extends Service {
getClientInfo: {
rest: "GET /getClientInfo",
handler: async (ctx: Context<{}>) => {
return await this.meta.app.buildInfo();
},
console.log(this.meta.app);
return {
buildInfo: await this.meta.app.buildInfo(),
version: await this.meta.app.version(),
webAPIVersion: await this.meta.app.webapiVersion(),
}
}
},
},
methods: {},