Package com.launchdarkly.api.api
Class ApplicationsBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.ApplicationsBetaApi
-
public class ApplicationsBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApplicationsBetaApi()ApplicationsBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteApplication(java.lang.String applicationKey)Delete application Delete an application.okhttp3.CalldeleteApplicationAsync(java.lang.String applicationKey, ApiCallback<java.lang.Void> _callback)Delete application (asynchronously) Delete an application.okhttp3.CalldeleteApplicationCall(java.lang.String applicationKey, ApiCallback _callback)Build call for deleteApplicationvoiddeleteApplicationVersion(java.lang.String applicationKey, java.lang.String versionKey)Delete application version Delete an application version.okhttp3.CalldeleteApplicationVersionAsync(java.lang.String applicationKey, java.lang.String versionKey, ApiCallback<java.lang.Void> _callback)Delete application version (asynchronously) Delete an application version.okhttp3.CalldeleteApplicationVersionCall(java.lang.String applicationKey, java.lang.String versionKey, ApiCallback _callback)Build call for deleteApplicationVersionApiResponse<java.lang.Void>deleteApplicationVersionWithHttpInfo(java.lang.String applicationKey, java.lang.String versionKey)Delete application version Delete an application version.ApiResponse<java.lang.Void>deleteApplicationWithHttpInfo(java.lang.String applicationKey)Delete application Delete an application.ApiClientgetApiClient()ApplicationRepgetApplication(java.lang.String applicationKey, java.lang.String expand)Get application by key Retrieve an application by the application key.okhttp3.CallgetApplicationAsync(java.lang.String applicationKey, java.lang.String expand, ApiCallback<ApplicationRep> _callback)Get application by key (asynchronously) Retrieve an application by the application key.okhttp3.CallgetApplicationCall(java.lang.String applicationKey, java.lang.String expand, ApiCallback _callback)Build call for getApplicationApplicationCollectionRepgetApplications(java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String expand)Get applications Get a list of applications.okhttp3.CallgetApplicationsAsync(java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String expand, ApiCallback<ApplicationCollectionRep> _callback)Get applications (asynchronously) Get a list of applications.okhttp3.CallgetApplicationsCall(java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String expand, ApiCallback _callback)Build call for getApplicationsApiResponse<ApplicationCollectionRep>getApplicationsWithHttpInfo(java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort, java.lang.String expand)Get applications Get a list of applications.ApplicationVersionsCollectionRepgetApplicationVersions(java.lang.String applicationKey, java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort)Get application versions by application key Get a list of versions for a specific application in an account.okhttp3.CallgetApplicationVersionsAsync(java.lang.String applicationKey, java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort, ApiCallback<ApplicationVersionsCollectionRep> _callback)Get application versions by application key (asynchronously) Get a list of versions for a specific application in an account.okhttp3.CallgetApplicationVersionsCall(java.lang.String applicationKey, java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort, ApiCallback _callback)Build call for getApplicationVersionsApiResponse<ApplicationVersionsCollectionRep>getApplicationVersionsWithHttpInfo(java.lang.String applicationKey, java.lang.String filter, java.lang.Long limit, java.lang.Long offset, java.lang.String sort)Get application versions by application key Get a list of versions for a specific application in an account.ApiResponse<ApplicationRep>getApplicationWithHttpInfo(java.lang.String applicationKey, java.lang.String expand)Get application by key Retrieve an application by the application key.java.lang.StringgetCustomBaseUrl()intgetHostIndex()ApplicationReppatchApplication(java.lang.String applicationKey, java.util.List<PatchOperation> patchOperation)Update application Update an application.okhttp3.CallpatchApplicationAsync(java.lang.String applicationKey, java.util.List<PatchOperation> patchOperation, ApiCallback<ApplicationRep> _callback)Update application (asynchronously) Update an application.okhttp3.CallpatchApplicationCall(java.lang.String applicationKey, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for patchApplicationApplicationVersionReppatchApplicationVersion(java.lang.String applicationKey, java.lang.String versionKey, java.util.List<PatchOperation> patchOperation)Update application version Update an application version.okhttp3.CallpatchApplicationVersionAsync(java.lang.String applicationKey, java.lang.String versionKey, java.util.List<PatchOperation> patchOperation, ApiCallback<ApplicationVersionRep> _callback)Update application version (asynchronously) Update an application version.okhttp3.CallpatchApplicationVersionCall(java.lang.String applicationKey, java.lang.String versionKey, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for patchApplicationVersionApiResponse<ApplicationVersionRep>patchApplicationVersionWithHttpInfo(java.lang.String applicationKey, java.lang.String versionKey, java.util.List<PatchOperation> patchOperation)Update application version Update an application version.ApiResponse<ApplicationRep>patchApplicationWithHttpInfo(java.lang.String applicationKey, java.util.List<PatchOperation> patchOperation)Update application Update an application.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
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(@Nonnull java.lang.String applicationKey, ApiCallback _callback) throws ApiExceptionBuild 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(@Nonnull java.lang.String applicationKey) throws ApiExceptionDelete 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(@Nonnull 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(@Nonnull java.lang.String applicationKey, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete 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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey, ApiCallback _callback) throws ApiExceptionBuild 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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey) throws ApiExceptionDelete 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(@Nonnull java.lang.String applicationKey, @Nonnull 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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete 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(@Nonnull java.lang.String applicationKey, @Nullable java.lang.String expand, ApiCallback _callback) throws ApiExceptionBuild 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(@Nonnull java.lang.String applicationKey, @Nullable 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(@Nonnull java.lang.String applicationKey, @Nullable 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(@Nonnull java.lang.String applicationKey, @Nullable java.lang.String expand, ApiCallback<ApplicationRep> _callback) throws ApiExceptionGet 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(@Nonnull java.lang.String applicationKey, @Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable java.lang.String sort, ApiCallback _callback) throws ApiExceptionBuild call for getApplicationVersions- Parameters:
applicationKey- The application key (required)filter- Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nonnull java.lang.String applicationKey, @Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable 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`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nonnull java.lang.String applicationKey, @Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable 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`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nonnull java.lang.String applicationKey, @Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable java.lang.String sort, ApiCallback<ApplicationVersionsCollectionRep> _callback) throws ApiExceptionGet 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`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable java.lang.String sort, @Nullable java.lang.String expand, ApiCallback _callback) throws ApiExceptionBuild call for getApplications- Parameters:
filter- Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable java.lang.String sort, @Nullable 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`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable java.lang.String sort, @Nullable 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`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nullable java.lang.String filter, @Nullable java.lang.Long limit, @Nullable java.lang.Long offset, @Nullable java.lang.String sort, @Nullable java.lang.String expand, ApiCallback<ApplicationCollectionRep> _callback) throws ApiExceptionGet 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`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (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(@Nonnull java.lang.String applicationKey, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild 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(@Nonnull java.lang.String applicationKey, @Nonnull 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](https://launchdarkly.com/docs/api#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(@Nonnull java.lang.String applicationKey, @Nonnull 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](https://launchdarkly.com/docs/api#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(@Nonnull java.lang.String applicationKey, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback<ApplicationRep> _callback) throws ApiExceptionUpdate 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](https://launchdarkly.com/docs/api#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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild 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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey, @Nonnull 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](https://launchdarkly.com/docs/api#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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey, @Nonnull 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](https://launchdarkly.com/docs/api#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(@Nonnull java.lang.String applicationKey, @Nonnull java.lang.String versionKey, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback<ApplicationVersionRep> _callback) throws ApiExceptionUpdate 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](https://launchdarkly.com/docs/api#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
-
-