launchdarkly_api 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +163 -155
  3. data/docs/Clause.md +1 -0
  4. data/docs/FeatureFlagsApi.md +121 -0
  5. data/docs/UserSettingsApi.md +121 -0
  6. data/docs/UserTargetingExpirationForFlag.md +14 -0
  7. data/docs/UserTargetingExpirationForFlags.md +9 -0
  8. data/docs/UserTargetingExpirationOnFlagsForUser.md +9 -0
  9. data/docs/UserTargetingExpirationResourceIdForFlag.md +12 -0
  10. data/launchdarkly_api.gemspec +1 -1
  11. data/lib/launchdarkly_api.rb +5 -1
  12. data/lib/launchdarkly_api/api/audit_log_api.rb +1 -1
  13. data/lib/launchdarkly_api/api/custom_roles_api.rb +1 -1
  14. data/lib/launchdarkly_api/api/customer_metrics_api.rb +1 -1
  15. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +1 -1
  16. data/lib/launchdarkly_api/api/environments_api.rb +1 -1
  17. data/lib/launchdarkly_api/api/feature_flags_api.rb +135 -1
  18. data/lib/launchdarkly_api/api/projects_api.rb +1 -1
  19. data/lib/launchdarkly_api/api/root_api.rb +1 -1
  20. data/lib/launchdarkly_api/api/team_members_api.rb +1 -1
  21. data/lib/launchdarkly_api/api/user_segments_api.rb +1 -1
  22. data/lib/launchdarkly_api/api/user_settings_api.rb +135 -1
  23. data/lib/launchdarkly_api/api/users_api.rb +1 -1
  24. data/lib/launchdarkly_api/api/webhooks_api.rb +1 -1
  25. data/lib/launchdarkly_api/api_client.rb +1 -1
  26. data/lib/launchdarkly_api/api_error.rb +1 -1
  27. data/lib/launchdarkly_api/configuration.rb +1 -1
  28. data/lib/launchdarkly_api/models/audit_log_entries.rb +1 -1
  29. data/lib/launchdarkly_api/models/audit_log_entry.rb +1 -1
  30. data/lib/launchdarkly_api/models/audit_log_entry_target.rb +1 -1
  31. data/lib/launchdarkly_api/models/clause.rb +11 -2
  32. data/lib/launchdarkly_api/models/copy_actions.rb +1 -1
  33. data/lib/launchdarkly_api/models/custom_property.rb +1 -1
  34. data/lib/launchdarkly_api/models/custom_property_values.rb +1 -1
  35. data/lib/launchdarkly_api/models/custom_role.rb +1 -1
  36. data/lib/launchdarkly_api/models/custom_role_body.rb +1 -1
  37. data/lib/launchdarkly_api/models/custom_roles.rb +1 -1
  38. data/lib/launchdarkly_api/models/defaults.rb +1 -1
  39. data/lib/launchdarkly_api/models/destination.rb +1 -1
  40. data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +1 -1
  41. data/lib/launchdarkly_api/models/destination_body.rb +1 -1
  42. data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +1 -1
  43. data/lib/launchdarkly_api/models/destination_m_particle.rb +1 -1
  44. data/lib/launchdarkly_api/models/destination_segment.rb +1 -1
  45. data/lib/launchdarkly_api/models/destinations.rb +1 -1
  46. data/lib/launchdarkly_api/models/environment.rb +1 -1
  47. data/lib/launchdarkly_api/models/environment_post.rb +1 -1
  48. data/lib/launchdarkly_api/models/evaluation_usage_error.rb +1 -1
  49. data/lib/launchdarkly_api/models/events.rb +1 -1
  50. data/lib/launchdarkly_api/models/fallthrough.rb +1 -1
  51. data/lib/launchdarkly_api/models/feature_flag.rb +1 -1
  52. data/lib/launchdarkly_api/models/feature_flag_body.rb +1 -1
  53. data/lib/launchdarkly_api/models/feature_flag_config.rb +1 -1
  54. data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +1 -1
  55. data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +1 -1
  56. data/lib/launchdarkly_api/models/feature_flag_status.rb +1 -1
  57. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +1 -1
  58. data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +1 -1
  59. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +1 -1
  60. data/lib/launchdarkly_api/models/feature_flags.rb +1 -1
  61. data/lib/launchdarkly_api/models/flag_list_item.rb +1 -1
  62. data/lib/launchdarkly_api/models/id.rb +1 -1
  63. data/lib/launchdarkly_api/models/link.rb +1 -1
  64. data/lib/launchdarkly_api/models/links.rb +1 -1
  65. data/lib/launchdarkly_api/models/ma_uby_category.rb +1 -1
  66. data/lib/launchdarkly_api/models/mau.rb +1 -1
  67. data/lib/launchdarkly_api/models/mau_metadata.rb +1 -1
  68. data/lib/launchdarkly_api/models/member.rb +1 -1
  69. data/lib/launchdarkly_api/models/members.rb +1 -1
  70. data/lib/launchdarkly_api/models/members_body.rb +1 -1
  71. data/lib/launchdarkly_api/models/patch_comment.rb +1 -1
  72. data/lib/launchdarkly_api/models/patch_operation.rb +1 -1
  73. data/lib/launchdarkly_api/models/policy.rb +1 -1
  74. data/lib/launchdarkly_api/models/prerequisite.rb +1 -1
  75. data/lib/launchdarkly_api/models/project.rb +1 -1
  76. data/lib/launchdarkly_api/models/project_body.rb +1 -1
  77. data/lib/launchdarkly_api/models/projects.rb +1 -1
  78. data/lib/launchdarkly_api/models/role.rb +1 -1
  79. data/lib/launchdarkly_api/models/rollout.rb +1 -1
  80. data/lib/launchdarkly_api/models/rule.rb +1 -1
  81. data/lib/launchdarkly_api/models/site.rb +1 -1
  82. data/lib/launchdarkly_api/models/statement.rb +1 -1
  83. data/lib/launchdarkly_api/models/stream.rb +1 -1
  84. data/lib/launchdarkly_api/models/stream_by_sdk.rb +1 -1
  85. data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +1 -1
  86. data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +1 -1
  87. data/lib/launchdarkly_api/models/stream_links.rb +1 -1
  88. data/lib/launchdarkly_api/models/stream_sdk_version.rb +1 -1
  89. data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +1 -1
  90. data/lib/launchdarkly_api/models/stream_usage_error.rb +1 -1
  91. data/lib/launchdarkly_api/models/stream_usage_links.rb +1 -1
  92. data/lib/launchdarkly_api/models/stream_usage_metadata.rb +1 -1
  93. data/lib/launchdarkly_api/models/stream_usage_series.rb +1 -1
  94. data/lib/launchdarkly_api/models/streams.rb +1 -1
  95. data/lib/launchdarkly_api/models/target.rb +1 -1
  96. data/lib/launchdarkly_api/models/usage.rb +1 -1
  97. data/lib/launchdarkly_api/models/usage_error.rb +1 -1
  98. data/lib/launchdarkly_api/models/usage_links.rb +1 -1
  99. data/lib/launchdarkly_api/models/user.rb +1 -1
  100. data/lib/launchdarkly_api/models/user_flag_setting.rb +1 -1
  101. data/lib/launchdarkly_api/models/user_flag_settings.rb +1 -1
  102. data/lib/launchdarkly_api/models/user_record.rb +1 -1
  103. data/lib/launchdarkly_api/models/user_segment.rb +1 -1
  104. data/lib/launchdarkly_api/models/user_segment_body.rb +1 -1
  105. data/lib/launchdarkly_api/models/user_segment_rule.rb +1 -1
  106. data/lib/launchdarkly_api/models/user_segments.rb +1 -1
  107. data/lib/launchdarkly_api/models/user_settings_body.rb +1 -1
  108. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +240 -0
  109. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +194 -0
  110. data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +194 -0
  111. data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +219 -0
  112. data/lib/launchdarkly_api/models/users.rb +1 -1
  113. data/lib/launchdarkly_api/models/variation.rb +1 -1
  114. data/lib/launchdarkly_api/models/webhook.rb +1 -1
  115. data/lib/launchdarkly_api/models/webhook_body.rb +1 -1
  116. data/lib/launchdarkly_api/models/webhooks.rb +1 -1
  117. data/lib/launchdarkly_api/models/weighted_variation.rb +1 -1
  118. data/lib/launchdarkly_api/version.rb +2 -2
  119. data/openapi.yml +136 -1
  120. data/spec/api/audit_log_api_spec.rb +1 -1
  121. data/spec/api/custom_roles_api_spec.rb +1 -1
  122. data/spec/api/customer_metrics_api_spec.rb +1 -1
  123. data/spec/api/data_export_destinations_api_spec.rb +1 -1
  124. data/spec/api/environments_api_spec.rb +1 -1
  125. data/spec/api/feature_flags_api_spec.rb +28 -1
  126. data/spec/api/projects_api_spec.rb +1 -1
  127. data/spec/api/root_api_spec.rb +1 -1
  128. data/spec/api/team_members_api_spec.rb +1 -1
  129. data/spec/api/user_segments_api_spec.rb +1 -1
  130. data/spec/api/user_settings_api_spec.rb +28 -1
  131. data/spec/api/users_api_spec.rb +1 -1
  132. data/spec/api/webhooks_api_spec.rb +1 -1
  133. data/spec/api_client_spec.rb +1 -1
  134. data/spec/configuration_spec.rb +1 -1
  135. data/spec/models/audit_log_entries_spec.rb +1 -1
  136. data/spec/models/audit_log_entry_spec.rb +1 -1
  137. data/spec/models/audit_log_entry_target_spec.rb +1 -1
  138. data/spec/models/clause_spec.rb +7 -1
  139. data/spec/models/copy_actions_spec.rb +1 -1
  140. data/spec/models/custom_property_spec.rb +1 -1
  141. data/spec/models/custom_property_values_spec.rb +1 -1
  142. data/spec/models/custom_role_body_spec.rb +1 -1
  143. data/spec/models/custom_role_spec.rb +1 -1
  144. data/spec/models/custom_roles_spec.rb +1 -1
  145. data/spec/models/defaults_spec.rb +1 -1
  146. data/spec/models/destination_amazon_kinesis_spec.rb +1 -1
  147. data/spec/models/destination_body_spec.rb +1 -1
  148. data/spec/models/destination_google_pub_sub_spec.rb +1 -1
  149. data/spec/models/destination_m_particle_spec.rb +1 -1
  150. data/spec/models/destination_segment_spec.rb +1 -1
  151. data/spec/models/destination_spec.rb +1 -1
  152. data/spec/models/destinations_spec.rb +1 -1
  153. data/spec/models/environment_post_spec.rb +1 -1
  154. data/spec/models/environment_spec.rb +1 -1
  155. data/spec/models/evaluation_usage_error_spec.rb +1 -1
  156. data/spec/models/events_spec.rb +1 -1
  157. data/spec/models/fallthrough_spec.rb +1 -1
  158. data/spec/models/feature_flag_body_spec.rb +1 -1
  159. data/spec/models/feature_flag_config_spec.rb +1 -1
  160. data/spec/models/feature_flag_copy_body_spec.rb +1 -1
  161. data/spec/models/feature_flag_copy_object_spec.rb +1 -1
  162. data/spec/models/feature_flag_spec.rb +1 -1
  163. data/spec/models/feature_flag_status_across_environments_spec.rb +1 -1
  164. data/spec/models/feature_flag_status_for_queried_environment_spec.rb +1 -1
  165. data/spec/models/feature_flag_status_spec.rb +1 -1
  166. data/spec/models/feature_flag_statuses_spec.rb +1 -1
  167. data/spec/models/feature_flags_spec.rb +1 -1
  168. data/spec/models/flag_list_item_spec.rb +1 -1
  169. data/spec/models/id_spec.rb +1 -1
  170. data/spec/models/link_spec.rb +1 -1
  171. data/spec/models/links_spec.rb +1 -1
  172. data/spec/models/ma_uby_category_spec.rb +1 -1
  173. data/spec/models/mau_metadata_spec.rb +1 -1
  174. data/spec/models/mau_spec.rb +1 -1
  175. data/spec/models/member_spec.rb +1 -1
  176. data/spec/models/members_body_spec.rb +1 -1
  177. data/spec/models/members_spec.rb +1 -1
  178. data/spec/models/patch_comment_spec.rb +1 -1
  179. data/spec/models/patch_operation_spec.rb +1 -1
  180. data/spec/models/policy_spec.rb +1 -1
  181. data/spec/models/prerequisite_spec.rb +1 -1
  182. data/spec/models/project_body_spec.rb +1 -1
  183. data/spec/models/project_spec.rb +1 -1
  184. data/spec/models/projects_spec.rb +1 -1
  185. data/spec/models/role_spec.rb +1 -1
  186. data/spec/models/rollout_spec.rb +1 -1
  187. data/spec/models/rule_spec.rb +1 -1
  188. data/spec/models/site_spec.rb +1 -1
  189. data/spec/models/statement_spec.rb +1 -1
  190. data/spec/models/stream_by_sdk_links_metadata_spec.rb +1 -1
  191. data/spec/models/stream_by_sdk_links_spec.rb +1 -1
  192. data/spec/models/stream_by_sdk_spec.rb +1 -1
  193. data/spec/models/stream_links_spec.rb +1 -1
  194. data/spec/models/stream_sdk_version_data_spec.rb +1 -1
  195. data/spec/models/stream_sdk_version_spec.rb +1 -1
  196. data/spec/models/stream_spec.rb +1 -1
  197. data/spec/models/stream_usage_error_spec.rb +1 -1
  198. data/spec/models/stream_usage_links_spec.rb +1 -1
  199. data/spec/models/stream_usage_metadata_spec.rb +1 -1
  200. data/spec/models/stream_usage_series_spec.rb +1 -1
  201. data/spec/models/streams_spec.rb +1 -1
  202. data/spec/models/target_spec.rb +1 -1
  203. data/spec/models/usage_error_spec.rb +1 -1
  204. data/spec/models/usage_links_spec.rb +1 -1
  205. data/spec/models/usage_spec.rb +1 -1
  206. data/spec/models/user_flag_setting_spec.rb +1 -1
  207. data/spec/models/user_flag_settings_spec.rb +1 -1
  208. data/spec/models/user_record_spec.rb +1 -1
  209. data/spec/models/user_segment_body_spec.rb +1 -1
  210. data/spec/models/user_segment_rule_spec.rb +1 -1
  211. data/spec/models/user_segment_spec.rb +1 -1
  212. data/spec/models/user_segments_spec.rb +1 -1
  213. data/spec/models/user_settings_body_spec.rb +1 -1
  214. data/spec/models/user_spec.rb +1 -1
  215. data/spec/models/user_targeting_expiration_for_flag_spec.rb +77 -0
  216. data/spec/models/user_targeting_expiration_for_flags_spec.rb +47 -0
  217. data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +47 -0
  218. data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +65 -0
  219. data/spec/models/users_spec.rb +1 -1
  220. data/spec/models/variation_spec.rb +1 -1
  221. data/spec/models/webhook_body_spec.rb +1 -1
  222. data/spec/models/webhook_spec.rb +1 -1
  223. data/spec/models/webhooks_spec.rb +1 -1
  224. data/spec/models/weighted_variation_spec.rb +1 -1
  225. data/spec/spec_helper.rb +1 -1
  226. metadata +98 -82
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37dd8c4a4d5f8ed302b09ef035e35e442a7103a0136980ce0b73a584939ee055
4
- data.tar.gz: 353e93fa559ba1c3cf7768314092b6b19efae21b70351a06c4ca13ef3c12926c
3
+ metadata.gz: c47d2b01489b76e6cb83de2046896c182b51b0decbd7058956b746a3a18536ca
4
+ data.tar.gz: 7bfb628dc3d408ba4d2241e7ddaa5b7326cc7dc554cd6836962b6efd39b37935
5
5
  SHA512:
6
- metadata.gz: dc08c3832aea8816a3b3001d34aafce982838017ad061daf90dd23a2bc127bd2b217f24e7dff3f0c6bfe1d2450761fb12498261b002164b38eadeabd930f97b0
7
- data.tar.gz: 51432e9eb3e9793ab4ca188dffee13a2a2acc10c658ff9bcfab424488d922551d7745faca51e41761a13047b08a2cb9143f09e3c8e79bbc8b3303e0e7ae9eb45
6
+ metadata.gz: c55a375bb379769ed86f8ec414ca4a52a53388529792edf62a0f0aac6c670628785292563d89c2281dbd1073446eb001ef81101f80309c3d2b5cd9a48e9abdb8
7
+ data.tar.gz: 891578fd6d83a988eb976d42dd16117d2bb3d258313088d4c913edb527c8a7b698af86326cac35d5feab70c5702baf28c97f4d9960b26e40dd3598c6241da20f
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: 3.0.0
15
- - Package version: 3.0.0
14
+ - API version: 3.1.0
15
+ - Package version: 3.1.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-3.0.0.gem
32
+ gem install ./launchdarkly_api-3.1.0.gem
33
33
  ```
34
- (for development, run `gem install --dev ./launchdarkly_api-3.0.0.gem` to install the development dependencies)
34
+ (for development, run `gem install --dev ./launchdarkly_api-3.1.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', '~> 3.0.0'
40
+ gem 'launchdarkly_api', '~> 3.1.0'
41
41
 
