public class AuditingApi extends Object
| Constructor and Description |
|---|
AuditingApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<AuditRecords> |
getAuditRecords(Optional<Integer> offset,
Optional<Integer> limit,
Optional<String> filter,
Optional<OffsetDateTime> from,
Optional<OffsetDateTime> to,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get audit records
Returns a list of audit records.
|
public io.reactivex.Single<AuditRecords> getAuditRecords(Optional<Integer> offset, Optional<Integer> limit, Optional<String> filter, Optional<OffsetDateTime> from, Optional<OffsetDateTime> to, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a list of audit records. The list can be filtered to include items:
Permissions required: Administer Jira global permission.
offset - The number of records to skip before returning the first result.
(optional, default to 0)limit - The maximum number of results to return. The maximum is 1000.
filter - The query string.
(optional)from - The date and time on or after which returned audit records must have been created. If to is provided from must be before to or no audit records are returned.
to - The date and time on or before which returned audit results must have been created. If from is provided to must be after from or no audit records are returned.
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.