launchdarkly_api 2.0.32 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +168 -154
  3. data/docs/Clause.md +1 -0
  4. data/docs/FeatureFlags.md +1 -0
  5. data/docs/FeatureFlagsApi.md +133 -4
  6. data/docs/Member.md +1 -0
  7. data/docs/Members.md +1 -0
  8. data/docs/SemanticPatchOperation.md +9 -0
  9. data/docs/SemanticPatchOperationInstructions.md +8 -0
  10. data/docs/TeamMembersApi.md +63 -3
  11. data/docs/UserSegmentsApi.md +121 -0
  12. data/docs/UserSettingsApi.md +121 -0
  13. data/docs/UserTargetingExpirationForFlag.md +14 -0
  14. data/docs/UserTargetingExpirationForFlags.md +9 -0
  15. data/docs/UserTargetingExpirationForSegment.md +14 -0
  16. data/docs/UserTargetingExpirationOnFlagsForUser.md +9 -0
  17. data/docs/UserTargetingExpirationResourceIdForFlag.md +12 -0
  18. data/docs/Variation.md +1 -0
  19. data/launchdarkly_api.gemspec +1 -1
  20. data/lib/launchdarkly_api.rb +8 -1
  21. data/lib/launchdarkly_api/api/audit_log_api.rb +1 -1
  22. data/lib/launchdarkly_api/api/custom_roles_api.rb +1 -1
  23. data/lib/launchdarkly_api/api/customer_metrics_api.rb +1 -1
  24. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +1 -1
  25. data/lib/launchdarkly_api/api/environments_api.rb +1 -1
  26. data/lib/launchdarkly_api/api/feature_flags_api.rb +153 -7
  27. data/lib/launchdarkly_api/api/projects_api.rb +1 -1
  28. data/lib/launchdarkly_api/api/root_api.rb +1 -1
  29. data/lib/launchdarkly_api/api/team_members_api.rb +59 -1
  30. data/lib/launchdarkly_api/api/user_segments_api.rb +135 -1
  31. data/lib/launchdarkly_api/api/user_settings_api.rb +135 -1
  32. data/lib/launchdarkly_api/api/users_api.rb +1 -1
  33. data/lib/launchdarkly_api/api/webhooks_api.rb +1 -1
  34. data/lib/launchdarkly_api/api_client.rb +1 -1
  35. data/lib/launchdarkly_api/api_error.rb +1 -1
  36. data/lib/launchdarkly_api/configuration.rb +1 -1
  37. data/lib/launchdarkly_api/models/audit_log_entries.rb +1 -1
  38. data/lib/launchdarkly_api/models/audit_log_entry.rb +1 -1
  39. data/lib/launchdarkly_api/models/audit_log_entry_target.rb +1 -1
  40. data/lib/launchdarkly_api/models/clause.rb +11 -2
  41. data/lib/launchdarkly_api/models/copy_actions.rb +1 -1
  42. data/lib/launchdarkly_api/models/custom_property.rb +1 -1
  43. data/lib/launchdarkly_api/models/custom_property_values.rb +1 -1
  44. data/lib/launchdarkly_api/models/custom_role.rb +1 -1
  45. data/lib/launchdarkly_api/models/custom_role_body.rb +1 -1
  46. data/lib/launchdarkly_api/models/custom_roles.rb +1 -1
  47. data/lib/launchdarkly_api/models/defaults.rb +1 -1
  48. data/lib/launchdarkly_api/models/destination.rb +1 -1
  49. data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +1 -1
  50. data/lib/launchdarkly_api/models/destination_body.rb +1 -1
  51. data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +1 -1
  52. data/lib/launchdarkly_api/models/destination_m_particle.rb +1 -1
  53. data/lib/launchdarkly_api/models/destination_segment.rb +1 -1
  54. data/lib/launchdarkly_api/models/destinations.rb +1 -1
  55. data/lib/launchdarkly_api/models/environment.rb +1 -1
  56. data/lib/launchdarkly_api/models/environment_post.rb +1 -1
  57. data/lib/launchdarkly_api/models/evaluation_usage_error.rb +1 -1
  58. data/lib/launchdarkly_api/models/events.rb +1 -1
  59. data/lib/launchdarkly_api/models/fallthrough.rb +1 -1
  60. data/lib/launchdarkly_api/models/feature_flag.rb +1 -1
  61. data/lib/launchdarkly_api/models/feature_flag_body.rb +1 -1
  62. data/lib/launchdarkly_api/models/feature_flag_config.rb +1 -1
  63. data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +1 -1
  64. data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +1 -1
  65. data/lib/launchdarkly_api/models/feature_flag_status.rb +1 -1
  66. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +1 -1
  67. data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +1 -1
  68. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +1 -1
  69. data/lib/launchdarkly_api/models/feature_flags.rb +14 -5
  70. data/lib/launchdarkly_api/models/flag_list_item.rb +1 -1
  71. data/lib/launchdarkly_api/models/id.rb +1 -1
  72. data/lib/launchdarkly_api/models/link.rb +1 -1
  73. data/lib/launchdarkly_api/models/links.rb +1 -1
  74. data/lib/launchdarkly_api/models/ma_uby_category.rb +1 -1
  75. data/lib/launchdarkly_api/models/mau.rb +1 -1
  76. data/lib/launchdarkly_api/models/mau_metadata.rb +1 -1
  77. data/lib/launchdarkly_api/models/member.rb +11 -2
  78. data/lib/launchdarkly_api/models/members.rb +14 -5
  79. data/lib/launchdarkly_api/models/members_body.rb +1 -1
  80. data/lib/launchdarkly_api/models/patch_comment.rb +1 -1
  81. data/lib/launchdarkly_api/models/patch_operation.rb +1 -1
  82. data/lib/launchdarkly_api/models/policy.rb +1 -1
  83. data/lib/launchdarkly_api/models/prerequisite.rb +1 -1
  84. data/lib/launchdarkly_api/models/project.rb +1 -1
  85. data/lib/launchdarkly_api/models/project_body.rb +1 -1
  86. data/lib/launchdarkly_api/models/projects.rb +1 -1
  87. data/lib/launchdarkly_api/models/role.rb +1 -1
  88. data/lib/launchdarkly_api/models/rollout.rb +1 -1
  89. data/lib/launchdarkly_api/models/rule.rb +1 -1
  90. data/lib/launchdarkly_api/models/semantic_patch_operation.rb +199 -0
  91. data/lib/launchdarkly_api/models/semantic_patch_operation_instructions.rb +184 -0
  92. data/lib/launchdarkly_api/models/site.rb +1 -1
  93. data/lib/launchdarkly_api/models/statement.rb +1 -1
  94. data/lib/launchdarkly_api/models/stream.rb +1 -1
  95. data/lib/launchdarkly_api/models/stream_by_sdk.rb +1 -1
  96. data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +1 -1
  97. data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +1 -1
  98. data/lib/launchdarkly_api/models/stream_links.rb +1 -1
  99. data/lib/launchdarkly_api/models/stream_sdk_version.rb +1 -1
  100. data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +1 -1
  101. data/lib/launchdarkly_api/models/stream_usage_error.rb +1 -1
  102. data/lib/launchdarkly_api/models/stream_usage_links.rb +1 -1
  103. data/lib/launchdarkly_api/models/stream_usage_metadata.rb +1 -1
  104. data/lib/launchdarkly_api/models/stream_usage_series.rb +1 -1
  105. data/lib/launchdarkly_api/models/streams.rb +1 -1
  106. data/lib/launchdarkly_api/models/target.rb +1 -1
  107. data/lib/launchdarkly_api/models/usage.rb +1 -1
  108. data/lib/launchdarkly_api/models/usage_error.rb +1 -1
  109. data/lib/launchdarkly_api/models/usage_links.rb +1 -1
  110. data/lib/launchdarkly_api/models/user.rb +1 -1
  111. data/lib/launchdarkly_api/models/user_flag_setting.rb +1 -1
  112. data/lib/launchdarkly_api/models/user_flag_settings.rb +1 -1
  113. data/lib/launchdarkly_api/models/user_record.rb +1 -1
  114. data/lib/launchdarkly_api/models/user_segment.rb +1 -1
  115. data/lib/launchdarkly_api/models/user_segment_body.rb +1 -1
  116. data/lib/launchdarkly_api/models/user_segment_rule.rb +1 -1
  117. data/lib/launchdarkly_api/models/user_segments.rb +1 -1
  118. data/lib/launchdarkly_api/models/user_settings_body.rb +1 -1
  119. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +240 -0
  120. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +194 -0
  121. data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +240 -0
  122. data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +194 -0
  123. data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +219 -0
  124. data/lib/launchdarkly_api/models/users.rb +1 -1
  125. data/lib/launchdarkly_api/models/variation.rb +11 -2
  126. data/lib/launchdarkly_api/models/webhook.rb +1 -1
  127. data/lib/launchdarkly_api/models/webhook_body.rb +1 -1
  128. data/lib/launchdarkly_api/models/webhooks.rb +1 -1
  129. data/lib/launchdarkly_api/models/weighted_variation.rb +1 -1
  130. data/lib/launchdarkly_api/version.rb +2 -2
  131. data/openapi.yml +297 -4
  132. data/spec/api/audit_log_api_spec.rb +1 -1
  133. data/spec/api/custom_roles_api_spec.rb +1 -1
  134. data/spec/api/customer_metrics_api_spec.rb +1 -1
  135. data/spec/api/data_export_destinations_api_spec.rb +1 -1
  136. data/spec/api/environments_api_spec.rb +1 -1
  137. data/spec/api/feature_flags_api_spec.rb +34 -3
  138. data/spec/api/projects_api_spec.rb +1 -1
  139. data/spec/api/root_api_spec.rb +1 -1
  140. data/spec/api/team_members_api_spec.rb +15 -1
  141. data/spec/api/user_segments_api_spec.rb +28 -1
  142. data/spec/api/user_settings_api_spec.rb +28 -1
  143. data/spec/api/users_api_spec.rb +1 -1
  144. data/spec/api/webhooks_api_spec.rb +1 -1
  145. data/spec/api_client_spec.rb +1 -1
  146. data/spec/configuration_spec.rb +1 -1
  147. data/spec/models/audit_log_entries_spec.rb +1 -1
  148. data/spec/models/audit_log_entry_spec.rb +1 -1
  149. data/spec/models/audit_log_entry_target_spec.rb +1 -1
  150. data/spec/models/clause_spec.rb +7 -1
  151. data/spec/models/copy_actions_spec.rb +1 -1
  152. data/spec/models/custom_property_spec.rb +1 -1
  153. data/spec/models/custom_property_values_spec.rb +1 -1
  154. data/spec/models/custom_role_body_spec.rb +1 -1
  155. data/spec/models/custom_role_spec.rb +1 -1
  156. data/spec/models/custom_roles_spec.rb +1 -1
  157. data/spec/models/defaults_spec.rb +1 -1
  158. data/spec/models/destination_amazon_kinesis_spec.rb +1 -1
  159. data/spec/models/destination_body_spec.rb +1 -1
  160. data/spec/models/destination_google_pub_sub_spec.rb +1 -1
  161. data/spec/models/destination_m_particle_spec.rb +1 -1
  162. data/spec/models/destination_segment_spec.rb +1 -1
  163. data/spec/models/destination_spec.rb +1 -1
  164. data/spec/models/destinations_spec.rb +1 -1
  165. data/spec/models/environment_post_spec.rb +1 -1
  166. data/spec/models/environment_spec.rb +1 -1
  167. data/spec/models/evaluation_usage_error_spec.rb +1 -1
  168. data/spec/models/events_spec.rb +1 -1
  169. data/spec/models/fallthrough_spec.rb +1 -1
  170. data/spec/models/feature_flag_body_spec.rb +1 -1
  171. data/spec/models/feature_flag_config_spec.rb +1 -1
  172. data/spec/models/feature_flag_copy_body_spec.rb +1 -1
  173. data/spec/models/feature_flag_copy_object_spec.rb +1 -1
  174. data/spec/models/feature_flag_spec.rb +1 -1
  175. data/spec/models/feature_flag_status_across_environments_spec.rb +1 -1
  176. data/spec/models/feature_flag_status_for_queried_environment_spec.rb +1 -1
  177. data/spec/models/feature_flag_status_spec.rb +1 -1
  178. data/spec/models/feature_flag_statuses_spec.rb +1 -1
  179. data/spec/models/feature_flags_spec.rb +7 -1
  180. data/spec/models/flag_list_item_spec.rb +1 -1
  181. data/spec/models/id_spec.rb +1 -1
  182. data/spec/models/link_spec.rb +1 -1
  183. data/spec/models/links_spec.rb +1 -1
  184. data/spec/models/ma_uby_category_spec.rb +1 -1
  185. data/spec/models/mau_metadata_spec.rb +1 -1
  186. data/spec/models/mau_spec.rb +1 -1
  187. data/spec/models/member_spec.rb +7 -1
  188. data/spec/models/members_body_spec.rb +1 -1
  189. data/spec/models/members_spec.rb +7 -1
  190. data/spec/models/patch_comment_spec.rb +1 -1
  191. data/spec/models/patch_operation_spec.rb +1 -1
  192. data/spec/models/policy_spec.rb +1 -1
  193. data/spec/models/prerequisite_spec.rb +1 -1
  194. data/spec/models/project_body_spec.rb +1 -1
  195. data/spec/models/project_spec.rb +1 -1
  196. data/spec/models/projects_spec.rb +1 -1
  197. data/spec/models/role_spec.rb +1 -1
  198. data/spec/models/rollout_spec.rb +1 -1
  199. data/spec/models/rule_spec.rb +1 -1
  200. data/spec/models/semantic_patch_operation_instructions_spec.rb +41 -0
  201. data/spec/models/semantic_patch_operation_spec.rb +47 -0
  202. data/spec/models/site_spec.rb +1 -1
  203. data/spec/models/statement_spec.rb +1 -1
  204. data/spec/models/stream_by_sdk_links_metadata_spec.rb +1 -1
  205. data/spec/models/stream_by_sdk_links_spec.rb +1 -1
  206. data/spec/models/stream_by_sdk_spec.rb +1 -1
  207. data/spec/models/stream_links_spec.rb +1 -1
  208. data/spec/models/stream_sdk_version_data_spec.rb +1 -1
  209. data/spec/models/stream_sdk_version_spec.rb +1 -1
  210. data/spec/models/stream_spec.rb +1 -1
  211. data/spec/models/stream_usage_error_spec.rb +1 -1
  212. data/spec/models/stream_usage_links_spec.rb +1 -1
  213. data/spec/models/stream_usage_metadata_spec.rb +1 -1
  214. data/spec/models/stream_usage_series_spec.rb +1 -1
  215. data/spec/models/streams_spec.rb +1 -1
  216. data/spec/models/target_spec.rb +1 -1
  217. data/spec/models/usage_error_spec.rb +1 -1
  218. data/spec/models/usage_links_spec.rb +1 -1
  219. data/spec/models/usage_spec.rb +1 -1
  220. data/spec/models/user_flag_setting_spec.rb +1 -1
  221. data/spec/models/user_flag_settings_spec.rb +1 -1
  222. data/spec/models/user_record_spec.rb +1 -1
  223. data/spec/models/user_segment_body_spec.rb +1 -1
  224. data/spec/models/user_segment_rule_spec.rb +1 -1
  225. data/spec/models/user_segment_spec.rb +1 -1
  226. data/spec/models/user_segments_spec.rb +1 -1
  227. data/spec/models/user_settings_body_spec.rb +1 -1
  228. data/spec/models/user_spec.rb +1 -1
  229. data/spec/models/user_targeting_expiration_for_flag_spec.rb +77 -0
  230. data/spec/models/user_targeting_expiration_for_flags_spec.rb +47 -0
  231. data/spec/models/user_targeting_expiration_for_segment_spec.rb +77 -0
  232. data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +47 -0
  233. data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +65 -0
  234. data/spec/models/users_spec.rb +1 -1
  235. data/spec/models/variation_spec.rb +7 -1
  236. data/spec/models/webhook_body_spec.rb +1 -1
  237. data/spec/models/webhook_spec.rb +1 -1
  238. data/spec/models/webhooks_spec.rb +1 -1
  239. data/spec/models/weighted_variation_spec.rb +1 -1
  240. data/spec/spec_helper.rb +1 -1
  241. metadata +109 -81
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca3a4c0d0877b5738f5f0ee1569e8b440ac55aa13e48dbba4ab87f87d78f5f94
4
- data.tar.gz: 708168792979a56d42e23faba1abc627f463c44a242231a4bd54b2920f74aac3
3
+ metadata.gz: 1e028fb0b53c7489a47e84f4771f98a1ea65a74c02fec0a8150148e78dd9481e
4
+ data.tar.gz: fb2ea9356c67a5ba2d5a8a55011749810d6862b066a68478efa497f1fa841251
5
5
  SHA512:
6
- metadata.gz: dfbf274fed41d366d0297df09614aaee01d4b732f14322961dc8b20b1d800abb95942919c306c6c5aec261e6dcd0a593a5960acefc082ae02e3a318a290ded8e
7
- data.tar.gz: e2ca81faedf9e1262ec0b5d20db9ccbe99b6da8640531298fbb55d095f075100f0206304727c54715161db725fc898b89109916136013c96ca0f8bbcf7b240a8
6
+ metadata.gz: 707611acc387b7ce84842d145099ad802dafff11c6c5410bffcb8a86e8db5834bbf61bd87716cb9476e5d23011fa12731aaa7c5fc7a37242d9e0f7958f8607a3
7
+ data.tar.gz: cef28a2ab563955acc5a4c53bb6c62b3070b5a94bd2737a480dcd0e95741bdec10b005ed56e0704dca9d4a1bca22b8791f436fab7ac857c8845fba60437b70e3
data/README.md CHANGED
@@ -11,8 +11,8 @@ Build custom integrations with the LaunchDarkly REST API
11
11
 
12
12
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
13
13
 
14
- - API version: 2.0.32
15
- - Package version: 2.0.32
14
+ - API version: 3.3.0
15
+ - Package version: 3.3.0
16
16
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
17
17
  For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