42
42
  ### Install from Git
43
43
 
@@ -63,160 +63,168 @@ 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/3.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/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/3.0.0/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/3.0.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
97
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.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.
98
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/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/3.0.0/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/3.0.0/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/3.0.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.
102
- *LaunchDarklyApi::ProjectsApi* | [**get_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/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/3.0.0/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/3.0.0/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/3.0.0/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/3.0.0/docs/RootApi.md#get_root) | **GET** / |
107
- *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
108
- *LaunchDarklyApi::TeamMembersApi* | [**get_me**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/TeamMembersApi.md#get_me) | **GET** /members/me | Get the current team member associated with the token
109
- *LaunchDarklyApi::TeamMembersApi* | [**get_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
110
- *LaunchDarklyApi::TeamMembersApi* | [**get_members**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
111
- *LaunchDarklyApi::TeamMembersApi* | [**patch_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
112
- *LaunchDarklyApi::TeamMembersApi* | [**post_members**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
113
- *LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
114
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
115
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
116
- *LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
117
- *LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
118
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.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.
119
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
120
- *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.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.
121
- *LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
122
- *LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.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.
123
- *LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
124
- *LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.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.
125
- *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
126
- *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
127
- *LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
128
- *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
129
- *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.0/docs/RootApi.md#get_root) | **GET** / |
109
+ *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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.1.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.1.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.1.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.1.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.1.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.1.0/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
116
+ *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
117
+ *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
118
+ *LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
119
+ *LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
120
+ *LaunchDarklyApi::UserSettingsApi* | [**get_expiring_user_targets_for_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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
121
+ *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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.
122
+ *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
123
+ *LaunchDarklyApi::UserSettingsApi* | [**patch_expiring_user_targets_for_flags**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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
124
+ *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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.
125
+ *LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
126
+ *LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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.
127
+ *LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
128
+ *LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.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.
129
+ *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
130
+ *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
131
+ *LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
132
+ *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
133
+ *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
130
134
 
131
135
 
132
136
  ## Documentation for Models
133
137
 
134
- - [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/AuditLogEntries.md)
135
- - [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/AuditLogEntry.md)
136
- - [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/AuditLogEntryTarget.md)
137
- - [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Clause.md)
138
- - [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/CopyActions.md)
139
- - [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/CustomProperty.md)
140
- - [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/CustomPropertyValues.md)
141
- - [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/CustomRole.md)
142
- - [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/CustomRoleBody.md)
143
- - [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/CustomRoles.md)
144
- - [LaunchDarklyApi::Defaults](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Defaults.md)
145
- - [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Destination.md)
146
- - [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/DestinationAmazonKinesis.md)
147
- - [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/DestinationBody.md)
148
- - [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/DestinationGooglePubSub.md)
149
- - [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/DestinationMParticle.md)
150
- - [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/DestinationSegment.md)
151
- - [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Destinations.md)
152
- - [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Environment.md)
153
- - [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/EnvironmentPost.md)
154
- - [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/EvaluationUsageError.md)
155
- - [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Events.md)
156
- - [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Fallthrough.md)
157
- - [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlag.md)
158
- - [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagBody.md)
159
- - [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagConfig.md)
160
- - [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagCopyBody.md)
161
- - [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagCopyObject.md)
162
- - [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagStatus.md)
163
- - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagStatusAcrossEnvironments.md)
164
- - [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagStatusForQueriedEnvironment.md)
165
- - [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlagStatuses.md)
166
- - [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FeatureFlags.md)
167
- - [LaunchDarklyApi::FlagListItem](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/FlagListItem.md)
168
- - [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Id.md)
169
- - [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Link.md)
170
- - [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Links.md)
171
- - [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/MAU.md)
172
- - [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/MAUMetadata.md)
173
- - [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/MAUbyCategory.md)
174
- - [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Member.md)
175
- - [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Members.md)
176
- - [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/MembersBody.md)
177
- - [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/PatchComment.md)
178
- - [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/PatchOperation.md)
179
- - [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Policy.md)
180
- - [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Prerequisite.md)
181
- - [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Project.md)
182
- - [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/ProjectBody.md)
183
- - [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Projects.md)
184
- - [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Role.md)
185
- - [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Rollout.md)
186
- - [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Rule.md)
187
- - [LaunchDarklyApi::Site](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Site.md)
188
- - [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Statement.md)
189
- - [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Stream.md)
190
- - [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamBySDK.md)
191
- - [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamBySDKLinks.md)
192
- - [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamBySDKLinksMetadata.md)
193
- - [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamLinks.md)
194
- - [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamSDKVersion.md)
195
- - [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamSDKVersionData.md)
196
- - [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamUsageError.md)
197
- - [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamUsageLinks.md)
198
- - [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamUsageMetadata.md)
199
- - [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/StreamUsageSeries.md)
200
- - [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Streams.md)
201
- - [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Target.md)
202
- - [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Usage.md)
203
- - [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UsageError.md)
204
- - [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UsageLinks.md)
205
- - [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/User.md)
206
- - [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserFlagSetting.md)
207
- - [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserFlagSettings.md)
208
- - [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserRecord.md)
209
- - [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegment.md)
210
- - [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentBody.md)
211
- - [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegmentRule.md)
212
- - [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSegments.md)
213
- - [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/UserSettingsBody.md)
214
- - [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Users.md)
215
- - [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Variation.md)
216
- - [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Webhook.md)
217
- - [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/WebhookBody.md)
218
- - [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/Webhooks.md)
219
- - [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/3.0.0/docs/WeightedVariation.md)
138
+ - [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/AuditLogEntries.md)
139
+ - [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/AuditLogEntry.md)
140
+ - [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/AuditLogEntryTarget.md)
141
+ - [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Clause.md)
142
+ - [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/CopyActions.md)
143
+ - [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/CustomProperty.md)
144
+ - [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/CustomPropertyValues.md)
145
+ - [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/CustomRole.md)
146
+ - [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/CustomRoleBody.md)
147
+ - [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/CustomRoles.md)
148
+ - [LaunchDarklyApi::Defaults](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Defaults.md)
149
+ - [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Destination.md)
150
+ - [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/DestinationAmazonKinesis.md)
151
+ - [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/DestinationBody.md)
152
+ - [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/DestinationGooglePubSub.md)
153
+ - [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/DestinationMParticle.md)
154
+ - [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/DestinationSegment.md)
155
+ - [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Destinations.md)
156
+ - [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Environment.md)
157
+ - [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/EnvironmentPost.md)
158
+ - [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/EvaluationUsageError.md)
159
+ - [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Events.md)
160
+ - [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Fallthrough.md)
161
+ - [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlag.md)
162
+ - [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagBody.md)
163
+ - [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagConfig.md)
164
+ - [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagCopyBody.md)
165
+ - [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagCopyObject.md)
166
+ - [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagStatus.md)
167
+ - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagStatusAcrossEnvironments.md)
168
+ - [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagStatusForQueriedEnvironment.md)
169
+ - [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlagStatuses.md)
170
+ - [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FeatureFlags.md)
171
+ - [LaunchDarklyApi::FlagListItem](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/FlagListItem.md)
172
+ - [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Id.md)
173
+ - [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Link.md)
174
+ - [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Links.md)
175
+ - [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/MAU.md)
176
+ - [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/MAUMetadata.md)
177
+ - [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/MAUbyCategory.md)
178
+ - [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Member.md)
179
+ - [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Members.md)
180
+ - [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/MembersBody.md)
181
+ - [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/PatchComment.md)
182
+ - [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/PatchOperation.md)
183
+ - [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Policy.md)
184
+ - [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Prerequisite.md)
185
+ - [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Project.md)
186
+ - [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/ProjectBody.md)
187
+ - [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Projects.md)
188
+ - [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Role.md)
189
+ - [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Rollout.md)
190
+ - [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Rule.md)
191
+ - [LaunchDarklyApi::Site](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Site.md)
192
+ - [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Statement.md)
193
+ - [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Stream.md)
194
+ - [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamBySDK.md)
195
+ - [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamBySDKLinks.md)
196
+ - [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamBySDKLinksMetadata.md)
197
+ - [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamLinks.md)
198
+ - [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamSDKVersion.md)
199
+ - [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamSDKVersionData.md)
200
+ - [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamUsageError.md)
201
+ - [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamUsageLinks.md)
202
+ - [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamUsageMetadata.md)
203
+ - [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/StreamUsageSeries.md)
204
+ - [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Streams.md)
205
+ - [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Target.md)
206
+ - [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Usage.md)
207
+ - [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UsageError.md)
208
+ - [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UsageLinks.md)
209
+ - [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/User.md)
210
+ - [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserFlagSetting.md)
211
+ - [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserFlagSettings.md)
212
+ - [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserRecord.md)
213
+ - [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegment.md)
214
+ - [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegmentBody.md)
215
+ - [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegmentRule.md)
216
+ - [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSegments.md)
217
+ - [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserSettingsBody.md)
218
+ - [LaunchDarklyApi::UserTargetingExpirationForFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserTargetingExpirationForFlag.md)
219
+ - [LaunchDarklyApi::UserTargetingExpirationForFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserTargetingExpirationForFlags.md)
220
+ - [LaunchDarklyApi::UserTargetingExpirationOnFlagsForUser](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserTargetingExpirationOnFlagsForUser.md)
221
+ - [LaunchDarklyApi::UserTargetingExpirationResourceIdForFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/UserTargetingExpirationResourceIdForFlag.md)
222
+ - [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Users.md)
223
+ - [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Variation.md)
224
+ - [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Webhook.md)
225
+ - [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WebhookBody.md)
226
+ - [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/Webhooks.md)
227
+ - [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/3.1.0/docs/WeightedVariation.md)
220
228
 
221
229
  ## Sample Code
222
230
 
data/docs/Clause.md CHANGED
@@ -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]
@@ -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
 
@@ -424,6 +484,67 @@ Name | Type | Description | Notes
424
484
 
425
485
 
426
486
 
487
+ # **patch_expiring_user_targets**
488
+ > UserTargetingExpirationForFlags patch_expiring_user_targets(project_key, environment_key, feature_flag_key, patch_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
+ patch_comment = LaunchDarklyApi::PatchComment.new # PatchComment | Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' 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, patch_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's key. The key identifies the flag in your code. |
531
+ **patch_comment** | [**PatchComment**](PatchComment.md)| Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' 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
+
427
548
  # **patch_feature_flag**
428
549
  > FeatureFlag patch_feature_flag(project_key, feature_flag_key, patch_comment)
429
550