🚀New lib version v0.5.0 [CI SKIP]

This commit is contained in:
2021-03-04 16:27:59 +00:00
parent dbbd5b27da
commit c11b709e0b
18 changed files with 53 additions and 44 deletions

View File

@@ -17,6 +17,20 @@ class RunnerSelfService {
});
return result.body;
}
/**
* Get scans
* Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
* @param jwt
* @returns ResponseSelfServiceScan
* @throws ApiError
*/
static async runnerSelfServiceControllerGetScans(jwt) {
const result = await request_1.request({
method: 'GET',
path: `/api/runners/me/${jwt}/scans`,
});
return result.body;
}
/**
* Register runner
* Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification.