🚀New lib version v0.2.1 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2021-01-21 17:35:38 +00:00
parent 83d04c6e0a
commit bec78aa2fd
13 changed files with 93 additions and 4 deletions

View File

@@ -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;