public class UnrestrictedUserEmailApi extends Object
| Constructor and Description |
|---|
UnrestrictedUserEmailApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<UnrestrictedUserEmail> |
getUserEmail(Optional<String> accountId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get user email
Returns a user's email address.
|
io.reactivex.Single<UnrestrictedUserEmail> |
getUserEmailBulk(Optional<List<String>> accountId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get user email bulk
Returns a user's email address.
|
public UnrestrictedUserEmailApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<UnrestrictedUserEmail> getUserEmail(Optional<String> accountId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a user's email address. This API is only available to apps approved by Atlassian, according to these guidelines.
accountId - The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192. Note, this should be treated as an opaque identifier (i.e. do not assume any structure in the value). Required.
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<UnrestrictedUserEmail> getUserEmailBulk(Optional<List<String>> accountId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a user's email address. This API is only available to apps approved by Atlassian, according to these guidelines.
accountId - the account IDs of the users for which emails are required. An accountId is an identifier that uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192. Note, this should be treated as an opaque identifier (i.e. do not assume any structure in the value).
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.