github.com/launchdarkly/api-client-go@v5.3.0+incompatible/docs/AuditLogApi.md (about)

     1  # \AuditLogApi
     2  
     3  All URIs are relative to *https://app.launchdarkly.com/api/v2*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**GetAuditLogEntries**](AuditLogApi.md#GetAuditLogEntries) | **Get** /auditlog | Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.
     8  [**GetAuditLogEntry**](AuditLogApi.md#GetAuditLogEntry) | **Get** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
     9  
    10  
    11  # **GetAuditLogEntries**
    12  > AuditLogEntries GetAuditLogEntries(ctx, optional)
    13  Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.
    14  
    15  ### Required Parameters
    16  
    17  Name | Type | Description  | Notes
    18  ------------- | ------------- | ------------- | -------------
    19   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    20   **optional** | ***AuditLogApiGetAuditLogEntriesOpts** | optional parameters | nil if no parameters
    21  
    22  ### Optional Parameters
    23  Optional parameters are passed through a pointer to a AuditLogApiGetAuditLogEntriesOpts struct
    24  
    25  Name | Type | Description  | Notes
    26  ------------- | ------------- | ------------- | -------------
    27   **before** | **optional.Int64**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. | 
    28   **after** | **optional.Int64**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. | 
    29   **q** | **optional.String**| Text to search for. You can search for the full or partial name of the resource involved or full or partial email address of the member who made the change. | 
    30   **limit** | **optional.Float32**| A limit on the number of audit log entries to be returned, between 1 and 20. | 
    31   **spec** | **optional.String**| A resource specifier, allowing you to filter audit log listings by resource. | 
    32  
    33  ### Return type
    34  
    35  [**AuditLogEntries**](AuditLogEntries.md)
    36  
    37  ### Authorization
    38  
    39  [Token](../README.md#Token)
    40  
    41  ### HTTP request headers
    42  
    43   - **Content-Type**: application/json
    44   - **Accept**: application/json
    45  
    46  [[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)
    47  
    48  # **GetAuditLogEntry**
    49  > AuditLogEntry GetAuditLogEntry(ctx, resourceId)
    50  Use this endpoint to fetch a single audit log entry by its resouce ID.
    51  
    52  ### Required Parameters
    53  
    54  Name | Type | Description  | Notes
    55  ------------- | ------------- | ------------- | -------------
    56   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    57    **resourceId** | **string**| The resource ID. | 
    58  
    59  ### Return type
    60  
    61  [**AuditLogEntry**](AuditLogEntry.md)
    62  
    63  ### Authorization
    64  
    65  [Token](../README.md#Token)
    66  
    67  ### HTTP request headers
    68  
    69   - **Content-Type**: application/json
    70   - **Accept**: application/json
    71  
    72  [[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)
    73