18
18
 
@@ -29,15 +29,15 @@ gem build launchdarkly_api.gemspec
29
29
  Then either install the gem locally:
30
30
 
31
31
  ```shell
32
- gem install ./launchdarkly_api-2.0.32.gem
32
+ gem install ./launchdarkly_api-3.3.0.gem
33
33
  ```
34
- (for development, run `gem install --dev ./launchdarkly_api-2.0.32.gem` to install the development dependencies)
34
+ (for development, run `gem install --dev ./launchdarkly_api-3.3.0.gem` to install the development dependencies)
35
35
 
36
36
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
37
37
 
38
38
  Finally add this to the Gemfile:
39
39
 
40
- gem 'launchdarkly_api', '~> 2.0.32'
40
+ gem 'launchdarkly_api', '~> 3.3.0'
41
41
 
42
42
  ### Install from Git
43
43
 
@@ -63,159 +63,173 @@ All URIs are relative to *https://app.launchdarkly.com/api/v2*
63
63
 
64
64
  Class | Method | HTTP request | Description
65
65
  ------------ | ------------- | ------------- | -------------
66
- *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/AuditLogApi.md#get_audit_log_entries) | **GET** /auditlog | Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.
67
- *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/AuditLogApi.md#get_audit_log_entry) | **GET** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
68
- *LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
69
- *LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
70
- *LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
71
- *LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
72
- *LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
73
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_evaluations**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_evaluations) | **GET** /usage/evaluations/{envId}/{flagKey} | Get events usage by event id and the feature flag key.
74
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_event**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_event) | **GET** /usage/events/{type} | Get events usage by event type.
75
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_events**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_events) | **GET** /usage/events | Get events usage endpoints.
76
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_mau**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_mau) | **GET** /usage/mau | Get monthly active user data.
77
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_mau_by_category**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_mau_by_category) | **GET** /usage/mau/bycategory | Get monthly active user data by category.
78
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_stream) | **GET** /usage/streams/{source} | Get a stream endpoint and return timeseries data.
79
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_by_sdk**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_stream_by_sdk) | **GET** /usage/streams/{source}/bysdkversion | Get a stream timeseries data by source show sdk version metadata.
80
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_sdk_version**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_stream_sdk_version) | **GET** /usage/streams/{source}/sdkversions | Get a stream timeseries data by source and show all sdk version associated.
81
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_streams**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_streams) | **GET** /usage/streams | Returns a list of all streams.
82
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_usage**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomerMetricsApi.md#get_usage) | **GET** /usage | Returns of the usage endpoints available.
83
- *LaunchDarklyApi::DataExportDestinationsApi* | [**delete_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DataExportDestinationsApi.md#delete_destination) | **DELETE** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
84
- *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DataExportDestinationsApi.md#get_destination) | **GET** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
85
- *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destinations**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DataExportDestinationsApi.md#get_destinations) | **GET** /destinations | Returns a list of all data export destinations.
86
- *LaunchDarklyApi::DataExportDestinationsApi* | [**patch_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DataExportDestinationsApi.md#patch_destination) | **PATCH** /destinations/{projectKey}/{environmentKey}/{destinationId} | Perform a partial update to a data export destination.
87
- *LaunchDarklyApi::DataExportDestinationsApi* | [**post_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DataExportDestinationsApi.md#post_destination) | **POST** /destinations/{projectKey}/{environmentKey} | Create a new data export destination
88
- *LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/EnvironmentsApi.md#delete_environment) | **DELETE** /projects/{projectKey}/environments/{environmentKey} | Delete an environment in a specific project.
89
- *LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
90
- *LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
91
- *LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
92
- *LaunchDarklyApi::FeatureFlagsApi* | [**copy_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#copy_feature_flag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
93
- *LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
94
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
95
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
96
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status_across_environments**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
97
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#get_feature_flag_statuses) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
98
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
99
- *LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
100
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
101
- *LaunchDarklyApi::ProjectsApi* | [**delete_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/ProjectsApi.md#delete_project) | **DELETE** /projects/{projectKey} | Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.
102
- *LaunchDarklyApi::ProjectsApi* | [**get_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/ProjectsApi.md#get_project) | **GET** /projects/{projectKey} | Fetch a single project by key.
103
- *LaunchDarklyApi::ProjectsApi* | [**get_projects**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
104
- *LaunchDarklyApi::ProjectsApi* | [**patch_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
105
- *LaunchDarklyApi::ProjectsApi* | [**post_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
106
- *LaunchDarklyApi::RootApi* | [**get_root**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/RootApi.md#get_root) | **GET** / |
107
- *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
108
- *LaunchDarklyApi::TeamMembersApi* | [**get_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
109
- *LaunchDarklyApi::TeamMembersApi* | [**get_members**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
110
- *LaunchDarklyApi::TeamMembersApi* | [**patch_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
111
- *LaunchDarklyApi::TeamMembersApi* | [**post_members**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
112
- *LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
113
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
114
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
115
- *LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
116
- *LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
117
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
118
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
119
- *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSettingsApi.md#put_flag_setting) | **PUT** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Specifically enable or disable a feature flag for a user based on their key.
120
- *LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
121
- *LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UsersApi.md#get_search_users) | **GET** /user-search/{projectKey}/{environmentKey} | Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.
122
- *LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
123
- *LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UsersApi.md#get_users) | **GET** /users/{projectKey}/{environmentKey} | List all users in the environment. Includes the total count of users. In each page, there will be up to 'limit' users returned (default 20). This is useful for exporting all users in the system for further analysis. Paginated collections will include a next link containing a URL with the next set of elements in the collection.
124
- *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
125
- *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
126
- *LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
127
- *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
128
- *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
66
+ *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/AuditLogApi.md#get_audit_log_entries) | **GET** /auditlog | Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.
67
+ *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/AuditLogApi.md#get_audit_log_entry) | **GET** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
68
+ *LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
69
+ *LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
70
+ *LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
71
+ *LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
72
+ *LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
73
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_evaluations**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_evaluations) | **GET** /usage/evaluations/{envId}/{flagKey} | Get events usage by event id and the feature flag key.
74
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_event**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_event) | **GET** /usage/events/{type} | Get events usage by event type.
75
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_events**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_events) | **GET** /usage/events | Get events usage endpoints.
76
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_mau**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_mau) | **GET** /usage/mau | Get monthly active user data.
77
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_mau_by_category**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_mau_by_category) | **GET** /usage/mau/bycategory | Get monthly active user data by category.
78
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_stream) | **GET** /usage/streams/{source} | Get a stream endpoint and return timeseries data.
79
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_by_sdk**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_stream_by_sdk) | **GET** /usage/streams/{source}/bysdkversion | Get a stream timeseries data by source show sdk version metadata.
80
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_sdk_version**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_stream_sdk_version) | **GET** /usage/streams/{source}/sdkversions | Get a stream timeseries data by source and show all sdk version associated.
81
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_streams**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_streams) | **GET** /usage/streams | Returns a list of all streams.
82
+ *LaunchDarklyApi::CustomerMetricsApi* | [**get_usage**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomerMetricsApi.md#get_usage) | **GET** /usage | Returns of the usage endpoints available.
83
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**delete_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DataExportDestinationsApi.md#delete_destination) | **DELETE** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
84
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DataExportDestinationsApi.md#get_destination) | **GET** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
85
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destinations**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DataExportDestinationsApi.md#get_destinations) | **GET** /destinations | Returns a list of all data export destinations.
86
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**patch_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DataExportDestinationsApi.md#patch_destination) | **PATCH** /destinations/{projectKey}/{environmentKey}/{destinationId} | Perform a partial update to a data export destination.
87
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**post_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DataExportDestinationsApi.md#post_destination) | **POST** /destinations/{projectKey}/{environmentKey} | Create a new data export destination
88
+ *LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/EnvironmentsApi.md#delete_environment) | **DELETE** /projects/{projectKey}/environments/{environmentKey} | Delete an environment in a specific project.
89
+ *LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
90
+ *LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
91
+ *LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
92
+ *LaunchDarklyApi::FeatureFlagsApi* | [**copy_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#copy_feature_flag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
93
+ *LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
94
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_expiring_user_targets**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
95
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
96
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
97
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status_across_environments**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
98
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#get_feature_flag_statuses) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
99
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
100
+ *LaunchDarklyApi::FeatureFlagsApi* | [**patch_expiring_user_targets**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#patch_expiring_user_targets) | **PATCH** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on feature flag
101
+ *LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
102
+ *LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
103
+ *LaunchDarklyApi::ProjectsApi* | [**delete_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/ProjectsApi.md#delete_project) | **DELETE** /projects/{projectKey} | Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.
104
+ *LaunchDarklyApi::ProjectsApi* | [**get_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/ProjectsApi.md#get_project) | **GET** /projects/{projectKey} | Fetch a single project by key.
105
+ *LaunchDarklyApi::ProjectsApi* | [**get_projects**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
106
+ *LaunchDarklyApi::ProjectsApi* | [**patch_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
107
+ *LaunchDarklyApi::ProjectsApi* | [**post_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
108
+ *LaunchDarklyApi::RootApi* | [**get_root**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/RootApi.md#get_root) | **GET** / |
109
+ *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
110
+ *LaunchDarklyApi::TeamMembersApi* | [**get_me**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/TeamMembersApi.md#get_me) | **GET** /members/me | Get the current team member associated with the token
111
+ *LaunchDarklyApi::TeamMembersApi* | [**get_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
112
+ *LaunchDarklyApi::TeamMembersApi* | [**get_members**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
113
+ *LaunchDarklyApi::TeamMembersApi* | [**patch_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
114
+ *LaunchDarklyApi::TeamMembersApi* | [**post_members**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
115
+ *LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
116
+ *LaunchDarklyApi::UserSegmentsApi* | [**get_expiring_user_targets_on_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#get_expiring_user_targets_on_segment) | **GET** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for user segment
117
+ *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
118
+ *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
119
+ *LaunchDarklyApi::UserSegmentsApi* | [**patch_expiring_user_targets_on_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#patch_expiring_user_targets_on_segment) | **PATCH** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on user segment
120
+ *LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
121
+ *LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
122
+ *LaunchDarklyApi::UserSettingsApi* | [**get_expiring_user_targets_for_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSettingsApi.md#get_expiring_user_targets_for_user) | **GET** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Get expiring dates on flags for user
123
+ *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
124
+ *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
125
+ *LaunchDarklyApi::UserSettingsApi* | [**patch_expiring_user_targets_for_flags**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSettingsApi.md#patch_expiring_user_targets_for_flags) | **PATCH** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets for a single user on all flags
126
+ *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSettingsApi.md#put_flag_setting) | **PUT** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Specifically enable or disable a feature flag for a user based on their key.
127
+ *LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
128
+ *LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UsersApi.md#get_search_users) | **GET** /user-search/{projectKey}/{environmentKey} | Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.
129
+ *LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
130
+ *LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UsersApi.md#get_users) | **GET** /users/{projectKey}/{environmentKey} | List all users in the environment. Includes the total count of users. In each page, there will be up to 'limit' users returned (default 20). This is useful for exporting all users in the system for further analysis. Paginated collections will include a next link containing a URL with the next set of elements in the collection.
131
+ *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
132
+ *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
133
+ *LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
134
+ *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
135
+ *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
129
136
 
130
137
 
131
138
  ## Documentation for Models
132
139
 
133
- - [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/AuditLogEntries.md)
134
- - [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/AuditLogEntry.md)
135
- - [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/AuditLogEntryTarget.md)
136
- - [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Clause.md)
137
- - [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CopyActions.md)
138
- - [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomProperty.md)
139
- - [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomPropertyValues.md)
140
- - [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRole.md)
141
- - [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRoleBody.md)
142
- - [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/CustomRoles.md)
143
- - [LaunchDarklyApi::Defaults](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Defaults.md)
144
- - [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Destination.md)
145
- - [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DestinationAmazonKinesis.md)
146
- - [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DestinationBody.md)
147
- - [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DestinationGooglePubSub.md)
148
- - [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DestinationMParticle.md)
149
- - [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/DestinationSegment.md)
150
- - [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Destinations.md)
151
- - [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Environment.md)
152
- - [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/EnvironmentPost.md)
153
- - [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/EvaluationUsageError.md)
154
- - [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Events.md)
155
- - [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Fallthrough.md)
156
- - [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlag.md)
157
- - [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagBody.md)
158
- - [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagConfig.md)
159
- - [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagCopyBody.md)
160
- - [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagCopyObject.md)
161
- - [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagStatus.md)
162
- - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagStatusAcrossEnvironments.md)
163
- - [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagStatusForQueriedEnvironment.md)
164
- - [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlagStatuses.md)
165
- - [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FeatureFlags.md)
166
- - [LaunchDarklyApi::FlagListItem](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/FlagListItem.md)
167
- - [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Id.md)
168
- - [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Link.md)
169
- - [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Links.md)
170
- - [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/MAU.md)
171
- - [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/MAUMetadata.md)
172
- - [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/MAUbyCategory.md)
173
- - [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Member.md)
174
- - [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Members.md)
175
- - [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/MembersBody.md)
176
- - [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/PatchComment.md)
177
- - [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/PatchOperation.md)
178
- - [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Policy.md)
179
- - [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Prerequisite.md)
180
- - [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Project.md)
181
- - [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/ProjectBody.md)
182
- - [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Projects.md)
183
- - [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Role.md)
184
- - [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Rollout.md)
185
- - [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Rule.md)
186
- - [LaunchDarklyApi::Site](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Site.md)
187
- - [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Statement.md)
188
- - [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Stream.md)
189
- - [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamBySDK.md)
190
- - [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamBySDKLinks.md)
191
- - [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamBySDKLinksMetadata.md)
192
- - [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamLinks.md)
193
- - [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamSDKVersion.md)
194
- - [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamSDKVersionData.md)
195
- - [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamUsageError.md)
196
- - [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamUsageLinks.md)
197
- - [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamUsageMetadata.md)
198
- - [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/StreamUsageSeries.md)
199
- - [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Streams.md)
200
- - [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Target.md)
201
- - [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Usage.md)
202
- - [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UsageError.md)
203
- - [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UsageLinks.md)
204
- - [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/User.md)
205
- - [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserFlagSetting.md)
206
- - [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserFlagSettings.md)
207
- - [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserRecord.md)
208
- - [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegment.md)
209
- - [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentBody.md)
210
- - [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegmentRule.md)
211
- - [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSegments.md)
212
- - [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/UserSettingsBody.md)
213
- - [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Users.md)
214
- - [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Variation.md)
215
- - [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Webhook.md)
216
- - [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WebhookBody.md)
217
- - [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/Webhooks.md)
218
- - [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.32/docs/WeightedVariation.md)
140
+ - [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/AuditLogEntries.md)
141
+ - [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/AuditLogEntry.md)
142
+ - [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/AuditLogEntryTarget.md)
143
+ - [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Clause.md)
144
+ - [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CopyActions.md)
145
+ - [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomProperty.md)
146
+ - [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomPropertyValues.md)
147
+ - [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRole.md)
148
+ - [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRoleBody.md)
149
+ - [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/CustomRoles.md)
150
+ - [LaunchDarklyApi::Defaults](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Defaults.md)
151
+ - [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Destination.md)
152
+ - [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DestinationAmazonKinesis.md)
153
+ - [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DestinationBody.md)
154
+ - [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DestinationGooglePubSub.md)
155
+ - [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DestinationMParticle.md)
156
+ - [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/DestinationSegment.md)
157
+ - [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Destinations.md)
158
+ - [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Environment.md)
159
+ - [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/EnvironmentPost.md)
160
+ - [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/EvaluationUsageError.md)
161
+ - [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Events.md)
162
+ - [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Fallthrough.md)
163
+ - [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlag.md)
164
+ - [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagBody.md)
165
+ - [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagConfig.md)
166
+ - [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagCopyBody.md)
167
+ - [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagCopyObject.md)
168
+ - [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagStatus.md)
169
+ - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagStatusAcrossEnvironments.md)
170
+ - [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagStatusForQueriedEnvironment.md)
171
+ - [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlagStatuses.md)
172
+ - [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FeatureFlags.md)
173
+ - [LaunchDarklyApi::FlagListItem](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/FlagListItem.md)
174
+ - [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Id.md)
175
+ - [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Link.md)
176
+ - [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Links.md)
177
+ - [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/MAU.md)
178
+ - [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/MAUMetadata.md)
179
+ - [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/MAUbyCategory.md)
180
+ - [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Member.md)
181
+ - [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Members.md)
182
+ - [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/MembersBody.md)
183
+ - [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/PatchComment.md)
184
+ - [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/PatchOperation.md)
185
+ - [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Policy.md)
186
+ - [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Prerequisite.md)
187
+ - [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Project.md)
188
+ - [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/ProjectBody.md)
189
+ - [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Projects.md)
190
+ - [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Role.md)
191
+ - [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Rollout.md)
192
+ - [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Rule.md)
193
+ - [LaunchDarklyApi::SemanticPatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/SemanticPatchOperation.md)
194
+ - [LaunchDarklyApi::SemanticPatchOperationInstructions](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/SemanticPatchOperationInstructions.md)
195
+ - [LaunchDarklyApi::Site](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Site.md)
196
+ - [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Statement.md)
197
+ - [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Stream.md)
198
+ - [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamBySDK.md)
199
+ - [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamBySDKLinks.md)
200
+ - [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamBySDKLinksMetadata.md)
201
+ - [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamLinks.md)
202
+ - [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamSDKVersion.md)
203
+ - [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamSDKVersionData.md)
204
+ - [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamUsageError.md)
205
+ - [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamUsageLinks.md)
206
+ - [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamUsageMetadata.md)
207
+ - [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/StreamUsageSeries.md)
208
+ - [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Streams.md)
209
+ - [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Target.md)
210
+ - [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Usage.md)
211
+ - [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UsageError.md)
212
+ - [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UsageLinks.md)
213
+ - [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/User.md)
214
+ - [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserFlagSetting.md)
215
+ - [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserFlagSettings.md)
216
+ - [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserRecord.md)
217
+ - [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegment.md)
218
+ - [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentBody.md)
219
+ - [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegmentRule.md)
220
+ - [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSegments.md)
221
+ - [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserSettingsBody.md)
222
+ - [LaunchDarklyApi::UserTargetingExpirationForFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserTargetingExpirationForFlag.md)
223
+ - [LaunchDarklyApi::UserTargetingExpirationForFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserTargetingExpirationForFlags.md)
224
+ - [LaunchDarklyApi::UserTargetingExpirationForSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserTargetingExpirationForSegment.md)
225
+ - [LaunchDarklyApi::UserTargetingExpirationOnFlagsForUser](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserTargetingExpirationOnFlagsForUser.md)
226
+ - [LaunchDarklyApi::UserTargetingExpirationResourceIdForFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/UserTargetingExpirationResourceIdForFlag.md)
227
+ - [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Users.md)
228
+ - [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Variation.md)
229
+ - [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Webhook.md)
230
+ - [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WebhookBody.md)
231
+ - [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/Webhooks.md)
232
+ - [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/3.3.0/docs/WeightedVariation.md)
219
233
 
220
234
  ## Sample Code
221
235
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **_id** | **String** | | [optional]
6
7
  **attribute** | **String** | | [optional]
7
8
  **op** | **String** | | [optional]
8
9
  **values** | **Array<Object>** | | [optional]
@@ -5,5 +5,6 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **_links** | [**Links**](Links.md) | | [optional]
7
7
  **items** | [**Array<FeatureFlag>**](FeatureFlag.md) | | [optional]
8
+ **total_count** | **Float** | | [optional]
8
9
 
9
10
 
@@ -6,11 +6,13 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**copy_feature_flag**](FeatureFlagsApi.md#copy_feature_flag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
8
8
  [**delete_feature_flag**](FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
9
+ [**get_expiring_user_targets**](FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
9
10
  [**get_feature_flag**](FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
10
11
  [**get_feature_flag_status**](FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
11
12
  [**get_feature_flag_status_across_environments**](FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
12
13
  [**get_feature_flag_statuses**](FeatureFlagsApi.md#get_feature_flag_statuses) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
13
14
  [**get_feature_flags**](FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
15
+ [**patch_expiring_user_targets**](FeatureFlagsApi.md#patch_expiring_user_targets) | **PATCH** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on feature flag
14
16
  [**patch_feature_flag**](FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
15
17
  [**post_feature_flag**](FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
16
18
 
@@ -127,6 +129,64 @@ nil (empty response body)
127
129
 
128
130
 
129
131
 
132
+ # **get_expiring_user_targets**
133
+ > UserTargetingExpirationForFlags get_expiring_user_targets(project_key, environment_key, feature_flag_key, )
134
+
135
+ Get expiring user targets for feature flag
136
+
137
+ ### Example
138
+ ```ruby
139
+ # load the gem
140
+ require 'launchdarkly_api'
141
+ # setup authorization
142
+ LaunchDarklyApi.configure do |config|
143
+ # Configure API key authorization: Token
144
+ config.api_key['Authorization'] = 'YOUR API KEY'
145
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
146
+ #config.api_key_prefix['Authorization'] = 'Bearer'
147
+ end
148
+
149
+ api_instance = LaunchDarklyApi::FeatureFlagsApi.new
150
+
151
+ project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
152
+
153
+ environment_key = 'environment_key_example' # String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
154
+
155
+ feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
156
+
157
+
158
+ begin
159
+ #Get expiring user targets for feature flag
160
+ result = api_instance.get_expiring_user_targets(project_key, environment_key, feature_flag_key, )
161
+ p result
162
+ rescue LaunchDarklyApi::ApiError => e
163
+ puts "Exception when calling FeatureFlagsApi->get_expiring_user_targets: #{e}"
164
+ end
165
+ ```
166
+
167
+ ### Parameters
168
+
169
+ Name | Type | Description | Notes
170
+ ------------- | ------------- | ------------- | -------------
171
+ **project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
172
+ **environment_key** | **String**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
173
+ **feature_flag_key** | **String**| The feature flag's key. The key identifies the flag in your code. |
174
+
175
+ ### Return type
176
+
177
+ [**UserTargetingExpirationForFlags**](UserTargetingExpirationForFlags.md)
178
+
179
+ ### Authorization
180
+
181
+ [Token](../README.md#Token)
182
+
183
+ ### HTTP request headers
184
+
185
+ - **Content-Type**: application/json
186
+ - **Accept**: application/json
187
+
188
+
189
+
130
190
  # **get_feature_flag**
131
191
  > FeatureFlag get_feature_flag(project_key, feature_flag_key, , opts)
132
192
 
@@ -151,7 +211,7 @@ project_key = 'project_key_example' # String | The project key, used to tie the
151
211
  feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
152
212
 
153
213
  opts = {
154
- env: 'env_example' # String | By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=production will restrict the returned configurations to just your production environment.
214
+ env: ['env_example'] # Array<String> | By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment.
155
215
  }
156
216
 
157
217
  begin
@@ -169,7 +229,7 @@ Name | Type | Description | Notes
169
229
  ------------- | ------------- | ------------- | -------------
170
230
  **project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
171
231
  **feature_flag_key** | **String**| The feature flag&#39;s key. The key identifies the flag in your code. |
172
- **env** | **String**| By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env&#x3D;production will restrict the returned configurations to just your production environment. | [optional]
232
+ **env** | [**Array&lt;String&gt;**](String.md)| By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env&#x3D;[\&quot;production\&quot;] will restrict the returned configurations to just your production environment. | [optional]
173
233
 
174
234
  ### Return type
175
235
 
@@ -376,9 +436,13 @@ api_instance = LaunchDarklyApi::FeatureFlagsApi.new
376
436
  project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
377
437
 
378
438
  opts = {
379
- env: 'env_example' # String | By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=production will restrict the returned configurations to just your production environment.
439
+ env: ['env_example'] # Array<String> | By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment.
380
440
  summary: true, # BOOLEAN | By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned.
381
441
  archived: true, # BOOLEAN | When set to 1, archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags.
442
+ limit: 8.14, # Float | The number of objects to return. Defaults to -1, which returns everything.
443
+ offset: 8.14, # Float | Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items.
444
+ filter: 'filter_example', # String | A comma-separated list of filters. Each filter is of the form field:value.
445
+ sort: 'sort_example' # String | A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order.
382
446
  tag: 'tag_example' # String | Filter by tag. A tag can be used to group flags across projects.
383
447
  }
384
448
 
@@ -396,9 +460,13 @@ end
396
460
  Name | Type | Description | Notes
397
461
  ------------- | ------------- | ------------- | -------------
398
462
  **project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
399
- **env** | **String**| By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env&#x3D;production will restrict the returned configurations to just your production environment. | [optional]
463
+ **env** | [**Array&lt;String&gt;**](String.md)| By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env&#x3D;[\&quot;production\&quot;] will restrict the returned configurations to just your production environment. | [optional]
400
464
  **summary** | **BOOLEAN**| By default in api version &gt;&#x3D; 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary&#x3D;0 to include these fields for each flag returned. | [optional]
401
465
  **archived** | **BOOLEAN**| When set to 1, archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags. | [optional]
466
+ **limit** | **Float**| The number of objects to return. Defaults to -1, which returns everything. | [optional]
467
+ **offset** | **Float**| Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. | [optional]
468
+ **filter** | **String**| A comma-separated list of filters. Each filter is of the form field:value. | [optional]
469
+ **sort** | **String**| A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. | [optional]
402
470
  **tag** | **String**| Filter by tag. A tag can be used to group flags across projects. | [optional]
403
471
 
404
472
  ### Return type
@@ -416,6 +484,67 @@ Name | Type | Description | Notes
416
484
 
417
485
 
418
486
 
487
+ # **patch_expiring_user_targets**
488
+ > UserTargetingExpirationForFlags patch_expiring_user_targets(project_key, environment_key, feature_flag_key, semantic_patch_with_comment)
489
+
490
+ Update, add, or delete expiring user targets on feature flag
491
+
492
+ ### Example
493
+ ```ruby
494
+ # load the gem
495
+ require 'launchdarkly_api'
496
+ # setup authorization
497
+ LaunchDarklyApi.configure do |config|
498
+ # Configure API key authorization: Token
499
+ config.api_key['Authorization'] = 'YOUR API KEY'
500
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
501
+ #config.api_key_prefix['Authorization'] = 'Bearer'
502
+ end
503
+
504
+ api_instance = LaunchDarklyApi::FeatureFlagsApi.new
505
+
506
+ project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
507
+
508
+ environment_key = 'environment_key_example' # String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
509
+
510
+ feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
511
+
512
+ semantic_patch_with_comment = nil # Object | Requires a Semantic Patch representation of the desired changes to the resource. 'https://apidocs.launchdarkly.com/reference#updates-via-semantic-patches'. The addition of comments is also supported.
513
+
514
+
515
+ begin
516
+ #Update, add, or delete expiring user targets on feature flag
517
+ result = api_instance.patch_expiring_user_targets(project_key, environment_key, feature_flag_key, semantic_patch_with_comment)
518
+ p result
519
+ rescue LaunchDarklyApi::ApiError => e
520
+ puts "Exception when calling FeatureFlagsApi->patch_expiring_user_targets: #{e}"
521
+ end
522
+ ```
523
+
524
+ ### Parameters
525
+
526
+ Name | Type | Description | Notes
527
+ ------------- | ------------- | ------------- | -------------
528
+ **project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
529
+ **environment_key** | **String**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
530
+ **feature_flag_key** | **String**| The feature flag&#39;s key. The key identifies the flag in your code. |
531
+ **semantic_patch_with_comment** | **Object**| Requires a Semantic Patch representation of the desired changes to the resource. &#39;https://apidocs.launchdarkly.com/reference#updates-via-semantic-patches&#39;. The addition of comments is also supported. |
532
+
533
+ ### Return type
534
+
535
+ [**UserTargetingExpirationForFlags**](UserTargetingExpirationForFlags.md)
536
+
537
+ ### Authorization
538
+
539
+ [Token](../README.md#Token)
540
+
541
+ ### HTTP request headers
542
+
543
+ - **Content-Type**: application/json
544
+ - **Accept**: application/json
545
+
546
+
547
+
419
548
  # **patch_feature_flag**
420
549
  > FeatureFlag patch_feature_flag(project_key, feature_flag_key, patch_comment)
421
550