Class AuditLogsApi
- java.lang.Object
-
- com.configcat.publicapi.java.client.api.AuditLogsApi
-
public class AuditLogsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AuditLogsApi()AuditLogsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()java.util.List<AuditLogItemModel>getAuditlogs(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.okhttp3.CallgetAuditlogsAsync(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback<java.util.List<AuditLogItemModel>> _callback)List Audit log items for Product (asynchronously) This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.okhttp3.CallgetAuditlogsCall(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback _callback)Build call for getAuditlogsApiResponse<java.util.List<AuditLogItemModel>>getAuditlogsWithHttpInfo(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment.java.lang.StringgetCustomBaseUrl()java.util.List<DeletedSettingModel>getDeletedSettings(java.util.UUID configId)List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.okhttp3.CallgetDeletedSettingsAsync(java.util.UUID configId, ApiCallback<java.util.List<DeletedSettingModel>> _callback)List Deleted Settings (asynchronously) This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.okhttp3.CallgetDeletedSettingsCall(java.util.UUID configId, ApiCallback _callback)Build call for getDeletedSettingsApiResponse<java.util.List<DeletedSettingModel>>getDeletedSettingsWithHttpInfo(java.util.UUID configId)List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.intgetHostIndex()java.util.List<AuditLogItemModel>getOrganizationAuditlogs(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.okhttp3.CallgetOrganizationAuditlogsAsync(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback<java.util.List<AuditLogItemModel>> _callback)List Audit log items for Organization (asynchronously) This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.okhttp3.CallgetOrganizationAuditlogsCall(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback _callback)Build call for getOrganizationAuditlogsApiResponse<java.util.List<AuditLogItemModel>>getOrganizationAuditlogsWithHttpInfo(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime)List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
AuditLogsApi
public AuditLogsApi()
-
AuditLogsApi
public AuditLogsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
getAuditlogsCall
public okhttp3.Call getAuditlogsCall(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback _callback) throws ApiExceptionBuild call for getAuditlogs- Parameters:
productId- The identifier of the Product. (required)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getAuditlogs
public java.util.List<AuditLogItemModel> getAuditlogs(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime) throws ApiException
List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment. If neither `fromUtcDateTime` nor `toUtcDateTime` is set, the audit logs for the **last 7 days** will be returned. The distance between `fromUtcDateTime` and `toUtcDateTime` cannot exceed **30 days**.- Parameters:
productId- The identifier of the Product. (required)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)- Returns:
- List<AuditLogItemModel>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getAuditlogsWithHttpInfo
public ApiResponse<java.util.List<AuditLogItemModel>> getAuditlogsWithHttpInfo(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime) throws ApiException
List Audit log items for Product This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment. If neither `fromUtcDateTime` nor `toUtcDateTime` is set, the audit logs for the **last 7 days** will be returned. The distance between `fromUtcDateTime` and `toUtcDateTime` cannot exceed **30 days**.- Parameters:
productId- The identifier of the Product. (required)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)- Returns:
- ApiResponse<List<AuditLogItemModel>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getAuditlogsAsync
public okhttp3.Call getAuditlogsAsync(java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback<java.util.List<AuditLogItemModel>> _callback) throws ApiExceptionList Audit log items for Product (asynchronously) This endpoint returns the list of Audit log items for a given Product and the result can be optionally filtered by Config and/or Environment. If neither `fromUtcDateTime` nor `toUtcDateTime` is set, the audit logs for the **last 7 days** will be returned. The distance between `fromUtcDateTime` and `toUtcDateTime` cannot exceed **30 days**.- Parameters:
productId- The identifier of the Product. (required)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getDeletedSettingsCall
public okhttp3.Call getDeletedSettingsCall(java.util.UUID configId, ApiCallback _callback) throws ApiExceptionBuild call for getDeletedSettings- Parameters:
configId- The identifier of the Config. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getDeletedSettings
public java.util.List<DeletedSettingModel> getDeletedSettings(java.util.UUID configId) throws ApiException
List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.- Parameters:
configId- The identifier of the Config. (required)- Returns:
- List<DeletedSettingModel>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getDeletedSettingsWithHttpInfo
public ApiResponse<java.util.List<DeletedSettingModel>> getDeletedSettingsWithHttpInfo(java.util.UUID configId) throws ApiException
List Deleted Settings This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.- Parameters:
configId- The identifier of the Config. (required)- Returns:
- ApiResponse<List<DeletedSettingModel>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getDeletedSettingsAsync
public okhttp3.Call getDeletedSettingsAsync(java.util.UUID configId, ApiCallback<java.util.List<DeletedSettingModel>> _callback) throws ApiExceptionList Deleted Settings (asynchronously) This endpoint returns the list of Feature Flags and Settings that were deleted from the given Config.- Parameters:
configId- The identifier of the Config. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getOrganizationAuditlogsCall
public okhttp3.Call getOrganizationAuditlogsCall(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback _callback) throws ApiExceptionBuild call for getOrganizationAuditlogs- Parameters:
organizationId- The identifier of the Organization. (required)productId- The identifier of the Product. (optional)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getOrganizationAuditlogs
public java.util.List<AuditLogItemModel> getOrganizationAuditlogs(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime) throws ApiException
List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment. If neither `fromUtcDateTime` nor `toUtcDateTime` is set, the audit logs for the **last 7 days** will be returned. The distance between `fromUtcDateTime` and `toUtcDateTime` cannot exceed **30 days**.- Parameters:
organizationId- The identifier of the Organization. (required)productId- The identifier of the Product. (optional)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)- Returns:
- List<AuditLogItemModel>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getOrganizationAuditlogsWithHttpInfo
public ApiResponse<java.util.List<AuditLogItemModel>> getOrganizationAuditlogsWithHttpInfo(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime) throws ApiException
List Audit log items for Organization This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment. If neither `fromUtcDateTime` nor `toUtcDateTime` is set, the audit logs for the **last 7 days** will be returned. The distance between `fromUtcDateTime` and `toUtcDateTime` cannot exceed **30 days**.- Parameters:
organizationId- The identifier of the Organization. (required)productId- The identifier of the Product. (optional)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)- Returns:
- ApiResponse<List<AuditLogItemModel>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
getOrganizationAuditlogsAsync
public okhttp3.Call getOrganizationAuditlogsAsync(java.util.UUID organizationId, java.util.UUID productId, java.util.UUID configId, java.util.UUID environmentId, AuditLogType auditLogType, java.time.OffsetDateTime fromUtcDateTime, java.time.OffsetDateTime toUtcDateTime, ApiCallback<java.util.List<AuditLogItemModel>> _callback) throws ApiExceptionList Audit log items for Organization (asynchronously) This endpoint returns the list of Audit log items for a given Organization and the result can be optionally filtered by Product and/or Config and/or Environment. If neither `fromUtcDateTime` nor `toUtcDateTime` is set, the audit logs for the **last 7 days** will be returned. The distance between `fromUtcDateTime` and `toUtcDateTime` cannot exceed **30 days**.- Parameters:
organizationId- The identifier of the Organization. (required)productId- The identifier of the Product. (optional)configId- The identifier of the Config. (optional)environmentId- The identifier of the Environment. (optional)auditLogType- Filter Audit logs by Audit log type. (optional)fromUtcDateTime- Filter Audit logs by starting UTC date. (optional)toUtcDateTime- Filter Audit logs by ending UTC date. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 - 400 Bad request. - 404 Not found. - 429 Too many requests. In case of the request rate exceeds the rate limits. -
-
-