launchdarkly_api 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -4
  3. data/docs/AccountMembersApi.md +75 -1
  4. data/docs/CodeReferencesApi.md +5 -1
  5. data/docs/CustomRolesRep.md +24 -0
  6. data/docs/ExpandedTeamRep.md +44 -0
  7. data/docs/FeatureFlagsApi.md +1 -3
  8. data/docs/FlagTriggerInput.md +20 -0
  9. data/docs/FlagTriggersApi.md +396 -0
  10. data/docs/Integration.md +40 -0
  11. data/docs/IntegrationAuditLogSubscriptionsApi.md +376 -0
  12. data/docs/IntegrationStatusRep.md +22 -0
  13. data/docs/IntegrationSubscriptionStatusRep.md +26 -0
  14. data/docs/Integrations.md +22 -0
  15. data/docs/MemberImportItemRep.md +22 -0
  16. data/docs/MemberTeamsFormPost.md +18 -0
  17. data/docs/MetricListingRep.md +1 -1
  18. data/docs/MetricPost.md +1 -1
  19. data/docs/MetricRep.md +1 -1
  20. data/docs/MetricSeen.md +2 -2
  21. data/docs/PutBranch.md +3 -1
  22. data/docs/RecentTriggerBody.md +20 -0
  23. data/docs/Rule.md +3 -1
  24. data/docs/ScheduledChangesApi.md +1 -1
  25. data/docs/SegmentsApi.md +2 -2
  26. data/docs/SubscriptionPost.md +30 -0
  27. data/docs/TeamImportsRep.md +18 -0
  28. data/docs/TeamsBetaApi.md +84 -8
  29. data/docs/TriggerPost.md +22 -0
  30. data/docs/TriggerWorkflowCollectionRep.md +20 -0
  31. data/docs/TriggerWorkflowRep.md +42 -0
  32. data/lib/launchdarkly_api/api/account_members_api.rb +76 -2
  33. data/lib/launchdarkly_api/api/code_references_api.rb +6 -0
  34. data/lib/launchdarkly_api/api/feature_flags_api.rb +2 -5
  35. data/lib/launchdarkly_api/api/flag_triggers_api.rb +437 -0
  36. data/lib/launchdarkly_api/api/integration_audit_log_subscriptions_api.rb +377 -0
  37. data/lib/launchdarkly_api/api/scheduled_changes_api.rb +2 -2
  38. data/lib/launchdarkly_api/api/segments_api.rb +4 -4
  39. data/lib/launchdarkly_api/api/teams_beta_api.rb +77 -6
  40. data/lib/launchdarkly_api/models/custom_roles_rep.rb +247 -0
  41. data/lib/launchdarkly_api/models/expanded_team_rep.rb +349 -0
  42. data/lib/launchdarkly_api/models/flag_trigger_input.rb +230 -0
  43. data/lib/launchdarkly_api/models/integration.rb +325 -0
  44. data/lib/launchdarkly_api/models/integration_status_rep.rb +236 -0
  45. data/lib/launchdarkly_api/models/integration_subscription_status_rep.rb +256 -0
  46. data/lib/launchdarkly_api/models/integrations.rb +240 -0
  47. data/lib/launchdarkly_api/models/member_import_item_rep.rb +246 -0
  48. data/lib/launchdarkly_api/models/member_teams_form_post.rb +226 -0
  49. data/lib/launchdarkly_api/models/metric_listing_rep.rb +13 -1
  50. data/lib/launchdarkly_api/models/metric_post.rb +13 -1
  51. data/lib/launchdarkly_api/models/metric_rep.rb +13 -1
  52. data/lib/launchdarkly_api/models/metric_seen.rb +7 -7
  53. data/lib/launchdarkly_api/models/put_branch.rb +13 -4
  54. data/lib/launchdarkly_api/models/recent_trigger_body.rb +229 -0
  55. data/lib/launchdarkly_api/models/rule.rb +13 -4
  56. data/lib/launchdarkly_api/models/subscription_post.rb +293 -0
  57. data/lib/launchdarkly_api/models/team_imports_rep.rb +220 -0
  58. data/lib/launchdarkly_api/models/trigger_post.rb +245 -0
  59. data/lib/launchdarkly_api/models/trigger_workflow_collection_rep.rb +231 -0
  60. data/lib/launchdarkly_api/models/trigger_workflow_rep.rb +332 -0
  61. data/lib/launchdarkly_api/version.rb +1 -1
  62. data/lib/launchdarkly_api.rb +17 -0
  63. data/spec/api/account_members_api_spec.rb +14 -1
  64. data/spec/api/code_references_api_spec.rb +2 -0
  65. data/spec/api/feature_flags_api_spec.rb +1 -2
  66. data/spec/api/flag_triggers_api_spec.rb +110 -0
  67. data/spec/api/integration_audit_log_subscriptions_api_spec.rb +100 -0
  68. data/spec/api/scheduled_changes_api_spec.rb +1 -1
  69. data/spec/api/segments_api_spec.rb +2 -2
  70. data/spec/api/teams_beta_api_spec.rb +15 -2
  71. data/spec/models/custom_roles_rep_spec.rb +52 -0
  72. data/spec/models/expanded_team_rep_spec.rb +112 -0
  73. data/spec/models/flag_trigger_input_spec.rb +40 -0
  74. data/spec/models/integration_spec.rb +100 -0
  75. data/spec/models/integration_status_rep_spec.rb +46 -0
  76. data/spec/models/integration_subscription_status_rep_spec.rb +58 -0
  77. data/spec/models/integrations_spec.rb +46 -0
  78. data/spec/models/member_import_item_rep_spec.rb +46 -0
  79. data/spec/models/member_teams_form_post_spec.rb +34 -0
  80. data/spec/models/metric_listing_rep_spec.rb +4 -0
  81. data/spec/models/metric_post_spec.rb +4 -0
  82. data/spec/models/metric_rep_spec.rb +4 -0
  83. data/spec/models/metric_seen_spec.rb +1 -1
  84. data/spec/models/put_branch_spec.rb +6 -0
  85. data/spec/models/recent_trigger_body_spec.rb +40 -0
  86. data/spec/models/rule_spec.rb +6 -0
  87. data/spec/models/subscription_post_spec.rb +70 -0
  88. data/spec/models/team_imports_rep_spec.rb +34 -0
  89. data/spec/models/trigger_post_spec.rb +46 -0
  90. data/spec/models/trigger_workflow_collection_rep_spec.rb +40 -0
  91. data/spec/models/trigger_workflow_rep_spec.rb +106 -0
  92. metadata +70 -2
