user
Return the current user.
Changed onRequires elevated authentication.
get/current/user
Request
- Base URLhttp://localhost
- Auth
- API key in header Authorization
- or API key in header X-Gotify-Key
- or API key in query parameter token
- or HTTP basic
Response
Ok
Example response
{
"admin": true,
"createdAt": "2019-01-01T00:00:00Z",
"id": 25,
"name": "unicorn"
}Changes
- info
the endpoint scheme security
clientTokenAuthorizationHeaderwas added to the API
- info