Runner selfservice info endpoint feature/111-runner_selfservic_info #115

Merged
niggl merged 9 commits from feature/111-runner_selfservic_info into dev 2021-01-20 19:14:24 +00:00
Showing only changes of commit 191569792c - Show all commits

View File

@ -24,7 +24,7 @@ export class RunnerSelfServiceController {
@ResponseSchema(ResponseSelfServiceRunner)
@ResponseSchema(RunnerNotFoundError, { statusCode: 404 })
@OnUndefined(RunnerNotFoundError)
@OpenAPI({ description: 'Lists all information about yourself. <br> Please provide your runner jwt for auth.' })
@OpenAPI({ description: 'Lists all information about yourself. <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.' })
async get(@Param('jwt') token: string) {
return (new ResponseSelfServiceRunner(await this.getRunner(token)));
}