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

This commit is contained in:
2021-01-27 16:50:21 +00:00
parent 01191cefe9
commit 8fbeb0d6ea
7 changed files with 54 additions and 3 deletions

View File

@@ -80,5 +80,23 @@ class RunnerOrganizationService {
});
return result.body;
}
/**
* Get runners
* Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran.
* @param id
* @param onlyDirect
* @returns ResponseRunner
* @throws ApiError
*/
static async runnerOrganizationControllerGetRunners(id, onlyDirect) {
const result = await request_1.request({
method: 'GET',
path: `/api/organizations/${id}/runners`,
query: {
'onlyDirect': onlyDirect,
},
});
return result.body;
}
}
exports.RunnerOrganizationService = RunnerOrganizationService;