launchdarkly_api 2.0.10 → 2.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +153 -151
  3. data/docs/AuditLogApi.md +7 -7
  4. data/docs/{Action.md → CopyActions.md} +1 -1
  5. data/docs/CustomProperty.md +1 -1
  6. data/docs/CustomRole.md +1 -1
  7. data/docs/CustomRoleBody.md +1 -1
  8. data/docs/CustomRoles.md +1 -1
  9. data/docs/CustomRolesApi.md +7 -6
  10. data/docs/CustomerMetricsApi.md +511 -0
  11. data/docs/DataExportDestinationsApi.md +293 -0
  12. data/docs/Destination.md +14 -0
  13. data/docs/DestinationAmazonKinesis.md +10 -0
  14. data/docs/DestinationBody.md +11 -0
  15. data/docs/DestinationGooglePubSub.md +9 -0
  16. data/docs/DestinationMParticle.md +11 -0
  17. data/docs/{CustomRoleKeyOrId.md → DestinationSegment.md} +2 -1
  18. data/docs/Destinations.md +9 -0
  19. data/docs/Environment.md +2 -0
  20. data/docs/EnvironmentPost.md +5 -0
  21. data/docs/EnvironmentsApi.md +11 -10
  22. data/docs/EvaluationUsageError.md +9 -0
  23. data/docs/Events.md +8 -0
  24. data/docs/FeatureFlag.md +4 -1
  25. data/docs/FeatureFlagConfig.md +0 -1
  26. data/docs/FeatureFlagCopyBody.md +12 -0
  27. data/docs/FeatureFlagCopyObject.md +9 -0
  28. data/docs/FeatureFlagStatus.md +1 -1
  29. data/docs/FeatureFlagStatusAcrossEnvironments.md +10 -0
  30. data/docs/FeatureFlagStatusForQueriedEnvironment.md +10 -0
  31. data/docs/FeatureFlagsApi.md +136 -17
  32. data/docs/MAU.md +10 -0
  33. data/docs/{Actions.md → MAUMetadata.md} +1 -1
  34. data/docs/MAUbyCategory.md +10 -0
  35. data/docs/Member.md +2 -0
  36. data/docs/Members.md +1 -1
  37. data/docs/MembersBody.md +1 -1
  38. data/docs/Policy.md +4 -2
  39. data/docs/ProjectBody.md +2 -0
  40. data/docs/ProjectsApi.md +7 -6
  41. data/docs/Rollout.md +1 -0
  42. data/docs/Statement.md +4 -4
  43. data/docs/Stream.md +10 -0
  44. data/docs/StreamBySDK.md +10 -0
  45. data/docs/StreamBySDKLinks.md +9 -0
  46. data/docs/StreamBySDKLinksMetadata.md +10 -0
  47. data/docs/StreamLinks.md +10 -0
  48. data/docs/StreamSDKVersion.md +9 -0
  49. data/docs/StreamSDKVersionData.md +9 -0
  50. data/docs/StreamUsageError.md +9 -0
  51. data/docs/StreamUsageLinks.md +10 -0
  52. data/docs/StreamUsageMetadata.md +10 -0
  53. data/docs/StreamUsageSeries.md +9 -0
  54. data/docs/Streams.md +8 -0
  55. data/docs/TeamMembersApi.md +7 -6
  56. data/docs/Usage.md +9 -0
  57. data/docs/{CustomProperties.md → UsageError.md} +2 -1
  58. data/docs/UsageLinks.md +10 -0
  59. data/docs/UserSegmentsApi.md +18 -17
  60. data/docs/UserSettingsApi.md +11 -11
  61. data/docs/UsersApi.md +15 -15
  62. data/docs/Webhook.md +1 -0
  63. data/docs/WebhookBody.md +2 -0
  64. data/docs/WebhooksApi.md +7 -6
  65. data/launchdarkly_api.gemspec +5 -6
  66. data/lib/launchdarkly_api/api/audit_log_api.rb +13 -19
  67. data/lib/launchdarkly_api/api/custom_roles_api.rb +23 -37
  68. data/lib/launchdarkly_api/api/customer_metrics_api.rb +519 -0
  69. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +330 -0
  70. data/lib/launchdarkly_api/api/environments_api.rb +20 -31
  71. data/lib/launchdarkly_api/api/feature_flags_api.rb +150 -43
  72. data/lib/launchdarkly_api/api/projects_api.rb +23 -37
  73. data/lib/launchdarkly_api/api/root_api.rb +6 -9
  74. data/lib/launchdarkly_api/api/team_members_api.rb +23 -37
  75. data/lib/launchdarkly_api/api/user_segments_api.rb +23 -37
  76. data/lib/launchdarkly_api/api/user_settings_api.rb +12 -21
  77. data/lib/launchdarkly_api/api/users_api.rb +17 -29
  78. data/lib/launchdarkly_api/api/webhooks_api.rb +23 -37
  79. data/lib/launchdarkly_api/api_client.rb +10 -10
  80. data/lib/launchdarkly_api/api_error.rb +2 -2
  81. data/lib/launchdarkly_api/configuration.rb +3 -3
  82. data/lib/launchdarkly_api/models/audit_log_entries.rb +7 -12
  83. data/lib/launchdarkly_api/models/audit_log_entry.rb +7 -12
  84. data/lib/launchdarkly_api/models/audit_log_entry_target.rb +7 -12
  85. data/lib/launchdarkly_api/models/clause.rb +7 -12
  86. data/lib/launchdarkly_api/models/copy_actions.rb +34 -0
  87. data/lib/launchdarkly_api/models/custom_property.rb +13 -14
  88. data/lib/launchdarkly_api/models/custom_property_values.rb +7 -11
  89. data/lib/launchdarkly_api/models/custom_role.rb +9 -13
  90. data/lib/launchdarkly_api/models/custom_role_body.rb +12 -16
  91. data/lib/launchdarkly_api/models/custom_roles.rb +11 -14
  92. data/lib/launchdarkly_api/models/destination.rb +276 -0
  93. data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +201 -0
  94. data/lib/launchdarkly_api/models/destination_body.rb +263 -0
  95. data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +192 -0
  96. data/lib/launchdarkly_api/models/destination_m_particle.rb +210 -0
  97. data/lib/launchdarkly_api/models/destination_segment.rb +183 -0
  98. data/lib/launchdarkly_api/models/destinations.rb +194 -0
  99. data/lib/launchdarkly_api/models/environment.rb +29 -14
  100. data/lib/launchdarkly_api/models/environment_post.rb +64 -17
  101. data/lib/launchdarkly_api/models/evaluation_usage_error.rb +192 -0
  102. data/lib/launchdarkly_api/models/{action.rb → events.rb} +17 -13
  103. data/lib/launchdarkly_api/models/fallthrough.rb +7 -12
  104. data/lib/launchdarkly_api/models/feature_flag.rb +46 -16
  105. data/lib/launchdarkly_api/models/feature_flag_body.rb +10 -15
  106. data/lib/launchdarkly_api/models/feature_flag_config.rb +8 -24
  107. data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +226 -0
  108. data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +199 -0
  109. data/lib/launchdarkly_api/models/feature_flag_status.rb +22 -26
  110. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +203 -0
  111. data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +236 -0
  112. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +7 -12
  113. data/lib/launchdarkly_api/models/feature_flags.rb +7 -12
  114. data/lib/launchdarkly_api/models/id.rb +7 -11
  115. data/lib/launchdarkly_api/models/link.rb +7 -12
  116. data/lib/launchdarkly_api/models/links.rb +7 -12
  117. data/lib/launchdarkly_api/models/ma_uby_category.rb +205 -0
  118. data/lib/launchdarkly_api/models/mau.rb +205 -0
  119. data/lib/launchdarkly_api/models/{actions.rb → mau_metadata.rb} +8 -13
  120. data/lib/launchdarkly_api/models/member.rb +26 -13
  121. data/lib/launchdarkly_api/models/members.rb +11 -14
  122. data/lib/launchdarkly_api/models/members_body.rb +9 -14
  123. data/lib/launchdarkly_api/models/patch_comment.rb +7 -12
  124. data/lib/launchdarkly_api/models/patch_operation.rb +10 -15
  125. data/lib/launchdarkly_api/models/policy.rb +40 -17
  126. data/lib/launchdarkly_api/models/prerequisite.rb +7 -12
  127. data/lib/launchdarkly_api/models/project.rb +7 -12
  128. data/lib/launchdarkly_api/models/project_body.rb +30 -15
  129. data/lib/launchdarkly_api/models/projects.rb +7 -12
  130. data/lib/launchdarkly_api/models/role.rb +7 -8
  131. data/lib/launchdarkly_api/models/rollout.rb +17 -13
  132. data/lib/launchdarkly_api/models/rule.rb +7 -12
  133. data/lib/launchdarkly_api/models/statement.rb +35 -31
  134. data/lib/launchdarkly_api/models/statements.rb +7 -12
  135. data/lib/launchdarkly_api/models/stream.rb +205 -0
  136. data/lib/launchdarkly_api/models/stream_by_sdk.rb +205 -0
  137. data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +192 -0
  138. data/lib/launchdarkly_api/models/{resources.rb → stream_by_sdk_links_metadata.rb} +34 -12
  139. data/lib/launchdarkly_api/models/stream_links.rb +204 -0
  140. data/lib/launchdarkly_api/models/stream_sdk_version.rb +194 -0
  141. data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +194 -0
  142. data/lib/launchdarkly_api/models/stream_usage_error.rb +192 -0
  143. data/lib/launchdarkly_api/models/stream_usage_links.rb +204 -0
  144. data/lib/launchdarkly_api/models/stream_usage_metadata.rb +203 -0
  145. data/lib/launchdarkly_api/models/stream_usage_series.rb +194 -0
  146. data/lib/launchdarkly_api/models/{custom_properties.rb → streams.rb} +17 -13
  147. data/lib/launchdarkly_api/models/target.rb +7 -12
  148. data/lib/launchdarkly_api/models/usage.rb +194 -0
  149. data/lib/launchdarkly_api/models/{custom_role_key_or_id.rb → usage_error.rb} +17 -13
  150. data/lib/launchdarkly_api/models/usage_links.rb +204 -0
  151. data/lib/launchdarkly_api/models/user.rb +7 -12
  152. data/lib/launchdarkly_api/models/user_flag_setting.rb +7 -12
  153. data/lib/launchdarkly_api/models/user_flag_settings.rb +7 -12
  154. data/lib/launchdarkly_api/models/user_record.rb +7 -12
  155. data/lib/launchdarkly_api/models/user_segment.rb +10 -15
  156. data/lib/launchdarkly_api/models/user_segment_body.rb +9 -14
  157. data/lib/launchdarkly_api/models/user_segment_rule.rb +7 -12
  158. data/lib/launchdarkly_api/models/user_segments.rb +7 -12
  159. data/lib/launchdarkly_api/models/user_settings_body.rb +7 -12
  160. data/lib/launchdarkly_api/models/users.rb +7 -12
  161. data/lib/launchdarkly_api/models/variation.rb +8 -13
  162. data/lib/launchdarkly_api/models/webhook.rb +17 -13
  163. data/lib/launchdarkly_api/models/webhook_body.rb +33 -17
  164. data/lib/launchdarkly_api/models/webhooks.rb +7 -12
  165. data/lib/launchdarkly_api/models/weighted_variation.rb +7 -12
  166. data/lib/launchdarkly_api/version.rb +3 -3
  167. data/lib/launchdarkly_api.rb +36 -8
  168. data/openapi.yml +1004 -115
  169. data/spec/api/audit_log_api_spec.rb +6 -8
  170. data/spec/api/custom_roles_api_spec.rb +8 -13
  171. data/spec/api/customer_metrics_api_spec.rb +141 -0
  172. data/spec/api/data_export_destinations_api_spec.rb +98 -0
  173. data/spec/api/environments_api_spec.rb +7 -11
  174. data/spec/api/feature_flags_api_spec.rb +36 -16
  175. data/spec/api/projects_api_spec.rb +8 -13
  176. data/spec/api/root_api_spec.rb +3 -4
  177. data/spec/api/team_members_api_spec.rb +8 -13
  178. data/spec/api/user_segments_api_spec.rb +8 -13
  179. data/spec/api/user_settings_api_spec.rb +5 -8
  180. data/spec/api/users_api_spec.rb +7 -11
  181. data/spec/api/webhooks_api_spec.rb +8 -13
  182. data/spec/api_client_spec.rb +36 -36
  183. data/spec/configuration_spec.rb +10 -10
  184. data/spec/models/audit_log_entries_spec.rb +4 -5
  185. data/spec/models/audit_log_entry_spec.rb +14 -15
  186. data/spec/models/audit_log_entry_target_spec.rb +5 -6
  187. data/spec/models/clause_spec.rb +6 -7
  188. data/spec/models/{action_spec.rb → copy_actions_spec.rb} +8 -9
  189. data/spec/models/custom_property_spec.rb +4 -5
  190. data/spec/models/custom_property_values_spec.rb +2 -3
  191. data/spec/models/custom_role_body_spec.rb +6 -7
  192. data/spec/models/custom_role_spec.rb +8 -9
  193. data/spec/models/custom_roles_spec.rb +4 -5
  194. data/spec/models/destination_amazon_kinesis_spec.rb +53 -0
  195. data/spec/models/destination_body_spec.rb +63 -0
  196. data/spec/models/destination_google_pub_sub_spec.rb +47 -0
  197. data/spec/models/destination_m_particle_spec.rb +59 -0
  198. data/spec/models/destination_segment_spec.rb +41 -0
  199. data/spec/models/destination_spec.rb +81 -0
  200. data/spec/models/destinations_spec.rb +47 -0
  201. data/spec/models/environment_post_spec.rb +36 -7
  202. data/spec/models/environment_spec.rb +25 -14
  203. data/spec/models/evaluation_usage_error_spec.rb +47 -0
  204. data/spec/models/events_spec.rb +41 -0
  205. data/spec/models/fallthrough_spec.rb +4 -5
  206. data/spec/models/feature_flag_body_spec.rb +9 -10
  207. data/spec/models/feature_flag_config_spec.rb +14 -21
  208. data/spec/models/feature_flag_copy_body_spec.rb +65 -0
  209. data/spec/models/feature_flag_copy_object_spec.rb +47 -0
  210. data/spec/models/feature_flag_spec.rb +35 -18
  211. data/spec/models/feature_flag_status_across_environments_spec.rb +53 -0
  212. data/spec/models/feature_flag_status_for_queried_environment_spec.rb +57 -0
  213. data/spec/models/feature_flag_status_spec.rb +14 -15
  214. data/spec/models/feature_flag_statuses_spec.rb +4 -5
  215. data/spec/models/feature_flags_spec.rb +4 -5
  216. data/spec/models/id_spec.rb +2 -3
  217. data/spec/models/link_spec.rb +4 -5
  218. data/spec/models/links_spec.rb +4 -5
  219. data/spec/models/ma_uby_category_spec.rb +53 -0
  220. data/spec/models/{actions_spec.rb → mau_metadata_spec.rb} +8 -9
  221. data/spec/models/mau_spec.rb +53 -0
  222. data/spec/models/member_spec.rb +21 -10
  223. data/spec/models/members_body_spec.rb +8 -9
  224. data/spec/models/members_spec.rb +4 -5
  225. data/spec/models/patch_comment_spec.rb +4 -5
  226. data/spec/models/patch_operation_spec.rb +5 -6
  227. data/spec/models/policy_spec.rb +17 -6
  228. data/spec/models/prerequisite_spec.rb +4 -5
  229. data/spec/models/project_body_spec.rb +17 -6
  230. data/spec/models/project_spec.rb +8 -9
  231. data/spec/models/projects_spec.rb +4 -5
  232. data/spec/models/role_spec.rb +2 -3
  233. data/spec/models/rollout_spec.rb +9 -4
  234. data/spec/models/rule_spec.rb +6 -7
  235. data/spec/models/statement_spec.rb +13 -14
  236. data/spec/models/statements_spec.rb +2 -3
  237. data/spec/models/stream_by_sdk_links_metadata_spec.rb +53 -0
  238. data/spec/models/stream_by_sdk_links_spec.rb +47 -0
  239. data/spec/models/stream_by_sdk_spec.rb +53 -0
  240. data/spec/models/stream_links_spec.rb +53 -0
  241. data/spec/models/stream_sdk_version_data_spec.rb +47 -0
  242. data/spec/models/stream_sdk_version_spec.rb +47 -0
  243. data/spec/models/stream_spec.rb +53 -0
  244. data/spec/models/stream_usage_error_spec.rb +47 -0
  245. data/spec/models/stream_usage_links_spec.rb +53 -0
  246. data/spec/models/stream_usage_metadata_spec.rb +53 -0
  247. data/spec/models/stream_usage_series_spec.rb +47 -0
  248. data/spec/models/streams_spec.rb +41 -0
  249. data/spec/models/target_spec.rb +4 -5
  250. data/spec/models/usage_error_spec.rb +41 -0
  251. data/spec/models/usage_links_spec.rb +53 -0
  252. data/spec/models/usage_spec.rb +47 -0
  253. data/spec/models/user_flag_setting_spec.rb +5 -6
  254. data/spec/models/user_flag_settings_spec.rb +4 -5
  255. data/spec/models/user_record_spec.rb +7 -8
  256. data/spec/models/user_segment_body_spec.rb +6 -7
  257. data/spec/models/user_segment_rule_spec.rb +5 -6
  258. data/spec/models/user_segment_spec.rb +12 -13
  259. data/spec/models/user_segments_spec.rb +4 -5
  260. data/spec/models/user_settings_body_spec.rb +3 -4
  261. data/spec/models/user_spec.rb +13 -14
  262. data/spec/models/users_spec.rb +5 -6
  263. data/spec/models/variation_spec.rb +5 -6
  264. data/spec/models/webhook_body_spec.rb +19 -8
  265. data/spec/models/webhook_spec.rb +15 -10
  266. data/spec/models/webhooks_spec.rb +4 -5
  267. data/spec/models/weighted_variation_spec.rb +4 -5
  268. data/spec/spec_helper.rb +2 -2
  269. metadata +187 -74
  270. data/docs/Resource.md +0 -7
  271. data/docs/Resources.md +0 -7
  272. data/lib/launchdarkly_api/models/resource.rb +0 -179
  273. data/spec/models/custom_properties_spec.rb +0 -36
  274. data/spec/models/custom_role_key_or_id_spec.rb +0 -36
  275. data/spec/models/resource_spec.rb +0 -36
  276. data/spec/models/resources_spec.rb +0 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 58e814db548b96f9a785ab3fbb27e271dc7a142d6ef0752557f5d3c1c7c34469
4
- data.tar.gz: 8f005f60dbf6b3d412a894dcada747aab5b693a1e151d115bc6bb094d9a36a58
2
+ SHA1:
3
+ metadata.gz: a3eac003714bcf996b20cbbbe7ec6abc52d57801
4
+ data.tar.gz: b508583c22cd7e961ee3454e86d75e55d8c2869e
5
5
  SHA512:
6
- metadata.gz: 3c2f5a59e56c92a4d7f4249839aa0dbe1353eb79dfc9ea81637a4d34afa12463369b179ba4b50ff6eefcaa0c5913a94bee2571847078f60368efb5cf2ea166ca
7
- data.tar.gz: 2bf44a75f0f1f99b7fb872538dadd878dd31b11352b43118edc271871d7cc9761650770691a777417a5501209427ff4899fed3c8605a6e04def2794795b62f3e
6
+ metadata.gz: 29a57cdeb124c9feb629e832e3fce5b8a73a4a0753fa4c3693db293937873f8d98848419b538f50165dc068ce2101fa23640f041b720062654096c54aff8e7e1
7
+ data.tar.gz: cc2a5c49a41434e8727672633b5107ca759c9bfc5ad61a04a9bd56789793bb71a8da382081485e4e9d9dffff16eea43bcce9c23253120cbf1527741d9736b45f
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.10
15
- - Package version: 2.0.10
14
+ - API version: 2.0.27
15
+ - Package version: 2.0.27
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.10.gem
32
+ gem install ./launchdarkly_api-2.0.27.gem
33
33
  ```
34
- (for development, run `gem install --dev ./launchdarkly_api-2.0.10.gem` to install the development dependencies)
34
+ (for development, run `gem install --dev ./launchdarkly_api-2.0.27.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.10'
40
+ gem 'launchdarkly_api', '~> 2.0.27'
41
41
 
42
42
  ### Install from Git
43
43
 
@@ -55,38 +55,7 @@ ruby -Ilib script.rb
55
55
 
56
56
  ## Getting Started
57
57
 
58
- Please follow the [installation](#installation) procedure and then run the following code:
59
- ```ruby
60
- # Load the gem
61
- require 'launchdarkly_api'
62
-
63
- # Setup authorization
64
- LaunchDarklyApi.configure do |config|
65
- # Configure API key authorization: Token
66
- config.api_key['Authorization'] = 'YOUR API KEY'
67
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
68
- #config.api_key_prefix['Authorization'] = 'Bearer'
69
- end
70
-
71
- api_instance = LaunchDarklyApi::AuditLogApi.new
72
-
73
- opts = {
74
- before: 8.14, # Float | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp.
75
- after: 8.14, # Float | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp.
76
- q: "q_example", # String | Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change.
77
- limit: 8.14, # Float | A limit on the number of audit log entries to be returned, between 1 and 20.
78
- spec: "spec_example" # String | A resource specifier, allowing you to filter audit log listings by resource.
79
- }
80
-
81
- begin
82
- #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.
83
- result = api_instance.get_audit_log_entries(opts)
84
- p result
85
- rescue LaunchDarklyApi::ApiError => e
86
- puts "Exception when calling AuditLogApi->get_audit_log_entries: #{e}"
87
- end
88
-
89
- ```
58
+ Please follow the [installation](#installation) procedure and see the [sample code](#sample%20code) below.
90
59
 
91
60
  ## Documentation for API Endpoints
92
61
 
@@ -94,124 +63,157 @@ All URIs are relative to *https://app.launchdarkly.com/api/v2*
94
63
 
95
64
  Class | Method | HTTP request | Description
96
65
  ------------ | ------------- | ------------- | -------------
97
- *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](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.
98
- *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](docs/AuditLogApi.md#get_audit_log_entry) | **GET** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
99
- *LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
100
- *LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
101
- *LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
102
- *LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
103
- *LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
104
- *LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](docs/EnvironmentsApi.md#delete_environment) | **DELETE** /projects/{projectKey}/environments/{environmentKey} | Delete an environment in a specific project.
105
- *LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
106
- *LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
107
- *LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](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.
108
- *LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](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.
109
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
110
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
111
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](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.
112
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
113
- *LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
114
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
115
- *LaunchDarklyApi::ProjectsApi* | [**delete_project**](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.
116
- *LaunchDarklyApi::ProjectsApi* | [**get_project**](docs/ProjectsApi.md#get_project) | **GET** /projects/{projectKey} | Fetch a single project by key.
117
- *LaunchDarklyApi::ProjectsApi* | [**get_projects**](docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
118
- *LaunchDarklyApi::ProjectsApi* | [**patch_project**](docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
119
- *LaunchDarklyApi::ProjectsApi* | [**post_project**](docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
120
- *LaunchDarklyApi::RootApi* | [**get_root**](docs/RootApi.md#get_root) | **GET** / |
121
- *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
122
- *LaunchDarklyApi::TeamMembersApi* | [**get_member**](docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
123
- *LaunchDarklyApi::TeamMembersApi* | [**get_members**](docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
124
- *LaunchDarklyApi::TeamMembersApi* | [**patch_member**](docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
125
- *LaunchDarklyApi::TeamMembersApi* | [**post_members**](docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
126
- *LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
127
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
128
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
129
- *LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
130
- *LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
131
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
132
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
133
- *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](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.
134
- *LaunchDarklyApi::UsersApi* | [**delete_user**](docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
135
- *LaunchDarklyApi::UsersApi* | [**get_search_users**](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.
136
- *LaunchDarklyApi::UsersApi* | [**get_user**](docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
137
- *LaunchDarklyApi::UsersApi* | [**get_users**](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.
138
- *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
139
- *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
140
- *LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
141
- *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
142
- *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](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/2.0.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/docs/RootApi.md#get_root) | **GET** / |
107
+ *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
143
129
 
144
130
 
145
131
  ## Documentation for Models
146
132
 
147
- - [LaunchDarklyApi::Action](docs/Action.md)
148
- - [LaunchDarklyApi::Actions](docs/Actions.md)
149
- - [LaunchDarklyApi::AuditLogEntries](docs/AuditLogEntries.md)
150
- - [LaunchDarklyApi::AuditLogEntry](docs/AuditLogEntry.md)
151
- - [LaunchDarklyApi::AuditLogEntryTarget](docs/AuditLogEntryTarget.md)
152
- - [LaunchDarklyApi::Clause](docs/Clause.md)
153
- - [LaunchDarklyApi::CustomProperties](docs/CustomProperties.md)
154
- - [LaunchDarklyApi::CustomProperty](docs/CustomProperty.md)
155
- - [LaunchDarklyApi::CustomPropertyValues](docs/CustomPropertyValues.md)
156
- - [LaunchDarklyApi::CustomRole](docs/CustomRole.md)
157
- - [LaunchDarklyApi::CustomRoleBody](docs/CustomRoleBody.md)
158
- - [LaunchDarklyApi::CustomRoleKeyOrId](docs/CustomRoleKeyOrId.md)
159
- - [LaunchDarklyApi::CustomRoles](docs/CustomRoles.md)
160
- - [LaunchDarklyApi::Environment](docs/Environment.md)
161
- - [LaunchDarklyApi::EnvironmentPost](docs/EnvironmentPost.md)
162
- - [LaunchDarklyApi::Fallthrough](docs/Fallthrough.md)
163
- - [LaunchDarklyApi::FeatureFlag](docs/FeatureFlag.md)
164
- - [LaunchDarklyApi::FeatureFlagBody](docs/FeatureFlagBody.md)
165
- - [LaunchDarklyApi::FeatureFlagConfig](docs/FeatureFlagConfig.md)
166
- - [LaunchDarklyApi::FeatureFlagStatus](docs/FeatureFlagStatus.md)
167
- - [LaunchDarklyApi::FeatureFlagStatuses](docs/FeatureFlagStatuses.md)
168
- - [LaunchDarklyApi::FeatureFlags](docs/FeatureFlags.md)
169
- - [LaunchDarklyApi::Id](docs/Id.md)
170
- - [LaunchDarklyApi::Link](docs/Link.md)
171
- - [LaunchDarklyApi::Links](docs/Links.md)
172
- - [LaunchDarklyApi::Member](docs/Member.md)
173
- - [LaunchDarklyApi::Members](docs/Members.md)
174
- - [LaunchDarklyApi::MembersBody](docs/MembersBody.md)
175
- - [LaunchDarklyApi::PatchComment](docs/PatchComment.md)
176
- - [LaunchDarklyApi::PatchOperation](docs/PatchOperation.md)
177
- - [LaunchDarklyApi::Policy](docs/Policy.md)
178
- - [LaunchDarklyApi::Prerequisite](docs/Prerequisite.md)
179
- - [LaunchDarklyApi::Project](docs/Project.md)
180
- - [LaunchDarklyApi::ProjectBody](docs/ProjectBody.md)
181
- - [LaunchDarklyApi::Projects](docs/Projects.md)
182
- - [LaunchDarklyApi::Resource](docs/Resource.md)
183
- - [LaunchDarklyApi::Resources](docs/Resources.md)
184
- - [LaunchDarklyApi::Role](docs/Role.md)
185
- - [LaunchDarklyApi::Rollout](docs/Rollout.md)
186
- - [LaunchDarklyApi::Rule](docs/Rule.md)
187
- - [LaunchDarklyApi::Statement](docs/Statement.md)
188
- - [LaunchDarklyApi::Statements](docs/Statements.md)
189
- - [LaunchDarklyApi::Target](docs/Target.md)
190
- - [LaunchDarklyApi::User](docs/User.md)
191
- - [LaunchDarklyApi::UserFlagSetting](docs/UserFlagSetting.md)
192
- - [LaunchDarklyApi::UserFlagSettings](docs/UserFlagSettings.md)
193
- - [LaunchDarklyApi::UserRecord](docs/UserRecord.md)
194
- - [LaunchDarklyApi::UserSegment](docs/UserSegment.md)
195
- - [LaunchDarklyApi::UserSegmentBody](docs/UserSegmentBody.md)
196
- - [LaunchDarklyApi::UserSegmentRule](docs/UserSegmentRule.md)
197
- - [LaunchDarklyApi::UserSegments](docs/UserSegments.md)
198
- - [LaunchDarklyApi::UserSettingsBody](docs/UserSettingsBody.md)
199
- - [LaunchDarklyApi::Users](docs/Users.md)
200
- - [LaunchDarklyApi::Variation](docs/Variation.md)
201
- - [LaunchDarklyApi::Webhook](docs/Webhook.md)
202
- - [LaunchDarklyApi::WebhookBody](docs/WebhookBody.md)
203
- - [LaunchDarklyApi::Webhooks](docs/Webhooks.md)
204
- - [LaunchDarklyApi::WeightedVariation](docs/WeightedVariation.md)
205
-
206
-
207
- ## Documentation for Authorization
208
-
209
-
210
- ### Token
211
-
212
- - **Type**: API key
213
- - **API key parameter name**: Authorization
214
- - **Location**: HTTP header
133
+ - [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogEntries.md)
134
+ - [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogEntry.md)
135
+ - [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogEntryTarget.md)
136
+ - [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Clause.md)
137
+ - [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CopyActions.md)
138
+ - [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomProperty.md)
139
+ - [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomPropertyValues.md)
140
+ - [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRole.md)
141
+ - [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRoleBody.md)
142
+ - [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRoles.md)
143
+ - [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Destination.md)
144
+ - [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationAmazonKinesis.md)
145
+ - [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationBody.md)
146
+ - [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationGooglePubSub.md)
147
+ - [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationMParticle.md)
148
+ - [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationSegment.md)
149
+ - [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Destinations.md)
150
+ - [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Environment.md)
151
+ - [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EnvironmentPost.md)
152
+ - [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EvaluationUsageError.md)
153
+ - [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Events.md)
154
+ - [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Fallthrough.md)
155
+ - [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlag.md)
156
+ - [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagBody.md)
157
+ - [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagConfig.md)
158
+ - [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagCopyBody.md)
159
+ - [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagCopyObject.md)
160
+ - [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatus.md)
161
+ - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatusAcrossEnvironments.md)
162
+ - [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatusForQueriedEnvironment.md)
163
+ - [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatuses.md)
164
+ - [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlags.md)
165
+ - [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Id.md)
166
+ - [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Link.md)
167
+ - [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Links.md)
168
+ - [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MAU.md)
169
+ - [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MAUMetadata.md)
170
+ - [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MAUbyCategory.md)
171
+ - [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Member.md)
172
+ - [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Members.md)
173
+ - [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MembersBody.md)
174
+ - [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/PatchComment.md)
175
+ - [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/PatchOperation.md)
176
+ - [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Policy.md)
177
+ - [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Prerequisite.md)
178
+ - [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Project.md)
179
+ - [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/ProjectBody.md)
180
+ - [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Projects.md)
181
+ - [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Role.md)
182
+ - [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Rollout.md)
183
+ - [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Rule.md)
184
+ - [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Statement.md)
185
+ - [LaunchDarklyApi::Statements](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Statements.md)
186
+ - [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Stream.md)
187
+ - [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamBySDK.md)
188
+ - [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamBySDKLinks.md)
189
+ - [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamBySDKLinksMetadata.md)
190
+ - [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamLinks.md)
191
+ - [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamSDKVersion.md)
192
+ - [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamSDKVersionData.md)
193
+ - [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageError.md)
194
+ - [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageLinks.md)
195
+ - [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageMetadata.md)
196
+ - [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageSeries.md)
197
+ - [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Streams.md)
198
+ - [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Target.md)
199
+ - [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Usage.md)
200
+ - [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UsageError.md)
201
+ - [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UsageLinks.md)
202
+ - [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/User.md)
203
+ - [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserFlagSetting.md)
204
+ - [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserFlagSettings.md)
205
+ - [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserRecord.md)
206
+ - [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegment.md)
207
+ - [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentBody.md)
208
+ - [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentRule.md)
209
+ - [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegments.md)
210
+ - [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSettingsBody.md)
211
+ - [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Users.md)
212
+ - [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Variation.md)
213
+ - [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Webhook.md)
214
+ - [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhookBody.md)
215
+ - [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Webhooks.md)
216
+ - [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WeightedVariation.md)
215
217
 
216
218
  ## Sample Code
217
219
 
data/docs/AuditLogApi.md CHANGED
@@ -28,11 +28,11 @@ end
28
28
  api_instance = LaunchDarklyApi::AuditLogApi.new
29
29
 
30
30
  opts = {
31
- before: 8.14, # Float | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp.
32
- after: 8.14, # Float | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp.
33
- q: "q_example", # String | Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change.
31
+ before: 789, # Integer | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp.
32
+ after: 789, # Integer | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp.
33
+ q: 'q_example', # String | Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change.
34
34
  limit: 8.14, # Float | A limit on the number of audit log entries to be returned, between 1 and 20.
35
- spec: "spec_example" # String | A resource specifier, allowing you to filter audit log listings by resource.
35
+ spec: 'spec_example' # String | A resource specifier, allowing you to filter audit log listings by resource.
36
36
  }
37
37
 
38
38
  begin
@@ -48,8 +48,8 @@ end
48
48
 
49
49
  Name | Type | Description | Notes
50
50
  ------------- | ------------- | ------------- | -------------
51
- **before** | **Float**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. | [optional]
52
- **after** | **Float**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp. | [optional]
51
+ **before** | **Integer**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. | [optional]
52
+ **after** | **Integer**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp. | [optional]
53
53
  **q** | **String**| Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change. | [optional]
54
54
  **limit** | **Float**| A limit on the number of audit log entries to be returned, between 1 and 20. | [optional]
55
55
  **spec** | **String**| A resource specifier, allowing you to filter audit log listings by resource. | [optional]
@@ -88,7 +88,7 @@ end
88
88
 
89
89
  api_instance = LaunchDarklyApi::AuditLogApi.new
90
90
 
91
- resource_id = "resource_id_example" # String | The resource ID.
91
+ resource_id = 'resource_id_example' # String | The resource ID.
92
92
 
93
93
 
94
94
  begin
@@ -1,4 +1,4 @@
1
- # LaunchDarklyApi::Action
1
+ # LaunchDarklyApi::CopyActions
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **name** | **String** | The name of the property. |
7
- **value** | [**CustomPropertyValues**](CustomPropertyValues.md) | | [optional]
7
+ **value** | **Array<String>** | Values for this property. | [optional]
8
8
 
9
9
 
data/docs/CustomRole.md CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **_links** | [**Links**](Links.md) | | [optional]
7
7
  **name** | **String** | Name of the custom role. | [optional]
8
- **key** | [**CustomRoleKeyOrId**](CustomRoleKeyOrId.md) | | [optional]
8
+ **key** | **String** | The 20-hexdigit id or the key for a custom role. | [optional]
9
9
  **description** | **String** | Description of the custom role. | [optional]
10
10
  **_id** | [**Id**](Id.md) | | [optional]
11
11
  **policy** | [**Array<Policy>**](Policy.md) | | [optional]
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **name** | **String** | Name of the custom role. |
7
7
  **description** | **String** | Description of the custom role. | [optional]
8
- **key** | [**CustomRoleKeyOrId**](CustomRoleKeyOrId.md) | |
8
+ **key** | **String** | The 20-hexdigit id or the key for a custom role. |
9
9
  **policy** | [**Array<Policy>**](Policy.md) | |
10
10
 
11
11
 
data/docs/CustomRoles.md CHANGED
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **_links** | [**Links**](Links.md) | | [optional]
7
- **items** | [**CustomRole**](CustomRole.md) | | [optional]
7
+ **items** | [**Array<CustomRole>**](CustomRole.md) | | [optional]
8
8
 
9
9
 
@@ -30,7 +30,7 @@ end
30
30
 
31
31
  api_instance = LaunchDarklyApi::CustomRolesApi.new
32
32
 
33
- custom_role_key = "custom_role_key_example" # String | The custom role key.
33
+ custom_role_key = 'custom_role_key_example' # String | The custom role key.
34
34
 
35
35
 
36
36
  begin
@@ -81,7 +81,7 @@ end
81
81
 
82
82
  api_instance = LaunchDarklyApi::CustomRolesApi.new
83
83
 
84
- custom_role_key = "custom_role_key_example" # String | The custom role key.
84
+ custom_role_key = 'custom_role_key_example' # String | The custom role key.
85
85
 
86
86
 
87
87
  begin
@@ -179,7 +179,7 @@ end
179
179
 
180
180
  api_instance = LaunchDarklyApi::CustomRolesApi.new
181
181
 
182
- custom_role_key = "custom_role_key_example" # String | The custom role key.
182
+ custom_role_key = 'custom_role_key_example' # String | The custom role key.
183
183
 
184
184
  patch_delta = [LaunchDarklyApi::PatchOperation.new] # Array<PatchOperation> | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
185
185
 
@@ -216,7 +216,7 @@ Name | Type | Description | Notes
216
216
 
217
217
 
218
218
  # **post_custom_role**
219
- > post_custom_role(custom_role_body)
219
+ > CustomRole post_custom_role(custom_role_body)
220
220
 
221
221
  Create a new custom role.
222
222
 
@@ -239,7 +239,8 @@ custom_role_body = LaunchDarklyApi::CustomRoleBody.new # CustomRoleBody | New ro
239
239
 
240
240
  begin
241
241
  #Create a new custom role.
242
- api_instance.post_custom_role(custom_role_body)
242
+ result = api_instance.post_custom_role(custom_role_body)
243
+ p result
243
244
  rescue LaunchDarklyApi::ApiError => e
244
245
  puts "Exception when calling CustomRolesApi->post_custom_role: #{e}"
245
246
  end
@@ -253,7 +254,7 @@ Name | Type | Description | Notes
253
254
 
254
255
  ### Return type
255
256
 
256
- nil (empty response body)
257
+ [**CustomRole**](CustomRole.md)
257
258
 
258
259
  ### Authorization
259
260