Class AccountUsageBetaApi


  • public class AccountUsageBetaApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiClient getApiClient()  
      java.lang.String getCustomBaseUrl()  
      SeriesListRep getEvaluationsUsage​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEvaluationsUsageAsync​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback<SeriesListRep> _callback)
      Get evaluations usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEvaluationsUsageCall​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback _callback)
      Build call for getEvaluationsUsage
      ApiResponse<SeriesListRep> getEvaluationsUsageWithHttpInfo​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      SeriesListRep getEventsUsage​(java.lang.String type, java.lang.String from, java.lang.String to)
      Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEventsUsageAsync​(java.lang.String type, java.lang.String from, java.lang.String to, ApiCallback<SeriesListRep> _callback)
      Get events usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEventsUsageCall​(java.lang.String type, java.lang.String from, java.lang.String to, ApiCallback _callback)
      Build call for getEventsUsage
      ApiResponse<SeriesListRep> getEventsUsageWithHttpInfo​(java.lang.String type, java.lang.String from, java.lang.String to)
      Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      int getHostIndex()  
      SdkListRep getMauSdksByType​(java.lang.String from, java.lang.String to, java.lang.String sdktype)
      Get MAU SDKs by type Get a list of SDKs.
      okhttp3.Call getMauSdksByTypeAsync​(java.lang.String from, java.lang.String to, java.lang.String sdktype, ApiCallback<SdkListRep> _callback)
      Get MAU SDKs by type (asynchronously) Get a list of SDKs.
      okhttp3.Call getMauSdksByTypeCall​(java.lang.String from, java.lang.String to, java.lang.String sdktype, ApiCallback _callback)
      Build call for getMauSdksByType
      ApiResponse<SdkListRep> getMauSdksByTypeWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String sdktype)
      Get MAU SDKs by type Get a list of SDKs.
      SeriesListRep getMauUsage​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby)
      Get MAU usage Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account.
      okhttp3.Call getMauUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby, ApiCallback<SeriesListRep> _callback)
      Get MAU usage (asynchronously) Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account.
      SeriesListRep getMauUsageByCategory​(java.lang.String from, java.lang.String to)
      Get MAU usage by category Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users.
      okhttp3.Call getMauUsageByCategoryAsync​(java.lang.String from, java.lang.String to, ApiCallback<SeriesListRep> _callback)
      Get MAU usage by category (asynchronously) Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users.
      okhttp3.Call getMauUsageByCategoryCall​(java.lang.String from, java.lang.String to, ApiCallback _callback)
      Build call for getMauUsageByCategory
      ApiResponse<SeriesListRep> getMauUsageByCategoryWithHttpInfo​(java.lang.String from, java.lang.String to)
      Get MAU usage by category Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users.
      okhttp3.Call getMauUsageCall​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby, ApiCallback _callback)
      Build call for getMauUsage
      ApiResponse<SeriesListRep> getMauUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby)
      Get MAU usage Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account.
      SeriesListRep getStreamUsage​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period.
      okhttp3.Call getStreamUsageAsync​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback<SeriesListRep> _callback)
      Get stream usage (asynchronously) Get a time-series array of the number of streaming connections to LaunchDarkly in each time period.
      SeriesListRep getStreamUsageBySdkVersion​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version)
      Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version.
      okhttp3.Call getStreamUsageBySdkVersionAsync​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version, ApiCallback<SeriesListRep> _callback)
      Get stream usage by SDK version (asynchronously) Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version.
      okhttp3.Call getStreamUsageBySdkVersionCall​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version, ApiCallback _callback)
      Build call for getStreamUsageBySdkVersion
      ApiResponse<SeriesListRep> getStreamUsageBySdkVersionWithHttpInfo​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version)
      Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version.
      okhttp3.Call getStreamUsageCall​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback _callback)
      Build call for getStreamUsage
      SdkVersionListRep getStreamUsageSdkversion​(java.lang.String source)
      Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version.
      okhttp3.Call getStreamUsageSdkversionAsync​(java.lang.String source, ApiCallback<SdkVersionListRep> _callback)
      Get stream usage SDK versions (asynchronously) Get a list of SDK version objects, which contain an SDK name and version.
      okhttp3.Call getStreamUsageSdkversionCall​(java.lang.String source, ApiCallback _callback)
      Build call for getStreamUsageSdkversion
      ApiResponse<SdkVersionListRep> getStreamUsageSdkversionWithHttpInfo​(java.lang.String source)
      Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version.
      ApiResponse<SeriesListRep> getStreamUsageWithHttpInfo​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period.
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccountUsageBetaApi

        public AccountUsageBetaApi()
      • AccountUsageBetaApi

        public AccountUsageBetaApi​(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)
      • getEvaluationsUsageCall

        public okhttp3.Call getEvaluationsUsageCall​(java.lang.String projectKey,
                                                    java.lang.String environmentKey,
                                                    java.lang.String featureFlagKey,
                                                    java.lang.String from,
                                                    java.lang.String to,
                                                    java.lang.String tz,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for getEvaluationsUsage
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getEvaluationsUsage

        public SeriesListRep getEvaluationsUsage​(java.lang.String projectKey,
                                                 java.lang.String environmentKey,
                                                 java.lang.String featureFlagKey,
                                                 java.lang.String from,
                                                 java.lang.String to,
                                                 java.lang.String tz)
                                          throws ApiException
        Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEvaluationsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getEvaluationsUsageWithHttpInfo​(java.lang.String projectKey,
                                                                          java.lang.String environmentKey,
                                                                          java.lang.String featureFlagKey,
                                                                          java.lang.String from,
                                                                          java.lang.String to,
                                                                          java.lang.String tz)
                                                                   throws ApiException
        Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEvaluationsUsageAsync

        public okhttp3.Call getEvaluationsUsageAsync​(java.lang.String projectKey,
                                                     java.lang.String environmentKey,
                                                     java.lang.String featureFlagKey,
                                                     java.lang.String from,
                                                     java.lang.String to,
                                                     java.lang.String tz,
                                                     ApiCallback<SeriesListRep> _callback)
                                              throws ApiException
        Get evaluations usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (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
      • getEventsUsageCall

        public okhttp3.Call getEventsUsageCall​(java.lang.String type,
                                               java.lang.String from,
                                               java.lang.String to,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getEventsUsage
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getEventsUsage

        public SeriesListRep getEventsUsage​(java.lang.String type,
                                            java.lang.String from,
                                            java.lang.String to)
                                     throws ApiException
        Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEventsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getEventsUsageWithHttpInfo​(java.lang.String type,
                                                                     java.lang.String from,
                                                                     java.lang.String to)
                                                              throws ApiException
        Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEventsUsageAsync

        public okhttp3.Call getEventsUsageAsync​(java.lang.String type,
                                                java.lang.String from,
                                                java.lang.String to,
                                                ApiCallback<SeriesListRep> _callback)
                                         throws ApiException
        Get events usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (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
      • getMauSdksByTypeCall

        public okhttp3.Call getMauSdksByTypeCall​(java.lang.String from,
                                                 java.lang.String to,
                                                 java.lang.String sdktype,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for getMauSdksByType
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to seven days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server` (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMauSdksByType

        public SdkListRep getMauSdksByType​(java.lang.String from,
                                           java.lang.String to,
                                           java.lang.String sdktype)
                                    throws ApiException
        Get MAU SDKs by type Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to seven days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server` (optional)
        Returns:
        SdkListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauSdksByTypeWithHttpInfo

        public ApiResponse<SdkListRep> getMauSdksByTypeWithHttpInfo​(java.lang.String from,
                                                                    java.lang.String to,
                                                                    java.lang.String sdktype)
                                                             throws ApiException
        Get MAU SDKs by type Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to seven days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server` (optional)
        Returns:
        ApiResponse<SdkListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauSdksByTypeAsync

        public okhttp3.Call getMauSdksByTypeAsync​(java.lang.String from,
                                                  java.lang.String to,
                                                  java.lang.String sdktype,
                                                  ApiCallback<SdkListRep> _callback)
                                           throws ApiException
        Get MAU SDKs by type (asynchronously) Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to seven days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server` (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
      • getMauUsageCall

        public okhttp3.Call getMauUsageCall​(java.lang.String from,
                                            java.lang.String to,
                                            java.lang.String project,
                                            java.lang.String environment,
                                            java.lang.String sdktype,
                                            java.lang.String sdk,
                                            java.lang.String anonymous,
                                            java.lang.String groupby,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for getMauUsage
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMauUsage

        public SeriesListRep getMauUsage​(java.lang.String from,
                                         java.lang.String to,
                                         java.lang.String project,
                                         java.lang.String environment,
                                         java.lang.String sdktype,
                                         java.lang.String sdk,
                                         java.lang.String anonymous,
                                         java.lang.String groupby)
                                  throws ApiException
        Get MAU usage Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getMauUsageWithHttpInfo​(java.lang.String from,
                                                                  java.lang.String to,
                                                                  java.lang.String project,
                                                                  java.lang.String environment,
                                                                  java.lang.String sdktype,
                                                                  java.lang.String sdk,
                                                                  java.lang.String anonymous,
                                                                  java.lang.String groupby)
                                                           throws ApiException
        Get MAU usage Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageAsync

        public okhttp3.Call getMauUsageAsync​(java.lang.String from,
                                             java.lang.String to,
                                             java.lang.String project,
                                             java.lang.String environment,
                                             java.lang.String sdktype,
                                             java.lang.String sdk,
                                             java.lang.String anonymous,
                                             java.lang.String groupby,
                                             ApiCallback<SeriesListRep> _callback)
                                      throws ApiException
        Get MAU usage (asynchronously) Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous (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
      • getMauUsageByCategoryCall

        public okhttp3.Call getMauUsageByCategoryCall​(java.lang.String from,
                                                      java.lang.String to,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for getMauUsageByCategory
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMauUsageByCategory

        public SeriesListRep getMauUsageByCategory​(java.lang.String from,
                                                   java.lang.String to)
                                            throws ApiException
        Get MAU usage by category Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageByCategoryWithHttpInfo

        public ApiResponse<SeriesListRep> getMauUsageByCategoryWithHttpInfo​(java.lang.String from,
                                                                            java.lang.String to)
                                                                     throws ApiException
        Get MAU usage by category Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageByCategoryAsync

        public okhttp3.Call getMauUsageByCategoryAsync​(java.lang.String from,
                                                       java.lang.String to,
                                                       ApiCallback<SeriesListRep> _callback)
                                                throws ApiException
        Get MAU usage by category (asynchronously) Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (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
      • getStreamUsageCall

        public okhttp3.Call getStreamUsageCall​(java.lang.String source,
                                               java.lang.String from,
                                               java.lang.String to,
                                               java.lang.String tz,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getStreamUsage
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStreamUsage

        public SeriesListRep getStreamUsage​(java.lang.String source,
                                            java.lang.String from,
                                            java.lang.String to,
                                            java.lang.String tz)
                                     throws ApiException
        Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getStreamUsageWithHttpInfo​(java.lang.String source,
                                                                     java.lang.String from,
                                                                     java.lang.String to,
                                                                     java.lang.String tz)
                                                              throws ApiException
        Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageAsync

        public okhttp3.Call getStreamUsageAsync​(java.lang.String source,
                                                java.lang.String from,
                                                java.lang.String to,
                                                java.lang.String tz,
                                                ApiCallback<SeriesListRep> _callback)
                                         throws ApiException
        Get stream usage (asynchronously) Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (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
      • getStreamUsageBySdkVersionCall

        public okhttp3.Call getStreamUsageBySdkVersionCall​(java.lang.String source,
                                                           java.lang.String from,
                                                           java.lang.String to,
                                                           java.lang.String tz,
                                                           java.lang.String sdk,
                                                           java.lang.String version,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for getStreamUsageBySdkVersion
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStreamUsageBySdkVersion

        public SeriesListRep getStreamUsageBySdkVersion​(java.lang.String source,
                                                        java.lang.String from,
                                                        java.lang.String to,
                                                        java.lang.String tz,
                                                        java.lang.String sdk,
                                                        java.lang.String version)
                                                 throws ApiException
        Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageBySdkVersionWithHttpInfo

        public ApiResponse<SeriesListRep> getStreamUsageBySdkVersionWithHttpInfo​(java.lang.String source,
                                                                                 java.lang.String from,
                                                                                 java.lang.String to,
                                                                                 java.lang.String tz,
                                                                                 java.lang.String sdk,
                                                                                 java.lang.String version)
                                                                          throws ApiException
        Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageBySdkVersionAsync

        public okhttp3.Call getStreamUsageBySdkVersionAsync​(java.lang.String source,
                                                            java.lang.String from,
                                                            java.lang.String to,
                                                            java.lang.String tz,
                                                            java.lang.String sdk,
                                                            java.lang.String version,
                                                            ApiCallback<SeriesListRep> _callback)
                                                     throws ApiException
        Get stream usage by SDK version (asynchronously) Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (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
      • getStreamUsageSdkversionCall

        public okhttp3.Call getStreamUsageSdkversionCall​(java.lang.String source,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for getStreamUsageSdkversion
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStreamUsageSdkversion

        public SdkVersionListRep getStreamUsageSdkversion​(java.lang.String source)
                                                   throws ApiException
        Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        Returns:
        SdkVersionListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageSdkversionWithHttpInfo

        public ApiResponse<SdkVersionListRep> getStreamUsageSdkversionWithHttpInfo​(java.lang.String source)
                                                                            throws ApiException
        Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        Returns:
        ApiResponse<SdkVersionListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageSdkversionAsync

        public okhttp3.Call getStreamUsageSdkversionAsync​(java.lang.String source,
                                                          ApiCallback<SdkVersionListRep> _callback)
                                                   throws ApiException
        Get stream usage SDK versions (asynchronously) Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (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