@@ -0,0 +1,376 @@
1
+ # LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi
2
+
3
+ All URIs are relative to *https://app.launchdarkly.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_subscription**](IntegrationAuditLogSubscriptionsApi.md#create_subscription) | **POST** /api/v2/integrations/{integrationKey} | Create audit log subscription |
8
+ | [**delete_subscription**](IntegrationAuditLogSubscriptionsApi.md#delete_subscription) | **DELETE** /api/v2/integrations/{integrationKey}/{id} | Delete audit log subscription |
9
+ | [**get_subscription_by_id**](IntegrationAuditLogSubscriptionsApi.md#get_subscription_by_id) | **GET** /api/v2/integrations/{integrationKey}/{id} | Get audit log subscription by ID |
10
+ | [**get_subscriptions**](IntegrationAuditLogSubscriptionsApi.md#get_subscriptions) | **GET** /api/v2/integrations/{integrationKey} | Get audit log subscriptions by integration |
11
+ | [**update_subscription**](IntegrationAuditLogSubscriptionsApi.md#update_subscription) | **PATCH** /api/v2/integrations/{integrationKey}/{id} | Update audit log subscription |
12
+
13
+
14
+ ## create_subscription
15
+
16
+ > <Integration> create_subscription(integration_key, subscription_post)
17
+
18
+ Create audit log subscription
19
+
20
+ Create an audit log subscription.
21
+
22
+ ### Examples
23
+
24
+ ```ruby
25
+ require 'time'
26
+ require 'launchdarkly_api'
27
+ # setup authorization
28
+ LaunchDarklyApi.configure do |config|
29
+ # Configure API key authorization: ApiKey
30
+ config.api_key['ApiKey'] = 'YOUR API KEY'
31
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
33
+ end
34
+
35
+ api_instance = LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi.new
36
+ integration_key = 'integration_key_example' # String | The integration key
37
+ subscription_post = LaunchDarklyApi::SubscriptionPost.new({name: 'name_example', config: { key: 3.56}}) # SubscriptionPost |
38
+
39
+ begin
40
+ # Create audit log subscription
41
+ result = api_instance.create_subscription(integration_key, subscription_post)
42
+ p result
43
+ rescue LaunchDarklyApi::ApiError => e
44
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->create_subscription: #{e}"
45
+ end
46
+ ```
47
+
48
+ #### Using the create_subscription_with_http_info variant
49
+
50
+ This returns an Array which contains the response data, status code and headers.
51
+
52
+ > <Array(<Integration>, Integer, Hash)> create_subscription_with_http_info(integration_key, subscription_post)
53
+
54
+ ```ruby
55
+ begin
56
+ # Create audit log subscription
57
+ data, status_code, headers = api_instance.create_subscription_with_http_info(integration_key, subscription_post)
58
+ p status_code # => 2xx
59
+ p headers # => { ... }
60
+ p data # => <Integration>
61
+ rescue LaunchDarklyApi::ApiError => e
62
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->create_subscription_with_http_info: #{e}"
63
+ end
64
+ ```
65
+
66
+ ### Parameters
67
+
68
+ | Name | Type | Description | Notes |
69
+ | ---- | ---- | ----------- | ----- |
70
+ | **integration_key** | **String** | The integration key | |
71
+ | **subscription_post** | [**SubscriptionPost**](SubscriptionPost.md) | | |
72
+
73
+ ### Return type
74
+
75
+ [**Integration**](Integration.md)
76
+
77
+ ### Authorization
78
+
79
+ [ApiKey](../README.md#ApiKey)
80
+
81
+ ### HTTP request headers
82
+
83
+ - **Content-Type**: application/json
84
+ - **Accept**: application/json
85
+
86
+
87
+ ## delete_subscription
88
+
89
+ > delete_subscription(integration_key, id)
90
+
91
+ Delete audit log subscription
92
+
93
+ Delete an audit log subscription.
94
+
95
+ ### Examples
96
+
97
+ ```ruby
98
+ require 'time'
99
+ require 'launchdarkly_api'
100
+ # setup authorization
101
+ LaunchDarklyApi.configure do |config|
102
+ # Configure API key authorization: ApiKey
103
+ config.api_key['ApiKey'] = 'YOUR API KEY'
104
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
105
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
106
+ end
107
+
108
+ api_instance = LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi.new
109
+ integration_key = 'integration_key_example' # String | The integration key
110
+ id = 'id_example' # String | The subscription ID
111
+
112
+ begin
113
+ # Delete audit log subscription
114
+ api_instance.delete_subscription(integration_key, id)
115
+ rescue LaunchDarklyApi::ApiError => e
116
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->delete_subscription: #{e}"
117
+ end
118
+ ```
119
+
120
+ #### Using the delete_subscription_with_http_info variant
121
+
122
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
123
+
124
+ > <Array(nil, Integer, Hash)> delete_subscription_with_http_info(integration_key, id)
125
+
126
+ ```ruby
127
+ begin
128
+ # Delete audit log subscription
129
+ data, status_code, headers = api_instance.delete_subscription_with_http_info(integration_key, id)
130
+ p status_code # => 2xx
131
+ p headers # => { ... }
132
+ p data # => nil
133
+ rescue LaunchDarklyApi::ApiError => e
134
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->delete_subscription_with_http_info: #{e}"
135
+ end
136
+ ```
137
+
138
+ ### Parameters
139
+
140
+ | Name | Type | Description | Notes |
141
+ | ---- | ---- | ----------- | ----- |
142
+ | **integration_key** | **String** | The integration key | |
143
+ | **id** | **String** | The subscription ID | |
144
+
145
+ ### Return type
146
+
147
+ nil (empty response body)
148
+
149
+ ### Authorization
150
+
151
+ [ApiKey](../README.md#ApiKey)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
159
+ ## get_subscription_by_id
160
+
161
+ > <Integration> get_subscription_by_id(integration_key, id)
162
+
163
+ Get audit log subscription by ID
164
+
165
+ Get an audit log subscription by ID.
166
+
167
+ ### Examples
168
+
169
+ ```ruby
170
+ require 'time'
171
+ require 'launchdarkly_api'
172
+ # setup authorization
173
+ LaunchDarklyApi.configure do |config|
174
+ # Configure API key authorization: ApiKey
175
+ config.api_key['ApiKey'] = 'YOUR API KEY'
176
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
177
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
178
+ end
179
+
180
+ api_instance = LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi.new
181
+ integration_key = 'integration_key_example' # String | The integration key
182
+ id = 'id_example' # String | The subscription ID
183
+
184
+ begin
185
+ # Get audit log subscription by ID
186
+ result = api_instance.get_subscription_by_id(integration_key, id)
187
+ p result
188
+ rescue LaunchDarklyApi::ApiError => e
189
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->get_subscription_by_id: #{e}"
190
+ end
191
+ ```
192
+
193
+ #### Using the get_subscription_by_id_with_http_info variant
194
+
195
+ This returns an Array which contains the response data, status code and headers.
196
+
197
+ > <Array(<Integration>, Integer, Hash)> get_subscription_by_id_with_http_info(integration_key, id)
198
+
199
+ ```ruby
200
+ begin
201
+ # Get audit log subscription by ID
202
+ data, status_code, headers = api_instance.get_subscription_by_id_with_http_info(integration_key, id)
203
+ p status_code # => 2xx
204
+ p headers # => { ... }
205
+ p data # => <Integration>
206
+ rescue LaunchDarklyApi::ApiError => e
207
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->get_subscription_by_id_with_http_info: #{e}"
208
+ end
209
+ ```
210
+
211
+ ### Parameters
212
+
213
+ | Name | Type | Description | Notes |
214
+ | ---- | ---- | ----------- | ----- |
215
+ | **integration_key** | **String** | The integration key | |
216
+ | **id** | **String** | The subscription ID | |
217
+
218
+ ### Return type
219
+
220
+ [**Integration**](Integration.md)
221
+
222
+ ### Authorization
223
+
224
+ [ApiKey](../README.md#ApiKey)
225
+
226
+ ### HTTP request headers
227
+
228
+ - **Content-Type**: Not defined
229
+ - **Accept**: application/json
230
+
231
+
232
+ ## get_subscriptions
233
+
234
+ > <Integrations> get_subscriptions(integration_key)
235
+
236
+ Get audit log subscriptions by integration
237
+
238
+ Get all audit log subscriptions associated with a given integration.
239
+
240
+ ### Examples
241
+
242
+ ```ruby
243
+ require 'time'
244
+ require 'launchdarkly_api'
245
+ # setup authorization
246
+ LaunchDarklyApi.configure do |config|
247
+ # Configure API key authorization: ApiKey
248
+ config.api_key['ApiKey'] = 'YOUR API KEY'
249
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
250
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
251
+ end
252
+
253
+ api_instance = LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi.new
254
+ integration_key = 'integration_key_example' # String | The integration key
255
+
256
+ begin
257
+ # Get audit log subscriptions by integration
258
+ result = api_instance.get_subscriptions(integration_key)
259
+ p result
260
+ rescue LaunchDarklyApi::ApiError => e
261
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->get_subscriptions: #{e}"
262
+ end
263
+ ```
264
+
265
+ #### Using the get_subscriptions_with_http_info variant
266
+
267
+ This returns an Array which contains the response data, status code and headers.
268
+
269
+ > <Array(<Integrations>, Integer, Hash)> get_subscriptions_with_http_info(integration_key)
270
+
271
+ ```ruby
272
+ begin
273
+ # Get audit log subscriptions by integration
274
+ data, status_code, headers = api_instance.get_subscriptions_with_http_info(integration_key)
275
+ p status_code # => 2xx
276
+ p headers # => { ... }
277
+ p data # => <Integrations>
278
+ rescue LaunchDarklyApi::ApiError => e
279
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->get_subscriptions_with_http_info: #{e}"
280
+ end
281
+ ```
282
+
283
+ ### Parameters
284
+
285
+ | Name | Type | Description | Notes |
286
+ | ---- | ---- | ----------- | ----- |
287
+ | **integration_key** | **String** | The integration key | |
288
+
289
+ ### Return type
290
+
291
+ [**Integrations**](Integrations.md)
292
+
293
+ ### Authorization
294
+
295
+ [ApiKey](../README.md#ApiKey)
296
+
297
+ ### HTTP request headers
298
+
299
+ - **Content-Type**: Not defined
300
+ - **Accept**: application/json
301
+
302
+
303
+ ## update_subscription
304
+
305
+ > <Integration> update_subscription(integration_key, id, patch_operation)
306
+
307
+ Update audit log subscription
308
+
309
+ Update an audit log subscription configuration. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the audit log subscription.
310
+
311
+ ### Examples
312
+
313
+ ```ruby
314
+ require 'time'
315
+ require 'launchdarkly_api'
316
+ # setup authorization
317
+ LaunchDarklyApi.configure do |config|
318
+ # Configure API key authorization: ApiKey
319
+ config.api_key['ApiKey'] = 'YOUR API KEY'
320
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
321
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
322
+ end
323
+
324
+ api_instance = LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi.new
325
+ integration_key = 'integration_key_example' # String | The integration key
326
+ id = 'id_example' # String | The ID of the audit log subscription
327
+ patch_operation = [LaunchDarklyApi::PatchOperation.new({op: 'replace', path: '/biscuits', value: Chocolate Digestive})] # Array<PatchOperation> |
328
+
329
+ begin
330
+ # Update audit log subscription
331
+ result = api_instance.update_subscription(integration_key, id, patch_operation)
332
+ p result
333
+ rescue LaunchDarklyApi::ApiError => e
334
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->update_subscription: #{e}"
335
+ end
336
+ ```
337
+
338
+ #### Using the update_subscription_with_http_info variant
339
+
340
+ This returns an Array which contains the response data, status code and headers.
341
+
342
+ > <Array(<Integration>, Integer, Hash)> update_subscription_with_http_info(integration_key, id, patch_operation)
343
+
344
+ ```ruby
345
+ begin
346
+ # Update audit log subscription
347
+ data, status_code, headers = api_instance.update_subscription_with_http_info(integration_key, id, patch_operation)
348
+ p status_code # => 2xx
349
+ p headers # => { ... }
350
+ p data # => <Integration>
351
+ rescue LaunchDarklyApi::ApiError => e
352
+ puts "Error when calling IntegrationAuditLogSubscriptionsApi->update_subscription_with_http_info: #{e}"
353
+ end
354
+ ```
355
+
356
+ ### Parameters
357
+
358
+ | Name | Type | Description | Notes |
359
+ | ---- | ---- | ----------- | ----- |
360
+ | **integration_key** | **String** | The integration key | |
361
+ | **id** | **String** | The ID of the audit log subscription | |
362
+ | **patch_operation** | [**Array&lt;PatchOperation&gt;**](PatchOperation.md) | | |
363
+
364
+ ### Return type
365
+
366
+ [**Integration**](Integration.md)
367
+
368
+ ### Authorization
369
+
370
+ [ApiKey](../README.md#ApiKey)
371
+
372
+ ### HTTP request headers
373
+
374
+ - **Content-Type**: application/json
375
+ - **Accept**: application/json
376
+
@@ -0,0 +1,22 @@
1
+ # LaunchDarklyApi::IntegrationStatusRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status_code** | **Integer** | | [optional] |
8
+ | **response_body** | **String** | | [optional] |
9
+ | **timestamp** | **Integer** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'launchdarkly_api'
15
+
16
+ instance = LaunchDarklyApi::IntegrationStatusRep.new(
17
+ status_code: null,
18
+ response_body: null,
19
+ timestamp: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,26 @@
1
+ # LaunchDarklyApi::IntegrationSubscriptionStatusRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success_count** | **Integer** | | [optional] |
8
+ | **last_success** | **Integer** | | [optional] |
9
+ | **last_error** | **Integer** | | [optional] |
10
+ | **error_count** | **Integer** | | [optional] |
11
+ | **errors** | [**Array&lt;IntegrationStatusRep&gt;**](IntegrationStatusRep.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'launchdarkly_api'
17
+
18
+ instance = LaunchDarklyApi::IntegrationSubscriptionStatusRep.new(
19
+ success_count: null,
20
+ last_success: null,
21
+ last_error: null,
22
+ error_count: null,
23
+ errors: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # LaunchDarklyApi::Integrations
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_links** | [**Hash&lt;String, Link&gt;**](Link.md) | | [optional] |
8
+ | **items** | [**Array&lt;Integration&gt;**](Integration.md) | | [optional] |
9
+ | **key** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'launchdarkly_api'
15
+
16
+ instance = LaunchDarklyApi::Integrations.new(
17
+ _links: null,
18
+ items: null,
19
+ key: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # LaunchDarklyApi::MemberImportItemRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | [optional] |
8
+ | **status** | **String** | | |
9
+ | **value** | **String** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'launchdarkly_api'
15
+
16
+ instance = LaunchDarklyApi::MemberImportItemRep.new(
17
+ message: null,
18
+ status: null,
19
+ value: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # LaunchDarklyApi::MemberTeamsFormPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **team_keys** | **Array&lt;String&gt;** | List of team keys | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'launchdarkly_api'
13
+
14
+ instance = LaunchDarklyApi::MemberTeamsFormPost.new(
15
+ team_keys: null
16
+ )
17
+ ```
18
+
@@ -19,7 +19,7 @@
19
19
  | **_maintainer** | [**MemberSummaryRep**](MemberSummaryRep.md) | | [optional] |
20
20
  | **description** | **String** | | [optional] |
21
21
  | **is_numeric** | **Boolean** | | [optional] |
22
- | **success_criteria** | **Integer** | | [optional] |
22
+ | **success_criteria** | **String** | | [optional] |
23
23
  | **unit** | **String** | | [optional] |
24
24
  | **event_key** | **String** | | [optional] |
25
25
 
data/docs/MetricPost.md CHANGED
@@ -14,7 +14,7 @@
14
14
  | **is_numeric** | **Boolean** | | [optional] |
15
15
  | **unit** | **String** | | [optional] |
16
16
  | **event_key** | **String** | Required for custom metrics | [optional] |
17
- | **success_criteria** | **Integer** | | [optional] |
17
+ | **success_criteria** | **String** | | [optional] |
18
18
  | **tags** | **Array&lt;String&gt;** | | [optional] |
19
19
 
20
20
  ## Example
data/docs/MetricRep.md CHANGED
@@ -19,7 +19,7 @@
19
19
  | **_maintainer** | [**MemberSummaryRep**](MemberSummaryRep.md) | | [optional] |
20
20
  | **description** | **String** | | [optional] |
21
21
  | **is_numeric** | **Boolean** | | [optional] |
22
- | **success_criteria** | **Integer** | | [optional] |
22
+ | **success_criteria** | **String** | | [optional] |
23
23
  | **unit** | **String** | | [optional] |
24
24
  | **event_key** | **String** | | [optional] |
25
25
  | **is_active** | **Boolean** | | [optional] |
data/docs/MetricSeen.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **ever** | **Boolean** | | [optional] |
8
- | **minutes_ago** | **Integer** | | [optional] |
8
+ | **timestamp** | **Integer** | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -14,7 +14,7 @@ require 'launchdarkly_api'
14
14
 
15
15
  instance = LaunchDarklyApi::MetricSeen.new(
16
16
  ever: null,
17
- minutes_ago: null
17
+ timestamp: null
18
18
  )
19
19
  ```
20
20
 
data/docs/PutBranch.md CHANGED
@@ -9,6 +9,7 @@
9
9
  | **update_sequence_id** | **Integer** | An optional ID used to prevent older data from overwriting newer data. If no sequence ID is included, the newly submitted data will always be saved. | [optional] |
10
10
  | **sync_time** | **Integer** | | |
11
11
  | **references** | [**Array&lt;ReferenceRep&gt;**](ReferenceRep.md) | An array of flag references found on the branch | [optional] |
12
+ | **commit_time** | **Integer** | | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = LaunchDarklyApi::PutBranch.new(
20
21
  head: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3,
21
22
  update_sequence_id: 25,
22
23
  sync_time: null,
23
- references: null
24
+ references: null,
25
+ commit_time: null
24
26
  )
25
27
  ```
26
28
 
@@ -0,0 +1,20 @@
1
+ # LaunchDarklyApi::RecentTriggerBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **timestamp** | **Integer** | | [optional] |
8
+ | **json_body** | **Hash&lt;String, Object&gt;** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'launchdarkly_api'
14
+
15
+ instance = LaunchDarklyApi::RecentTriggerBody.new(
16
+ timestamp: null,
17
+ json_body: null
18
+ )
19
+ ```
20
+
data/docs/Rule.md CHANGED
@@ -10,6 +10,7 @@
10
10
  | **clauses** | [**Array&lt;Clause&gt;**](Clause.md) | | |
11
11
  | **track_events** | **Boolean** | | |
12
12
  | **description** | **String** | | [optional] |
13
+ | **ref** | **String** | | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -22,7 +23,8 @@ instance = LaunchDarklyApi::Rule.new(
22
23
  rollout: null,
23
24
  clauses: null,
24
25
  track_events: null,
25
- description: null
26
+ description: null,
27
+ ref: null
26
28
  )
27
29
  ```
28
30
 
@@ -245,7 +245,7 @@ end
245
245
 
246
246
  Update scheduled changes workflow
247
247
 
248
- Update a scheduled change, overriding existing instructions with the new ones.<br /><br />Requires a semantic patch representation of the desired changes to the resource. To learn more about semantic patches, read [Updates](/#section/Updates/Updates-via-semantic-patches)
248
+ Update a scheduled change, overriding existing instructions with the new ones.<br /><br />Requires a semantic patch representation of the desired changes to the resource. To learn more about semantic patches, read [Updates](/reference#updates-via-semantic-patches).
249
249
 
250
250
  ### Examples
251
251
 
data/docs/SegmentsApi.md CHANGED
@@ -395,7 +395,7 @@ end
395
395
 
396
396
  Update expiring user targets for segment
397
397
 
398
- Update the list of a segment's user targets that are scheduled for removal<br /><br />Requires a semantic patch representation of the desired changes to the resource. To learn more about semantic patches, read [Updates](/#section/Updates/Updates-via-semantic-patches).<br /><br />If the request is well-formed but any of its instructions failed to process, this operation returns status code `200`. In this case, the response `errors` array will be non-empty.
398
+ Update the list of a segment's user targets that are scheduled for removal<br /><br />Requires a semantic patch representation of the desired changes to the resource. To learn more about semantic patches, read [Updates](/reference#updates-via-semantic-patches).<br /><br />If the request is well-formed but any of its instructions failed to process, this operation returns status code `200`. In this case, the response `errors` array will be non-empty.
399
399
 
400
400
  ### Examples
401
401
 
@@ -472,7 +472,7 @@ end
472
472
 
473
473
  Patch segment
474
474
 
475
- Update a user segment. The request body must be a valid JSON patch or JSON merge patch document. To learn more about semantic patches, read [Updates](/#section/Updates).
475
+ Update a user segment. The request body must be a valid JSON patch or JSON merge patch document. To learn more about semantic patches, read [Updates](/#section/Overview/Updates).
476
476
 
477
477
  ### Examples
478
478
 
@@ -0,0 +1,30 @@
1
+ # LaunchDarklyApi::SubscriptionPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | A human-friendly name for your audit log subscription. | |
8
+ | **statements** | [**Array&lt;StatementPost&gt;**](StatementPost.md) | | [optional] |
9
+ | **on** | **Boolean** | Whether or not you want your subscription to actively send events. | [optional] |
10
+ | **tags** | **Array&lt;String&gt;** | | [optional] |
11
+ | **config** | **Hash&lt;String, Object&gt;** | The unique set of fields required to configure an audit log subscription integration of this type. Refer to the \&quot;formVariables\&quot; field in the corresponding manifest.json at https://github.com/launchdarkly/integration-framework/tree/master/integrations for a full list of fields for the integration you wish to configure. | |
12
+ | **url** | **String** | Slack webhook receiver URL. Only necessary for legacy Slack webhook integrations. | [optional] |
13
+ | **api_key** | **String** | Datadog API key. Only necessary for legacy Datadog webhook subscriptions. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'launchdarkly_api'
19
+
20
+ instance = LaunchDarklyApi::SubscriptionPost.new(
21
+ name: null,
22
+ statements: null,
23
+ on: null,
24
+ tags: null,
25
+ config: null,
26
+ url: null,
27
+ api_key: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,18 @@
1
+ # LaunchDarklyApi::TeamImportsRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **items** | [**Array&lt;MemberImportItemRep&gt;**](MemberImportItemRep.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'launchdarkly_api'
13
+
14
+ instance = LaunchDarklyApi::TeamImportsRep.new(
15
+ items: null
16
+ )
17
+ ```
18
+