🚀New lib version v0.3.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:
18
dist/services/RunnerOrganizationService.js
vendored
18
dist/services/RunnerOrganizationService.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user