public class CurrentUserApi extends Object
| Constructor and Description |
|---|
CurrentUserApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<User> |
getCurrentUser(Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get current user
Returns details for the current user.
|
public CurrentUserApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<User> getCurrentUser(Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns details for the current user.
Permissions required: Permission to access Jira.
expand - Use expand to include additional information about user in the response. This parameter accepts multiple values separated by a comma:
groups Returns all groups, including nested groups, the user belongs to.applicationRoles Returns the application roles the user is assigned to.restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.