jira-api-v2 1.0.1

Jira Cloud platform REST API
Documentation
# \AuditRecordsApi

All URIs are relative to *https://your-domain.atlassian.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_audit_records**]AuditRecordsApi.md#get_audit_records | **GET** /rest/api/2/auditing/record | Get audit records



## get_audit_records

> models::AuditRecords get_audit_records(offset, limit, filter, from, to)
Get audit records

Returns a list of audit records. The list can be filtered to include items:   *  containing a string in at least one field. For example, providing *up* will return all audit records where one or more fields contains words such as *update*.  *  created on or after a date and time.  *  created or or before a date and time.  *  created during a time period.  **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**offset** | Option<**i32**> | The number of records to skip before returning the first result. |  |[default to 0]
**limit** | Option<**i32**> | The maximum number of results to return. |  |[default to 1000]
**filter** | Option<**String**> | The query string. |  |
**from** | Option<**String**> | 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** | Option<**String**> | 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. |  |

### Return type

[**models::AuditRecords**](AuditRecords.md)

### Authorization

[OAuth2](../README.md#OAuth2), [basicAuth](../README.md#basicAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)