Package com.launchdarkly.api.api
Class ApprovalsApi
- java.lang.Object
-
- com.launchdarkly.api.api.ApprovalsApi
-
public class ApprovalsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApprovalsApi()ApprovalsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteApprovalRequest(java.lang.String id)Delete approval request Delete an approval request.okhttp3.CalldeleteApprovalRequestAsync(java.lang.String id, ApiCallback<java.lang.Void> _callback)Delete approval request (asynchronously) Delete an approval request.okhttp3.CalldeleteApprovalRequestCall(java.lang.String id, ApiCallback _callback)Build call for deleteApprovalRequestvoiddeleteApprovalRequestForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)Delete approval request for a flag Delete an approval request for a feature flag.okhttp3.CalldeleteApprovalRequestForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<java.lang.Void> _callback)Delete approval request for a flag (asynchronously) Delete an approval request for a feature flag.okhttp3.CalldeleteApprovalRequestForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback)Build call for deleteApprovalRequestForFlagApiResponse<java.lang.Void>deleteApprovalRequestForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)Delete approval request for a flag Delete an approval request for a feature flag.ApiResponse<java.lang.Void>deleteApprovalRequestWithHttpInfo(java.lang.String id)Delete approval request Delete an approval request.ApiClientgetApiClient()FlagConfigApprovalRequestResponsegetApprovalForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)Get approval request for a flag Get a single approval request for a feature flag.okhttp3.CallgetApprovalForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<FlagConfigApprovalRequestResponse> _callback)Get approval request for a flag (asynchronously) Get a single approval request for a feature flag.okhttp3.CallgetApprovalForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback)Build call for getApprovalForFlagApiResponse<FlagConfigApprovalRequestResponse>getApprovalForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)Get approval request for a flag Get a single approval request for a feature flag.ExpandableApprovalRequestResponsegetApprovalRequest(java.lang.String id, java.lang.String expand)Get approval request Get an approval request by approval request ID.okhttp3.CallgetApprovalRequestAsync(java.lang.String id, java.lang.String expand, ApiCallback<ExpandableApprovalRequestResponse> _callback)Get approval request (asynchronously) Get an approval request by approval request ID.okhttp3.CallgetApprovalRequestCall(java.lang.String id, java.lang.String expand, ApiCallback _callback)Build call for getApprovalRequestExpandableApprovalRequestsResponsegetApprovalRequests(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset)List approval requests Get all approval requests.okhttp3.CallgetApprovalRequestsAsync(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset, ApiCallback<ExpandableApprovalRequestsResponse> _callback)List approval requests (asynchronously) Get all approval requests.okhttp3.CallgetApprovalRequestsCall(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset, ApiCallback _callback)Build call for getApprovalRequestsApiResponse<ExpandableApprovalRequestsResponse>getApprovalRequestsWithHttpInfo(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset)List approval requests Get all approval requests.ApiResponse<ExpandableApprovalRequestResponse>getApprovalRequestWithHttpInfo(java.lang.String id, java.lang.String expand)Get approval request Get an approval request by approval request ID.FlagConfigApprovalRequestsResponsegetApprovalsForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)List approval requests for a flag Get all approval requests for a feature flag.okhttp3.CallgetApprovalsForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FlagConfigApprovalRequestsResponse> _callback)List approval requests for a flag (asynchronously) Get all approval requests for a feature flag.okhttp3.CallgetApprovalsForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback)Build call for getApprovalsForFlagApiResponse<FlagConfigApprovalRequestsResponse>getApprovalsForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)List approval requests for a flag Get all approval requests for a feature flag.java.lang.StringgetCustomBaseUrl()intgetHostIndex()ApprovalRequestResponsepostApprovalRequest(CreateApprovalRequestRequest createApprovalRequestRequest)Create approval request Create an approval request.ApprovalRequestResponsepostApprovalRequestApply(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest)Apply approval request Apply an approval request that has been approved.okhttp3.CallpostApprovalRequestApplyAsync(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback<ApprovalRequestResponse> _callback)Apply approval request (asynchronously) Apply an approval request that has been approved.okhttp3.CallpostApprovalRequestApplyCall(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback _callback)Build call for postApprovalRequestApplyFlagConfigApprovalRequestResponsepostApprovalRequestApplyForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest)Apply approval request for a flag Apply an approval request that has been approved.okhttp3.CallpostApprovalRequestApplyForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)Apply approval request for a flag (asynchronously) Apply an approval request that has been approved.okhttp3.CallpostApprovalRequestApplyForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback _callback)Build call for postApprovalRequestApplyForFlagApiResponse<FlagConfigApprovalRequestResponse>postApprovalRequestApplyForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest)Apply approval request for a flag Apply an approval request that has been approved.ApiResponse<ApprovalRequestResponse>postApprovalRequestApplyWithHttpInfo(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest)Apply approval request Apply an approval request that has been approved.okhttp3.CallpostApprovalRequestAsync(CreateApprovalRequestRequest createApprovalRequestRequest, ApiCallback<ApprovalRequestResponse> _callback)Create approval request (asynchronously) Create an approval request.okhttp3.CallpostApprovalRequestCall(CreateApprovalRequestRequest createApprovalRequestRequest, ApiCallback _callback)Build call for postApprovalRequestFlagConfigApprovalRequestResponsepostApprovalRequestForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest)Create approval request for a flag Create an approval request for a feature flag.okhttp3.CallpostApprovalRequestForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)Create approval request for a flag (asynchronously) Create an approval request for a feature flag.okhttp3.CallpostApprovalRequestForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback _callback)Build call for postApprovalRequestForFlagApiResponse<FlagConfigApprovalRequestResponse>postApprovalRequestForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest)Create approval request for a flag Create an approval request for a feature flag.ApprovalRequestResponsepostApprovalRequestReview(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest)Review approval request Review an approval request by approving or denying changes.okhttp3.CallpostApprovalRequestReviewAsync(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback<ApprovalRequestResponse> _callback)Review approval request (asynchronously) Review an approval request by approving or denying changes.okhttp3.CallpostApprovalRequestReviewCall(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback _callback)Build call for postApprovalRequestReviewFlagConfigApprovalRequestResponsepostApprovalRequestReviewForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest)Review approval request for a flag Review an approval request by approving or denying changes.okhttp3.CallpostApprovalRequestReviewForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)Review approval request for a flag (asynchronously) Review an approval request by approving or denying changes.okhttp3.CallpostApprovalRequestReviewForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback _callback)Build call for postApprovalRequestReviewForFlagApiResponse<FlagConfigApprovalRequestResponse>postApprovalRequestReviewForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest)Review approval request for a flag Review an approval request by approving or denying changes.ApiResponse<ApprovalRequestResponse>postApprovalRequestReviewWithHttpInfo(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest)Review approval request Review an approval request by approving or denying changes.ApiResponse<ApprovalRequestResponse>postApprovalRequestWithHttpInfo(CreateApprovalRequestRequest createApprovalRequestRequest)Create approval request Create an approval request.FlagConfigApprovalRequestResponsepostFlagCopyConfigApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest)Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.okhttp3.CallpostFlagCopyConfigApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)Create approval request to copy flag configurations across environments (asynchronously) Create an approval request to copy a feature flag's configuration across environments.okhttp3.CallpostFlagCopyConfigApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback _callback)Build call for postFlagCopyConfigApprovalRequestApiResponse<FlagConfigApprovalRequestResponse>postFlagCopyConfigApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest)Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
ApprovalsApi
public ApprovalsApi()
-
ApprovalsApi
public ApprovalsApi(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)
-
deleteApprovalRequestCall
public okhttp3.Call deleteApprovalRequestCall(java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for deleteApprovalRequest- Parameters:
id- The approval request ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteApprovalRequest
public void deleteApprovalRequest(java.lang.String id) throws ApiExceptionDelete approval request Delete an approval request.- Parameters:
id- The approval request ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteApprovalRequestWithHttpInfo
public ApiResponse<java.lang.Void> deleteApprovalRequestWithHttpInfo(java.lang.String id) throws ApiException
Delete approval request Delete an approval request.- Parameters:
id- The approval request ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteApprovalRequestAsync
public okhttp3.Call deleteApprovalRequestAsync(java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete approval request (asynchronously) Delete an approval request.- Parameters:
id- The approval request ID (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
-
deleteApprovalRequestForFlagCall
public okhttp3.Call deleteApprovalRequestForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for deleteApprovalRequestForFlag- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteApprovalRequestForFlag
public void deleteApprovalRequestForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiExceptionDelete approval request for a flag Delete an approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteApprovalRequestForFlagWithHttpInfo
public ApiResponse<java.lang.Void> deleteApprovalRequestForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Delete approval request for a flag Delete an approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteApprovalRequestForFlagAsync
public okhttp3.Call deleteApprovalRequestForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete approval request for a flag (asynchronously) Delete an approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (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
-
getApprovalForFlagCall
public okhttp3.Call getApprovalForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for getApprovalForFlag- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getApprovalForFlag
public FlagConfigApprovalRequestResponse getApprovalForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Get approval request for a flag Get a single approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalForFlagWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> getApprovalForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Get approval request for a flag Get a single approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalForFlagAsync
public okhttp3.Call getApprovalForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiExceptionGet approval request for a flag (asynchronously) Get a single approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (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
-
getApprovalRequestCall
public okhttp3.Call getApprovalRequestCall(java.lang.String id, java.lang.String expand, ApiCallback _callback) throws ApiExceptionBuild call for getApprovalRequest- Parameters:
id- The approval request ID (required)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getApprovalRequest
public ExpandableApprovalRequestResponse getApprovalRequest(java.lang.String id, java.lang.String expand) throws ApiException
Get approval request Get an approval request by approval request ID. ### Expanding approval response LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields: - `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to For example, `expand=project,flag` includes the `project` and `flag` fields in the response.- Parameters:
id- The approval request ID (required)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)- Returns:
- ExpandableApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalRequestWithHttpInfo
public ApiResponse<ExpandableApprovalRequestResponse> getApprovalRequestWithHttpInfo(java.lang.String id, java.lang.String expand) throws ApiException
Get approval request Get an approval request by approval request ID. ### Expanding approval response LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields: - `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to For example, `expand=project,flag` includes the `project` and `flag` fields in the response.- Parameters:
id- The approval request ID (required)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)- Returns:
- ApiResponse<ExpandableApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalRequestAsync
public okhttp3.Call getApprovalRequestAsync(java.lang.String id, java.lang.String expand, ApiCallback<ExpandableApprovalRequestResponse> _callback) throws ApiExceptionGet approval request (asynchronously) Get an approval request by approval request ID. ### Expanding approval response LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields: - `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to For example, `expand=project,flag` includes the `project` and `flag` fields in the response.- Parameters:
id- The approval request ID (required)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (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
-
getApprovalRequestsCall
public okhttp3.Call getApprovalRequestsCall(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset, ApiCallback _callback) throws ApiExceptionBuild call for getApprovalRequests- Parameters:
filter- A comma-separated list of filters. Each filter is of the form `field operator value`. Supported fields are explained above. (optional)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)limit- The number of approvals to return. Defaults to 20. Maximum limit is 200. (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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getApprovalRequests
public ExpandableApprovalRequestsResponse getApprovalRequests(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset) throws ApiException
List approval requests Get all approval requests. ### Filtering approvals LaunchDarkly supports the `filter` query param for filtering, with the following fields: - `notifyMemberIds` filters for only approvals that are assigned to a member in the specified list. For example: `filter=notifyMemberIds anyOf [\"memberId1\", \"memberId2\"]`. - `requestorId` filters for only approvals that correspond to the ID of the member who requested the approval. For example: `filter=requestorId equals 457034721476302714390214`. - `resourceId` filters for only approvals that correspond to the the specified resource identifier. For example: `filter=resourceId equals proj/my-project:env/my-environment:flag/my-flag`. - `reviewStatus` filters for only approvals which correspond to the review status in the specified list. The possible values are `approved`, `declined`, and `pending`. For example: `filter=reviewStatus anyOf [\"pending\", \"approved\"]`. - `status` filters for only approvals which correspond to the status in the specified list. The possible values are `pending`, `scheduled`, `failed`, and `completed`. For example: `filter=status anyOf [\"pending\", \"scheduled\"]`. You can also apply multiple filters at once. For example, setting `filter=projectKey equals my-project, reviewStatus anyOf [\"pending\",\"approved\"]` matches approval requests which correspond to the `my-project` project key, and a review status of either `pending` or `approved`. ### Expanding approval response LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields: - `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to For example, `expand=project,flag` includes the `project` and `flag` fields in the response.- Parameters:
filter- A comma-separated list of filters. Each filter is of the form `field operator value`. Supported fields are explained above. (optional)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)limit- The number of approvals to return. Defaults to 20. Maximum limit is 200. (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)- Returns:
- ExpandableApprovalRequestsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalRequestsWithHttpInfo
public ApiResponse<ExpandableApprovalRequestsResponse> getApprovalRequestsWithHttpInfo(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset) throws ApiException
List approval requests Get all approval requests. ### Filtering approvals LaunchDarkly supports the `filter` query param for filtering, with the following fields: - `notifyMemberIds` filters for only approvals that are assigned to a member in the specified list. For example: `filter=notifyMemberIds anyOf [\"memberId1\", \"memberId2\"]`. - `requestorId` filters for only approvals that correspond to the ID of the member who requested the approval. For example: `filter=requestorId equals 457034721476302714390214`. - `resourceId` filters for only approvals that correspond to the the specified resource identifier. For example: `filter=resourceId equals proj/my-project:env/my-environment:flag/my-flag`. - `reviewStatus` filters for only approvals which correspond to the review status in the specified list. The possible values are `approved`, `declined`, and `pending`. For example: `filter=reviewStatus anyOf [\"pending\", \"approved\"]`. - `status` filters for only approvals which correspond to the status in the specified list. The possible values are `pending`, `scheduled`, `failed`, and `completed`. For example: `filter=status anyOf [\"pending\", \"scheduled\"]`. You can also apply multiple filters at once. For example, setting `filter=projectKey equals my-project, reviewStatus anyOf [\"pending\",\"approved\"]` matches approval requests which correspond to the `my-project` project key, and a review status of either `pending` or `approved`. ### Expanding approval response LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields: - `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to For example, `expand=project,flag` includes the `project` and `flag` fields in the response.- Parameters:
filter- A comma-separated list of filters. Each filter is of the form `field operator value`. Supported fields are explained above. (optional)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)limit- The number of approvals to return. Defaults to 20. Maximum limit is 200. (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)- Returns:
- ApiResponse<ExpandableApprovalRequestsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalRequestsAsync
public okhttp3.Call getApprovalRequestsAsync(java.lang.String filter, java.lang.String expand, java.lang.Long limit, java.lang.Long offset, ApiCallback<ExpandableApprovalRequestsResponse> _callback) throws ApiExceptionList approval requests (asynchronously) Get all approval requests. ### Filtering approvals LaunchDarkly supports the `filter` query param for filtering, with the following fields: - `notifyMemberIds` filters for only approvals that are assigned to a member in the specified list. For example: `filter=notifyMemberIds anyOf [\"memberId1\", \"memberId2\"]`. - `requestorId` filters for only approvals that correspond to the ID of the member who requested the approval. For example: `filter=requestorId equals 457034721476302714390214`. - `resourceId` filters for only approvals that correspond to the the specified resource identifier. For example: `filter=resourceId equals proj/my-project:env/my-environment:flag/my-flag`. - `reviewStatus` filters for only approvals which correspond to the review status in the specified list. The possible values are `approved`, `declined`, and `pending`. For example: `filter=reviewStatus anyOf [\"pending\", \"approved\"]`. - `status` filters for only approvals which correspond to the status in the specified list. The possible values are `pending`, `scheduled`, `failed`, and `completed`. For example: `filter=status anyOf [\"pending\", \"scheduled\"]`. You can also apply multiple filters at once. For example, setting `filter=projectKey equals my-project, reviewStatus anyOf [\"pending\",\"approved\"]` matches approval requests which correspond to the `my-project` project key, and a review status of either `pending` or `approved`. ### Expanding approval response LaunchDarkly supports the `expand` query param to include additional fields in the response, with the following fields: - `flag` includes the flag the approval request belongs to - `project` includes the project the approval request belongs to - `environments` includes the environments the approval request relates to For example, `expand=project,flag` includes the `project` and `flag` fields in the response.- Parameters:
filter- A comma-separated list of filters. Each filter is of the form `field operator value`. Supported fields are explained above. (optional)expand- A comma-separated list of fields to expand in the response. Supported fields are explained above. (optional)limit- The number of approvals to return. Defaults to 20. Maximum limit is 200. (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)_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
-
getApprovalsForFlagCall
public okhttp3.Call getApprovalsForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback) throws ApiExceptionBuild call for getApprovalsForFlag- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getApprovalsForFlag
public FlagConfigApprovalRequestsResponse getApprovalsForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
List approval requests for a flag Get all approval requests for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)- Returns:
- FlagConfigApprovalRequestsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalsForFlagWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestsResponse> getApprovalsForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
List approval requests for a flag Get all approval requests for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalsForFlagAsync
public okhttp3.Call getApprovalsForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FlagConfigApprovalRequestsResponse> _callback) throws ApiExceptionList approval requests for a flag (asynchronously) Get all approval requests for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment 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
-
postApprovalRequestCall
public okhttp3.Call postApprovalRequestCall(CreateApprovalRequestRequest createApprovalRequestRequest, ApiCallback _callback) throws ApiException
Build call for postApprovalRequest- Parameters:
createApprovalRequestRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postApprovalRequest
public ApprovalRequestResponse postApprovalRequest(CreateApprovalRequestRequest createApprovalRequestRequest) throws ApiException
Create approval request Create an approval request. This endpoint currently supports creating an approval request for a flag across all environments with the following instructions: - `addVariation` - `removeVariation` - `updateVariation` - `updateDefaultVariation` For details on using these instructions, read [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag). To create an approval for a flag specific to an environment, use [Create approval request for a flag](/tag/Approvals#operation/postApprovalRequestForFlag).- Parameters:
createApprovalRequestRequest- (required)- Returns:
- ApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestWithHttpInfo
public ApiResponse<ApprovalRequestResponse> postApprovalRequestWithHttpInfo(CreateApprovalRequestRequest createApprovalRequestRequest) throws ApiException
Create approval request Create an approval request. This endpoint currently supports creating an approval request for a flag across all environments with the following instructions: - `addVariation` - `removeVariation` - `updateVariation` - `updateDefaultVariation` For details on using these instructions, read [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag). To create an approval for a flag specific to an environment, use [Create approval request for a flag](/tag/Approvals#operation/postApprovalRequestForFlag).- Parameters:
createApprovalRequestRequest- (required)- Returns:
- ApiResponse<ApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestAsync
public okhttp3.Call postApprovalRequestAsync(CreateApprovalRequestRequest createApprovalRequestRequest, ApiCallback<ApprovalRequestResponse> _callback) throws ApiException
Create approval request (asynchronously) Create an approval request. This endpoint currently supports creating an approval request for a flag across all environments with the following instructions: - `addVariation` - `removeVariation` - `updateVariation` - `updateDefaultVariation` For details on using these instructions, read [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag). To create an approval for a flag specific to an environment, use [Create approval request for a flag](/tag/Approvals#operation/postApprovalRequestForFlag).- Parameters:
createApprovalRequestRequest- (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
-
postApprovalRequestApplyCall
public okhttp3.Call postApprovalRequestApplyCall(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback _callback) throws ApiExceptionBuild call for postApprovalRequestApply- Parameters:
id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postApprovalRequestApply
public ApprovalRequestResponse postApprovalRequestApply(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest) throws ApiException
Apply approval request Apply an approval request that has been approved.- Parameters:
id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (required)- Returns:
- ApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestApplyWithHttpInfo
public ApiResponse<ApprovalRequestResponse> postApprovalRequestApplyWithHttpInfo(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest) throws ApiException
Apply approval request Apply an approval request that has been approved.- Parameters:
id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (required)- Returns:
- ApiResponse<ApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestApplyAsync
public okhttp3.Call postApprovalRequestApplyAsync(java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback<ApprovalRequestResponse> _callback) throws ApiExceptionApply approval request (asynchronously) Apply an approval request that has been approved.- Parameters:
id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (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
-
postApprovalRequestApplyForFlagCall
public okhttp3.Call postApprovalRequestApplyForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback _callback) throws ApiExceptionBuild call for postApprovalRequestApplyForFlag- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postApprovalRequestApplyForFlag
public FlagConfigApprovalRequestResponse postApprovalRequestApplyForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest) throws ApiException
Apply approval request for a flag Apply an approval request that has been approved.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestApplyForFlagWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postApprovalRequestApplyForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest) throws ApiException
Apply approval request for a flag Apply an approval request that has been approved.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestApplyForFlagAsync
public okhttp3.Call postApprovalRequestApplyForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiExceptionApply approval request for a flag (asynchronously) Apply an approval request that has been approved.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestApplyRequest- (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
-
postApprovalRequestForFlagCall
public okhttp3.Call postApprovalRequestForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback _callback) throws ApiExceptionBuild call for postApprovalRequestForFlag- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)createFlagConfigApprovalRequestRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postApprovalRequestForFlag
public FlagConfigApprovalRequestResponse postApprovalRequestForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest) throws ApiException
Create approval request for a flag Create an approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)createFlagConfigApprovalRequestRequest- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestForFlagWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postApprovalRequestForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest) throws ApiException
Create approval request for a flag Create an approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)createFlagConfigApprovalRequestRequest- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestForFlagAsync
public okhttp3.Call postApprovalRequestForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiExceptionCreate approval request for a flag (asynchronously) Create an approval request for a feature flag.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)createFlagConfigApprovalRequestRequest- (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
-
postApprovalRequestReviewCall
public okhttp3.Call postApprovalRequestReviewCall(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback _callback) throws ApiExceptionBuild call for postApprovalRequestReview- Parameters:
id- The approval request ID (required)postApprovalRequestReviewRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postApprovalRequestReview
public ApprovalRequestResponse postApprovalRequestReview(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest) throws ApiException
Review approval request Review an approval request by approving or denying changes.- Parameters:
id- The approval request ID (required)postApprovalRequestReviewRequest- (required)- Returns:
- ApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestReviewWithHttpInfo
public ApiResponse<ApprovalRequestResponse> postApprovalRequestReviewWithHttpInfo(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest) throws ApiException
Review approval request Review an approval request by approving or denying changes.- Parameters:
id- The approval request ID (required)postApprovalRequestReviewRequest- (required)- Returns:
- ApiResponse<ApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestReviewAsync
public okhttp3.Call postApprovalRequestReviewAsync(java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback<ApprovalRequestResponse> _callback) throws ApiExceptionReview approval request (asynchronously) Review an approval request by approving or denying changes.- Parameters:
id- The approval request ID (required)postApprovalRequestReviewRequest- (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
-
postApprovalRequestReviewForFlagCall
public okhttp3.Call postApprovalRequestReviewForFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback _callback) throws ApiExceptionBuild call for postApprovalRequestReviewForFlag- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestReviewRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postApprovalRequestReviewForFlag
public FlagConfigApprovalRequestResponse postApprovalRequestReviewForFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest) throws ApiException
Review approval request for a flag Review an approval request by approving or denying changes.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestReviewRequest- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestReviewForFlagWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postApprovalRequestReviewForFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest) throws ApiException
Review approval request for a flag Review an approval request by approving or denying changes.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestReviewRequest- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestReviewForFlagAsync
public okhttp3.Call postApprovalRequestReviewForFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiExceptionReview approval request for a flag (asynchronously) Review an approval request by approving or denying changes.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key (required)id- The feature flag approval request ID (required)postApprovalRequestReviewRequest- (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
-
postFlagCopyConfigApprovalRequestCall
public okhttp3.Call postFlagCopyConfigApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback _callback) throws ApiExceptionBuild call for postFlagCopyConfigApprovalRequest- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key for the target environment (required)createCopyFlagConfigApprovalRequestRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postFlagCopyConfigApprovalRequest
public FlagConfigApprovalRequestResponse postFlagCopyConfigApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest) throws ApiException
Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key for the target environment (required)createCopyFlagConfigApprovalRequestRequest- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postFlagCopyConfigApprovalRequestWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postFlagCopyConfigApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest) throws ApiException
Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key for the target environment (required)createCopyFlagConfigApprovalRequestRequest- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postFlagCopyConfigApprovalRequestAsync
public okhttp3.Call postFlagCopyConfigApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiExceptionCreate approval request to copy flag configurations across environments (asynchronously) Create an approval request to copy a feature flag's configuration across environments.- Parameters:
projectKey- The project key (required)featureFlagKey- The feature flag key (required)environmentKey- The environment key for the target environment (required)createCopyFlagConfigApprovalRequestRequest- (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
-
-