69e2fc09a6
Co-authored-by: Michael Hoennig <michael@hoennig.de> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/213
18 lines
599 B
YAML
18 lines
599 B
YAML
get:
|
|
summary: Currently logged in user data.
|
|
description: Returns information about the currently logged in user.
|
|
tags:
|
|
- account
|
|
operationId: getCurrentLoginUser
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
$ref: 'account-schemas.yaml#/components/schemas/CurrentLoginUser'
|
|
"401":
|
|
$ref: 'error-responses.yaml#/components/responses/Unauthorized'
|
|
"403":
|
|
$ref: 'error-responses.yaml#/components/responses/Forbidden'
|