This commit is contained in:
14
dist/services/RunnerService.js
vendored
14
dist/services/RunnerService.js
vendored
@@ -6,7 +6,7 @@ class RunnerService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran.
|
||||
* @result ResponseRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerGetAll() {
|
||||
@@ -20,7 +20,7 @@ class RunnerService {
|
||||
* Post
|
||||
* Create a new runner. <br> Please remeber to provide the runner's group's id.
|
||||
* @param requestBody CreateRunner
|
||||
* @result any
|
||||
* @returns any
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerPost(requestBody) {
|
||||
@@ -35,7 +35,7 @@ class RunnerService {
|
||||
* Get one
|
||||
* Lists all information about the runner whose id got provided.
|
||||
* @param id
|
||||
* @result ResponseRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerGetOne(id) {
|
||||
@@ -50,7 +50,7 @@ class RunnerService {
|
||||
* Update the runner whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdateRunner
|
||||
* @result ResponseRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerPut(id, requestBody) {
|
||||
@@ -66,8 +66,8 @@ class RunnerService {
|
||||
* Delete the runner whose id you provided. <br> This will also delete all scans and cards associated with the runner. <br> If no runner with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @result ResponseRunner
|
||||
* @result ResponseEmpty
|
||||
* @returns ResponseRunner
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerRemove(id, force) {
|
||||
@@ -84,7 +84,7 @@ class RunnerService {
|
||||
* 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
|
||||
* @result any
|
||||
* @returns any
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerControllerGetScans(id) {
|
||||
|
||||
Reference in New Issue
Block a user