You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perform a partial update to an approval request. Updating an approval request uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following `kind` instruction for updating an approval request. #### addReviewers Adds the specified members and teams to the existing list of reviewers. You must include at least one of `notifyMemberIds` and `notifyTeamKeys`. ##### Parameters - `notifyMemberIds`: (Optional) List of member IDs. - `notifyTeamKeys`: (Optional) List of team keys. Here's an example: ```json { \"instructions\": [{ \"kind\": \"addReviewers\", \"notifyMemberIds\": [ \"user-key-123abc\", \"user-key-456def\" ], \"notifyTeamKeys\": [ \"team-key-789abc\"] }] } ```
Perform a partial update to an approval request. Updating an approval request uses the semantic patch format. To make a semantic patch request, you must append `domain-model=launchdarkly.semanticpatch` to your `Content-Type` header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following `kind` instruction for updating an approval request. #### addReviewers Adds the specified members and teams to the existing list of reviewers. You must include at least one of `notifyMemberIds` and `notifyTeamKeys`. ##### Parameters - `notifyMemberIds`: (Optional) List of member IDs. - `notifyTeamKeys`: (Optional) List of team keys.
17
91
18
92
### Example
@@ -42,10 +116,10 @@ public class Example {
42
116
String environmentKey ="environmentKey_example"; // String | The environment key
43
117
String id ="id_example"; // String | The approval ID
44
118
try {
45
-
FlagConfigApprovalRequestResponse result = apiInstance.patchApprovalRequest(projectKey, featureFlagKey, environmentKey, id);
119
+
FlagConfigApprovalRequestResponse result = apiInstance.patchFlagConfigApprovalRequest(projectKey, featureFlagKey, environmentKey, id);
46
120
System.out.println(result);
47
121
} catch (ApiException e) {
48
-
System.err.println("Exception when calling ApprovalsBetaApi#patchApprovalRequest");
122
+
System.err.println("Exception when calling ApprovalsBetaApi#patchFlagConfigApprovalRequest");
0 commit comments