Class ApplicationsBetaApi


  • public class ApplicationsBetaApi
    extends java.lang.Object
    • Constructor Detail

      • ApplicationsBetaApi

        public ApplicationsBetaApi()
      • ApplicationsBetaApi

        public ApplicationsBetaApi​(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)
      • deleteApplicationCall

        public okhttp3.Call deleteApplicationCall​(java.lang.String applicationKey,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for deleteApplication
        Parameters:
        applicationKey - The application key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteApplication

        public void deleteApplication​(java.lang.String applicationKey)
                               throws ApiException
        Delete application Delete an application.
        Parameters:
        applicationKey - The application key (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationWithHttpInfo

        public ApiResponse<java.lang.Void> deleteApplicationWithHttpInfo​(java.lang.String applicationKey)
                                                                  throws ApiException
        Delete application Delete an application.
        Parameters:
        applicationKey - The application key (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationAsync

        public okhttp3.Call deleteApplicationAsync​(java.lang.String applicationKey,
                                                   ApiCallback<java.lang.Void> _callback)
                                            throws ApiException
        Delete application (asynchronously) Delete an application.
        Parameters:
        applicationKey - The application key (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
      • deleteApplicationVersionCall

        public okhttp3.Call deleteApplicationVersionCall​(java.lang.String applicationKey,
                                                         java.lang.String versionKey,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for deleteApplicationVersion
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteApplicationVersion

        public void deleteApplicationVersion​(java.lang.String applicationKey,
                                             java.lang.String versionKey)
                                      throws ApiException
        Delete application version Delete an application version.
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationVersionWithHttpInfo

        public ApiResponse<java.lang.Void> deleteApplicationVersionWithHttpInfo​(java.lang.String applicationKey,
                                                                                java.lang.String versionKey)
                                                                         throws ApiException
        Delete application version Delete an application version.
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationVersionAsync

        public okhttp3.Call deleteApplicationVersionAsync​(java.lang.String applicationKey,
                                                          java.lang.String versionKey,
                                                          ApiCallback<java.lang.Void> _callback)
                                                   throws ApiException
        Delete application version (asynchronously) Delete an application version.
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (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
      • getApplicationCall

        public okhttp3.Call getApplicationCall​(java.lang.String applicationKey,
                                               java.lang.String expand,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getApplication
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getApplication

        public ApplicationRep getApplication​(java.lang.String applicationKey,
                                             java.lang.String expand)
                                      throws ApiException
        Get application by key Retrieve an application by the application key. ### Expanding the application response LaunchDarkly supports expanding the \"Get application\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApplicationRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationWithHttpInfo

        public ApiResponse<ApplicationRep> getApplicationWithHttpInfo​(java.lang.String applicationKey,
                                                                      java.lang.String expand)
                                                               throws ApiException
        Get application by key Retrieve an application by the application key. ### Expanding the application response LaunchDarkly supports expanding the \"Get application\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApiResponse<ApplicationRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationAsync

        public okhttp3.Call getApplicationAsync​(java.lang.String applicationKey,
                                                java.lang.String expand,
                                                ApiCallback<ApplicationRep> _callback)
                                         throws ApiException
        Get application by key (asynchronously) Retrieve an application by the application key. ### Expanding the application response LaunchDarkly supports expanding the \"Get application\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (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
      • getApplicationVersionsCall

        public okhttp3.Call getApplicationVersionsCall​(java.lang.String applicationKey,
                                                       java.lang.String filter,
                                                       java.lang.Long limit,
                                                       java.lang.Long offset,
                                                       java.lang.String sort,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getApplicationVersions
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. Example: `filter=key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of versions to return. Defaults to 50. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getApplicationVersions

        public ApplicationVersionsCollectionRep getApplicationVersions​(java.lang.String applicationKey,
                                                                       java.lang.String filter,
                                                                       java.lang.Long limit,
                                                                       java.lang.Long offset,
                                                                       java.lang.String sort)
                                                                throws ApiException
        Get application versions by application key Get a list of versions for a specific application in an account.
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. Example: `filter=key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of versions to return. Defaults to 50. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        Returns:
        ApplicationVersionsCollectionRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationVersionsWithHttpInfo

        public ApiResponse<ApplicationVersionsCollectionRep> getApplicationVersionsWithHttpInfo​(java.lang.String applicationKey,
                                                                                                java.lang.String filter,
                                                                                                java.lang.Long limit,
                                                                                                java.lang.Long offset,
                                                                                                java.lang.String sort)
                                                                                         throws ApiException
        Get application versions by application key Get a list of versions for a specific application in an account.
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. Example: `filter=key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of versions to return. Defaults to 50. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        Returns:
        ApiResponse<ApplicationVersionsCollectionRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationVersionsAsync

        public okhttp3.Call getApplicationVersionsAsync​(java.lang.String applicationKey,
                                                        java.lang.String filter,
                                                        java.lang.Long limit,
                                                        java.lang.Long offset,
                                                        java.lang.String sort,
                                                        ApiCallback<ApplicationVersionsCollectionRep> _callback)
                                                 throws ApiException
        Get application versions by application key (asynchronously) Get a list of versions for a specific application in an account.
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. Example: `filter=key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of versions to return. Defaults to 50. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (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
      • getApplicationsCall

        public okhttp3.Call getApplicationsCall​(java.lang.String filter,
                                                java.lang.Long limit,
                                                java.lang.Long offset,
                                                java.lang.String sort,
                                                java.lang.String expand,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for getApplications
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. Example: `filter=kind anyOf ['mobile', 'server'],key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of applications to return. Defaults to 10. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getApplications

        public ApplicationCollectionRep getApplications​(java.lang.String filter,
                                                        java.lang.Long limit,
                                                        java.lang.Long offset,
                                                        java.lang.String sort,
                                                        java.lang.String expand)
                                                 throws ApiException
        Get applications Get a list of applications. ### Expanding the applications response LaunchDarkly supports expanding the \"Get applications\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. Example: `filter=kind anyOf ['mobile', 'server'],key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of applications to return. Defaults to 10. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApplicationCollectionRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationsWithHttpInfo

        public ApiResponse<ApplicationCollectionRep> getApplicationsWithHttpInfo​(java.lang.String filter,
                                                                                 java.lang.Long limit,
                                                                                 java.lang.Long offset,
                                                                                 java.lang.String sort,
                                                                                 java.lang.String expand)
                                                                          throws ApiException
        Get applications Get a list of applications. ### Expanding the applications response LaunchDarkly supports expanding the \"Get applications\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. Example: `filter=kind anyOf ['mobile', 'server'],key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of applications to return. Defaults to 10. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApiResponse<ApplicationCollectionRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationsAsync

        public okhttp3.Call getApplicationsAsync​(java.lang.String filter,
                                                 java.lang.Long limit,
                                                 java.lang.Long offset,
                                                 java.lang.String sort,
                                                 java.lang.String expand,
                                                 ApiCallback<ApplicationCollectionRep> _callback)
                                          throws ApiException
        Get applications (asynchronously) Get a list of applications. ### Expanding the applications response LaunchDarkly supports expanding the \"Get applications\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. Example: `filter=kind anyOf ['mobile', 'server'],key equals 'test-key'`. To learn more about the filter syntax, read [Filtering applications and application versions](/tag/Applications-(beta)#filtering-contexts-and-context-instances). (optional)
        limit - The number of applications to return. Defaults to 10. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (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
      • patchApplicationCall

        public okhttp3.Call patchApplicationCall​(java.lang.String applicationKey,
                                                 java.util.List<PatchOperation> patchOperation,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for patchApplication
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchApplication

        public ApplicationRep patchApplication​(java.lang.String applicationKey,
                                               java.util.List<PatchOperation> patchOperation)
                                        throws ApiException
        Update application Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (required)
        Returns:
        ApplicationRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationWithHttpInfo

        public ApiResponse<ApplicationRep> patchApplicationWithHttpInfo​(java.lang.String applicationKey,
                                                                        java.util.List<PatchOperation> patchOperation)
                                                                 throws ApiException
        Update application Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (required)
        Returns:
        ApiResponse<ApplicationRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationAsync

        public okhttp3.Call patchApplicationAsync​(java.lang.String applicationKey,
                                                  java.util.List<PatchOperation> patchOperation,
                                                  ApiCallback<ApplicationRep> _callback)
                                           throws ApiException
        Update application (asynchronously) Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (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
      • patchApplicationVersionCall

        public okhttp3.Call patchApplicationVersionCall​(java.lang.String applicationKey,
                                                        java.lang.String versionKey,
                                                        java.util.List<PatchOperation> patchOperation,
                                                        ApiCallback _callback)
                                                 throws ApiException
        Build call for patchApplicationVersion
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchApplicationVersion

        public ApplicationVersionRep patchApplicationVersion​(java.lang.String applicationKey,
                                                             java.lang.String versionKey,
                                                             java.util.List<PatchOperation> patchOperation)
                                                      throws ApiException
        Update application version Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (required)
        Returns:
        ApplicationVersionRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationVersionWithHttpInfo

        public ApiResponse<ApplicationVersionRep> patchApplicationVersionWithHttpInfo​(java.lang.String applicationKey,
                                                                                      java.lang.String versionKey,
                                                                                      java.util.List<PatchOperation> patchOperation)
                                                                               throws ApiException
        Update application version Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (required)
        Returns:
        ApiResponse<ApplicationVersionRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationVersionAsync

        public okhttp3.Call patchApplicationVersionAsync​(java.lang.String applicationKey,
                                                         java.lang.String versionKey,
                                                         java.util.List<PatchOperation> patchOperation,
                                                         ApiCallback<ApplicationVersionRep> _callback)
                                                  throws ApiException
        Update application version (asynchronously) Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (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