🚀New lib version v0.2.1 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
14
dist/services/RunnerService.js
vendored
14
dist/services/RunnerService.js
vendored
@@ -80,5 +80,19 @@ class RunnerService {
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
/**
|
||||
* Get scans
|
||||
* Lists all scans of the runner whose id got provided. <br> If you only want the valid scans just add the ?onlyValid=true query param.
|
||||
* @param id
|
||||
* @returns any
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerGetScans(id) {
|
||||
const result = await request_1.request({
|
||||
method: 'GET',
|
||||
path: `/api/runners/${id}/scans`,
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
}
|
||||
exports.RunnerService = RunnerService;
|
||||
|
||||
Reference in New Issue
Block a user