public class ApplicationRoleApi extends Object
| Constructor and Description |
|---|
ApplicationRoleApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<ApplicationRole>> |
getAllApplicationRoles(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all application roles
Returns all application roles.
|
io.reactivex.Single<ApplicationRole> |
getApplicationRole(String key,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get application role
Returns an application role.
|
public ApplicationRoleApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<List<ApplicationRole>> getAllApplicationRoles(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all application roles. In Jira, application roles are managed using the Application access configuration page.
Permissions required: Administer Jira global permission.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<ApplicationRole> getApplicationRole(String key, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns an application role.
Permissions required: Administer Jira global permission.
key - The key of the application role. Use the Get all application roles operation to get the key for each application role.
(required)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.