launchdarkly_api 5.4.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (997) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/README.md +841 -263
  4. data/Rakefile +2 -0
  5. data/docs/AccessDeniedReasonRep.md +28 -0
  6. data/docs/AccessDeniedRep.md +20 -0
  7. data/docs/AccessRep.md +18 -0
  8. data/docs/AccessTokenPost.md +30 -0
  9. data/docs/AccessTokensApi.md +239 -126
  10. data/docs/AccountMembersApi.md +450 -0
  11. data/docs/AccountUsageBetaApi.md +647 -0
  12. data/docs/ActionInputRep.md +18 -0
  13. data/docs/ActionOutputRep.md +20 -0
  14. data/docs/ApprovalConditionInputRep.md +20 -0
  15. data/docs/ApprovalConditionOutputRep.md +26 -0
  16. data/docs/ApprovalSettings.md +32 -0
  17. data/docs/ApprovalsApi.md +554 -0
  18. data/docs/AuditLogApi.md +93 -55
  19. data/docs/AuditLogEntryListingRep.md +52 -0
  20. data/docs/AuditLogEntryListingRepCollection.md +20 -0
  21. data/docs/AuditLogEntryRep.md +64 -0
  22. data/docs/AuthorizedAppDataRep.md +26 -0
  23. data/docs/BigSegmentTarget.md +22 -0
  24. data/docs/BranchCollectionRep.md +20 -0
  25. data/docs/BranchRep.md +28 -0
  26. data/docs/Clause.md +21 -7
  27. data/docs/ClientSideAvailability.md +15 -4
  28. data/docs/ClientSideAvailabilityPost.md +20 -0
  29. data/docs/CodeReferencesApi.md +980 -0
  30. data/docs/ConditionBaseOutputRep.md +22 -0
  31. data/docs/ConditionInputRep.md +26 -0
  32. data/docs/ConditionOutputRep.md +34 -0
  33. data/docs/ConfidenceIntervalRep.md +20 -0
  34. data/docs/Conflict.md +20 -0
  35. data/docs/ConflictOutputRep.md +20 -0
  36. data/docs/CopiedFromEnv.md +20 -0
  37. data/docs/CreateCopyFlagConfigApprovalRequestRequest.md +28 -0
  38. data/docs/CreateFlagConfigApprovalRequestRequest.md +30 -0
  39. data/docs/CustomProperty.md +15 -4
  40. data/docs/CustomRole.md +27 -8
  41. data/docs/CustomRolePost.md +26 -0
  42. data/docs/CustomRolePostData.md +26 -0
  43. data/docs/CustomRoles.md +15 -4
  44. data/docs/CustomRolesApi.md +196 -100
  45. data/docs/CustomRolesRep.md +24 -0
  46. data/docs/CustomWorkflowInputRep.md +24 -0
  47. data/docs/CustomWorkflowMeta.md +20 -0
  48. data/docs/CustomWorkflowOutputRep.md +38 -0
  49. data/docs/CustomWorkflowStageMeta.md +20 -0
  50. data/docs/CustomWorkflowsListingOutputRep.md +18 -0
  51. data/docs/DataExportDestinationsApi.md +205 -117
  52. data/docs/DefaultClientSideAvailabilityPost.md +20 -0
  53. data/docs/Defaults.md +15 -4
  54. data/docs/DependentFlag.md +19 -6
  55. data/docs/DependentFlagEnvironment.md +19 -6
  56. data/docs/DependentFlagsByEnvironment.md +17 -5
  57. data/docs/DerivedAttribute.md +20 -0
  58. data/docs/Destination.md +27 -9
  59. data/docs/DestinationPost.md +24 -0
  60. data/docs/Destinations.md +15 -4
  61. data/docs/Environment.md +39 -16
  62. data/docs/EnvironmentPost.md +29 -11
  63. data/docs/EnvironmentsApi.md +246 -144
  64. data/docs/ExecutionOutputRep.md +18 -0
  65. data/docs/ExpandedTeamRep.md +44 -0
  66. data/docs/ExperimentAllocationRep.md +20 -0
  67. data/docs/ExperimentEnabledPeriodRep.md +20 -0
  68. data/docs/ExperimentEnvironmentSettingRep.md +22 -0
  69. data/docs/ExperimentInfoRep.md +20 -0
  70. data/docs/ExperimentMetadataRep.md +18 -0
  71. data/docs/ExperimentRep.md +24 -0
  72. data/docs/ExperimentResultsRep.md +30 -0
  73. data/docs/ExperimentStatsRep.md +24 -0
  74. data/docs/ExperimentTimeSeriesSlice.md +20 -0
  75. data/docs/ExperimentTimeSeriesVariationSlice.md +32 -0
  76. data/docs/ExperimentTotalsRep.md +32 -0
  77. data/docs/ExperimentsBetaApi.md +168 -0
  78. data/docs/ExpiringUserTargetError.md +20 -0
  79. data/docs/ExpiringUserTargetGetResponse.md +20 -0
  80. data/docs/ExpiringUserTargetItem.md +30 -0
  81. data/docs/ExpiringUserTargetPatchResponse.md +28 -0
  82. data/docs/Extinction.md +26 -0
  83. data/docs/ExtinctionCollectionRep.md +20 -0
  84. data/docs/FeatureFlag.md +55 -22
  85. data/docs/FeatureFlagBody.md +33 -11
  86. data/docs/FeatureFlagConfig.md +47 -17
  87. data/docs/FeatureFlagScheduledChange.md +27 -6
  88. data/docs/FeatureFlagScheduledChanges.md +15 -4
  89. data/docs/FeatureFlagStatus.md +17 -6
  90. data/docs/FeatureFlagStatusAcrossEnvironments.md +17 -5
  91. data/docs/FeatureFlagStatuses.md +15 -4
  92. data/docs/FeatureFlags.md +17 -5
  93. data/docs/FeatureFlagsApi.md +449 -1184
  94. data/docs/FeatureFlagsBetaApi.md +157 -0
  95. data/docs/FlagConfigApprovalRequestResponse.md +56 -0
  96. data/docs/FlagConfigApprovalRequestsResponse.md +20 -0
  97. data/docs/FlagCopyConfigEnvironment.md +20 -0
  98. data/docs/FlagCopyConfigPost.md +26 -0
  99. data/docs/FlagGlobalAttributesRep.md +58 -0
  100. data/docs/FlagListingRep.md +24 -0
  101. data/docs/FlagScheduledChangesInput.md +20 -0
  102. data/docs/FlagStatusRep.md +24 -0
  103. data/docs/FlagSummary.md +18 -0
  104. data/docs/FlagTriggerInput.md +20 -0
  105. data/docs/FlagTriggersApi.md +396 -0
  106. data/docs/ForbiddenErrorRep.md +20 -0
  107. data/docs/HunkRep.md +26 -0
  108. data/docs/Integration.md +35 -4
  109. data/docs/IntegrationAuditLogSubscriptionsApi.md +376 -0
  110. data/docs/IntegrationMetadata.md +24 -0
  111. data/docs/IntegrationStatus.md +20 -0
  112. data/docs/IntegrationStatusRep.md +22 -0
  113. data/docs/IntegrationSubscriptionStatusRep.md +26 -0
  114. data/docs/Integrations.md +17 -4
  115. data/docs/InvalidRequestErrorRep.md +20 -0
  116. data/docs/IpList.md +20 -0
  117. data/docs/LastSeenMetadata.md +18 -0
  118. data/docs/Link.md +15 -4
  119. data/docs/Member.md +47 -14
  120. data/docs/MemberDataRep.md +26 -0
  121. data/docs/MemberImportItemRep.md +22 -0
  122. data/docs/MemberPermissionGrantSummaryRep.md +22 -0
  123. data/docs/MemberSummaryRep.md +28 -0
  124. data/docs/MemberTeamSummaryRep.md +22 -0
  125. data/docs/MemberTeamsFormPost.md +18 -0
  126. data/docs/Members.md +17 -5
  127. data/docs/MethodNotAllowedErrorRep.md +20 -0
  128. data/docs/MetricCollectionRep.md +20 -0
  129. data/docs/MetricListingRep.md +52 -0
  130. data/docs/MetricPost.md +40 -0
  131. data/docs/MetricRep.md +62 -0
  132. data/docs/MetricSeen.md +20 -0
  133. data/docs/MetricsApi.md +376 -0
  134. data/docs/Modification.md +18 -0
  135. data/docs/MultiEnvironmentDependentFlag.md +17 -7
  136. data/docs/MultiEnvironmentDependentFlags.md +17 -5
  137. data/docs/NewMemberForm.md +28 -0
  138. data/docs/NotFoundErrorRep.md +20 -0
  139. data/docs/OtherApi.md +282 -0
  140. data/docs/ParentResourceRep.md +22 -0
  141. data/docs/PatchFailedErrorRep.md +20 -0
  142. data/docs/PatchOperation.md +17 -5
  143. data/docs/PatchSegmentInstruction.md +26 -0
  144. data/docs/PatchSegmentRequest.md +20 -0
  145. data/docs/PatchWithComment.md +20 -0
  146. data/docs/PermissionGrantInput.md +22 -0
  147. data/docs/PermissionGrantRep.md +24 -0
  148. data/docs/PostApprovalRequestApplyRequest.md +18 -0
  149. data/docs/PostApprovalRequestReviewRequest.md +20 -0
  150. data/docs/PostFlagScheduledChangesInput.md +22 -0
  151. data/docs/Prerequisite.md +15 -4
  152. data/docs/Project.md +27 -10
  153. data/docs/ProjectListingRep.md +30 -0
  154. data/docs/ProjectPost.md +28 -0
  155. data/docs/Projects.md +15 -4
  156. data/docs/ProjectsApi.md +196 -100
  157. data/docs/PubNubDetailRep.md +20 -0
  158. data/docs/PutBranch.md +28 -0
  159. data/docs/RateLimitedErrorRep.md +20 -0
  160. data/docs/RecentTriggerBody.md +20 -0
  161. data/docs/ReferenceRep.md +22 -0
  162. data/docs/RelayAutoConfigCollectionRep.md +18 -0
  163. data/docs/RelayAutoConfigPost.md +20 -0
  164. data/docs/RelayAutoConfigRep.md +34 -0
  165. data/docs/RelayProxyConfigurationsApi.md +244 -129
  166. data/docs/RepositoryCollectionRep.md +20 -0
  167. data/docs/RepositoryPost.md +28 -0
  168. data/docs/RepositoryRep.md +38 -0
  169. data/docs/ResourceAccess.md +20 -0
  170. data/docs/ResourceIDResponse.md +26 -0
  171. data/docs/ReviewOutputRep.md +26 -0
  172. data/docs/ReviewResponse.md +26 -0
  173. data/docs/Rollout.md +19 -4
  174. data/docs/Rule.md +25 -8
  175. data/docs/ScheduleConditionInputRep.md +20 -0
  176. data/docs/ScheduleConditionOutputRep.md +18 -0
  177. data/docs/ScheduledChangesApi.md +404 -0
  178. data/docs/SdkListRep.md +20 -0
  179. data/docs/SdkVersionListRep.md +20 -0
  180. data/docs/SdkVersionRep.md +20 -0
  181. data/docs/SegmentBody.md +26 -0
  182. data/docs/SegmentMetadata.md +28 -0
  183. data/docs/SegmentUserList.md +20 -0
  184. data/docs/SegmentUserState.md +20 -0
  185. data/docs/SegmentsApi.md +695 -0
  186. data/docs/SeriesListRep.md +22 -0
  187. data/docs/SourceFlag.md +20 -0
  188. data/docs/StageInputRep.md +22 -0
  189. data/docs/StageOutputRep.md +26 -0
  190. data/docs/Statement.md +21 -7
  191. data/docs/StatementPost.md +26 -0
  192. data/docs/StatementPostData.md +26 -0
  193. data/docs/StatementRep.md +26 -0
  194. data/docs/StatisticCollectionRep.md +20 -0
  195. data/docs/StatisticRep.md +30 -0
  196. data/docs/StatisticsRoot.md +20 -0
  197. data/docs/StatusConflictErrorRep.md +20 -0
  198. data/docs/SubjectDataRep.md +22 -0
  199. data/docs/SubscriptionPost.md +30 -0
  200. data/docs/Target.md +15 -4
  201. data/docs/TargetResourceRep.md +22 -0
  202. data/docs/TeamCollectionRep.md +22 -0
  203. data/docs/TeamImportsRep.md +18 -0
  204. data/docs/TeamPatchInput.md +20 -0
  205. data/docs/TeamPostInput.md +28 -0
  206. data/docs/TeamRep.md +40 -0
  207. data/docs/TeamsBetaApi.md +450 -0
  208. data/docs/TitleRep.md +32 -0
  209. data/docs/Token.md +43 -17
  210. data/docs/TokenDataRep.md +26 -0
  211. data/docs/Tokens.md +15 -4
  212. data/docs/TriggerPost.md +22 -0
  213. data/docs/TriggerWorkflowCollectionRep.md +20 -0
  214. data/docs/TriggerWorkflowRep.md +42 -0
  215. data/docs/UnauthorizedErrorRep.md +20 -0
  216. data/docs/UrlPost.md +24 -0
  217. data/docs/User.md +37 -13
  218. data/docs/UserAttributeNamesRep.md +22 -0
  219. data/docs/UserFlagSetting.md +17 -5
  220. data/docs/UserFlagSettings.md +15 -4
  221. data/docs/UserRecord.md +25 -7
  222. data/docs/UserRecordRep.md +26 -0
  223. data/docs/UserSegment.md +49 -14
  224. data/docs/UserSegmentRule.md +19 -5
  225. data/docs/UserSegments.md +15 -4
  226. data/docs/UserSettingsApi.md +217 -137
  227. data/docs/Users.md +17 -5
  228. data/docs/UsersApi.md +187 -114
  229. data/docs/UsersBetaApi.md +81 -0
  230. data/docs/ValuePut.md +20 -0
  231. data/docs/Variation.md +19 -6
  232. data/docs/VariationOrRolloutRep.md +20 -0
  233. data/docs/VariationSummary.md +30 -0
  234. data/docs/VersionsRep.md +24 -0
  235. data/docs/Webhook.md +29 -10
  236. data/docs/WebhookPost.md +30 -0
  237. data/docs/Webhooks.md +15 -4
  238. data/docs/WebhooksApi.md +199 -103
  239. data/docs/WeightedVariation.md +17 -4
  240. data/docs/WorkflowsBetaApi.md +316 -0
  241. data/git_push.sh +13 -11
  242. data/launchdarkly_api.gemspec +8 -16
  243. data/lib/launchdarkly_api/api/access_tokens_api.rb +198 -122
  244. data/lib/launchdarkly_api/api/account_members_api.rb +433 -0
  245. data/lib/launchdarkly_api/api/account_usage_beta_api.rb +598 -0
  246. data/lib/launchdarkly_api/api/approvals_api.rb +615 -0
  247. data/lib/launchdarkly_api/api/audit_log_api.rb +72 -51
  248. data/lib/launchdarkly_api/api/code_references_api.rb +929 -0
  249. data/lib/launchdarkly_api/api/custom_roles_api.rb +170 -105
  250. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +210 -145
  251. data/lib/launchdarkly_api/api/environments_api.rb +205 -132
  252. data/lib/launchdarkly_api/api/experiments_beta_api.rb +190 -0
  253. data/lib/launchdarkly_api/api/feature_flags_api.rb +501 -1393
  254. data/lib/launchdarkly_api/api/feature_flags_beta_api.rb +166 -0
  255. data/lib/launchdarkly_api/api/flag_triggers_api.rb +437 -0
  256. data/lib/launchdarkly_api/api/integration_audit_log_subscriptions_api.rb +377 -0
  257. data/lib/launchdarkly_api/api/metrics_api.rb +377 -0
  258. data/lib/launchdarkly_api/api/other_api.rb +248 -0
  259. data/lib/launchdarkly_api/api/projects_api.rb +155 -90
  260. data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +203 -127
  261. data/lib/launchdarkly_api/api/scheduled_changes_api.rb +443 -0
  262. data/lib/launchdarkly_api/api/segments_api.rb +735 -0
  263. data/lib/launchdarkly_api/api/teams_beta_api.rb +427 -0
  264. data/lib/launchdarkly_api/api/user_settings_api.rb +245 -180
  265. data/lib/launchdarkly_api/api/users_api.rb +185 -135
  266. data/lib/launchdarkly_api/api/users_beta_api.rb +91 -0
  267. data/lib/launchdarkly_api/api/webhooks_api.rb +178 -113
  268. data/lib/launchdarkly_api/api/workflows_beta_api.rb +345 -0
  269. data/lib/launchdarkly_api/api_client.rb +90 -91
  270. data/lib/launchdarkly_api/api_error.rb +23 -4
  271. data/lib/launchdarkly_api/configuration.rb +85 -16
  272. data/lib/launchdarkly_api/models/access_denied_reason_rep.rb +280 -0
  273. data/lib/launchdarkly_api/models/access_denied_rep.rb +237 -0
  274. data/lib/launchdarkly_api/models/access_rep.rb +225 -0
  275. data/lib/launchdarkly_api/models/access_token_post.rb +317 -0
  276. data/lib/launchdarkly_api/models/action_input_rep.rb +219 -0
  277. data/lib/launchdarkly_api/models/action_output_rep.rb +239 -0
  278. data/lib/launchdarkly_api/models/approval_condition_input_rep.rb +229 -0
  279. data/lib/launchdarkly_api/models/approval_condition_output_rep.rb +278 -0
  280. data/lib/launchdarkly_api/models/approval_settings.rb +331 -0
  281. data/lib/launchdarkly_api/models/audit_log_entry_listing_rep.rb +420 -0
  282. data/lib/launchdarkly_api/models/audit_log_entry_listing_rep_collection.rb +241 -0
  283. data/lib/launchdarkly_api/models/audit_log_entry_rep.rb +481 -0
  284. data/lib/launchdarkly_api/models/authorized_app_data_rep.rb +256 -0
  285. data/lib/launchdarkly_api/models/big_segment_target.rb +254 -0
  286. data/lib/launchdarkly_api/models/branch_collection_rep.rb +242 -0
  287. data/lib/launchdarkly_api/models/branch_rep.rb +291 -0
  288. data/lib/launchdarkly_api/models/clause.rb +78 -24
  289. data/lib/launchdarkly_api/models/client_side_availability.rb +65 -33
  290. data/lib/launchdarkly_api/models/client_side_availability_post.rb +237 -0
  291. data/lib/launchdarkly_api/models/condition_base_output_rep.rb +246 -0
  292. data/lib/launchdarkly_api/models/condition_input_rep.rb +256 -0
  293. data/lib/launchdarkly_api/models/condition_output_rep.rb +324 -0
  294. data/lib/launchdarkly_api/models/confidence_interval_rep.rb +227 -0
  295. data/lib/launchdarkly_api/models/conflict.rb +230 -0
  296. data/lib/launchdarkly_api/models/conflict_output_rep.rb +237 -0
  297. data/lib/launchdarkly_api/models/copied_from_env.rb +233 -0
  298. data/lib/launchdarkly_api/models/create_copy_flag_config_approval_request_request.rb +286 -0
  299. data/lib/launchdarkly_api/models/create_flag_config_approval_request_request.rb +297 -0
  300. data/lib/launchdarkly_api/models/custom_property.rb +59 -23
  301. data/lib/launchdarkly_api/models/custom_role.rb +125 -49
  302. data/lib/launchdarkly_api/models/custom_role_post.rb +274 -0
  303. data/lib/launchdarkly_api/models/custom_role_post_data.rb +274 -0
  304. data/lib/launchdarkly_api/models/custom_roles.rb +58 -22
  305. data/lib/launchdarkly_api/models/custom_roles_rep.rb +247 -0
  306. data/lib/launchdarkly_api/models/custom_workflow_input_rep.rb +252 -0
  307. data/lib/launchdarkly_api/models/custom_workflow_meta.rb +227 -0
  308. data/lib/launchdarkly_api/models/custom_workflow_output_rep.rb +354 -0
  309. data/lib/launchdarkly_api/models/custom_workflow_stage_meta.rb +227 -0
  310. data/lib/launchdarkly_api/models/custom_workflows_listing_output_rep.rb +225 -0
  311. data/lib/launchdarkly_api/models/default_client_side_availability_post.rb +237 -0
  312. data/lib/launchdarkly_api/models/defaults.rb +56 -25
  313. data/lib/launchdarkly_api/models/dependent_flag.rb +76 -25
  314. data/lib/launchdarkly_api/models/dependent_flag_environment.rb +76 -25
  315. data/lib/launchdarkly_api/models/dependent_flags_by_environment.rb +75 -24
  316. data/lib/launchdarkly_api/models/derived_attribute.rb +228 -0
  317. data/lib/launchdarkly_api/models/destination.rb +88 -47
  318. data/lib/launchdarkly_api/models/destination_post.rb +281 -0
  319. data/lib/launchdarkly_api/models/destinations.rb +58 -22
  320. data/lib/launchdarkly_api/models/environment.rb +167 -68
  321. data/lib/launchdarkly_api/models/environment_post.rb +90 -56
  322. data/lib/launchdarkly_api/models/execution_output_rep.rb +223 -0
  323. data/lib/launchdarkly_api/models/expanded_team_rep.rb +349 -0
  324. data/lib/launchdarkly_api/models/experiment_allocation_rep.rb +237 -0
  325. data/lib/launchdarkly_api/models/experiment_enabled_period_rep.rb +227 -0
  326. data/lib/launchdarkly_api/models/experiment_environment_setting_rep.rb +238 -0
  327. data/lib/launchdarkly_api/models/experiment_info_rep.rb +239 -0
  328. data/lib/launchdarkly_api/models/experiment_metadata_rep.rb +219 -0
  329. data/lib/launchdarkly_api/models/experiment_rep.rb +249 -0
  330. data/lib/launchdarkly_api/models/experiment_results_rep.rb +280 -0
  331. data/lib/launchdarkly_api/models/experiment_stats_rep.rb +245 -0
  332. data/lib/launchdarkly_api/models/experiment_time_series_slice.rb +229 -0
  333. data/lib/launchdarkly_api/models/experiment_time_series_variation_slice.rb +281 -0
  334. data/lib/launchdarkly_api/models/experiment_totals_rep.rb +281 -0
  335. data/lib/launchdarkly_api/models/expiring_user_target_error.rb +237 -0
  336. data/lib/launchdarkly_api/models/expiring_user_target_get_response.rb +236 -0
  337. data/lib/launchdarkly_api/models/expiring_user_target_item.rb +300 -0
  338. data/lib/launchdarkly_api/models/expiring_user_target_patch_response.rb +274 -0
  339. data/lib/launchdarkly_api/models/extinction.rb +283 -0
  340. data/lib/launchdarkly_api/models/extinction_collection_rep.rb +242 -0
  341. data/lib/launchdarkly_api/models/feature_flag.rb +276 -123
  342. data/lib/launchdarkly_api/models/feature_flag_body.rb +104 -54
  343. data/lib/launchdarkly_api/models/feature_flag_config.rb +184 -55
  344. data/lib/launchdarkly_api/models/feature_flag_scheduled_change.rb +142 -38
  345. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +73 -32
  346. data/lib/launchdarkly_api/models/feature_flag_status.rb +70 -71
  347. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +71 -33
  348. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +64 -23
  349. data/lib/launchdarkly_api/models/feature_flags.rb +78 -32
  350. data/lib/launchdarkly_api/models/flag_config_approval_request_response.rb +457 -0
  351. data/lib/launchdarkly_api/models/flag_config_approval_requests_response.rb +242 -0
  352. data/lib/launchdarkly_api/models/flag_copy_config_environment.rb +232 -0
  353. data/lib/launchdarkly_api/models/flag_copy_config_post.rb +290 -0
  354. data/lib/launchdarkly_api/models/flag_global_attributes_rep.rb +514 -0
  355. data/lib/launchdarkly_api/models/flag_listing_rep.rb +257 -0
  356. data/lib/launchdarkly_api/models/flag_scheduled_changes_input.rb +234 -0
  357. data/lib/launchdarkly_api/models/flag_status_rep.rb +256 -0
  358. data/lib/launchdarkly_api/models/flag_summary.rb +223 -0
  359. data/lib/launchdarkly_api/models/flag_trigger_input.rb +230 -0
  360. data/lib/launchdarkly_api/models/forbidden_error_rep.rb +227 -0
  361. data/lib/launchdarkly_api/models/hunk_rep.rb +266 -0
  362. data/lib/launchdarkly_api/models/integration.rb +159 -29
  363. data/lib/launchdarkly_api/models/integration_metadata.rb +265 -0
  364. data/lib/launchdarkly_api/models/integration_status.rb +237 -0
  365. data/lib/launchdarkly_api/models/integration_status_rep.rb +236 -0
  366. data/lib/launchdarkly_api/models/integration_subscription_status_rep.rb +256 -0
  367. data/lib/launchdarkly_api/models/integrations.rb +71 -27
  368. data/lib/launchdarkly_api/models/invalid_request_error_rep.rb +227 -0
  369. data/lib/launchdarkly_api/models/ip_list.rb +241 -0
  370. data/lib/launchdarkly_api/models/last_seen_metadata.rb +219 -0
  371. data/lib/launchdarkly_api/models/link.rb +54 -20
  372. data/lib/launchdarkly_api/models/member.rb +227 -67
  373. data/lib/launchdarkly_api/models/member_data_rep.rb +256 -0
  374. data/lib/launchdarkly_api/models/member_import_item_rep.rb +246 -0
  375. data/lib/launchdarkly_api/models/member_permission_grant_summary_rep.rb +253 -0
  376. data/lib/launchdarkly_api/models/member_summary_rep.rb +285 -0
  377. data/lib/launchdarkly_api/models/member_team_summary_rep.rb +253 -0
  378. data/lib/launchdarkly_api/models/member_teams_form_post.rb +226 -0
  379. data/lib/launchdarkly_api/models/members.rb +78 -32
  380. data/lib/launchdarkly_api/models/method_not_allowed_error_rep.rb +227 -0
  381. data/lib/launchdarkly_api/models/metric_collection_rep.rb +231 -0
  382. data/lib/launchdarkly_api/models/metric_listing_rep.rb +456 -0
  383. data/lib/launchdarkly_api/models/metric_post.rb +380 -0
  384. data/lib/launchdarkly_api/models/metric_rep.rb +505 -0
  385. data/lib/launchdarkly_api/models/metric_seen.rb +227 -0
  386. data/lib/launchdarkly_api/models/modification.rb +218 -0
  387. data/lib/launchdarkly_api/models/multi_environment_dependent_flag.rb +69 -43
  388. data/lib/launchdarkly_api/models/multi_environment_dependent_flags.rb +75 -24
  389. data/lib/launchdarkly_api/models/new_member_form.rb +276 -0
  390. data/lib/launchdarkly_api/models/not_found_error_rep.rb +227 -0
  391. data/lib/launchdarkly_api/models/parent_resource_rep.rb +239 -0
  392. data/lib/launchdarkly_api/models/patch_failed_error_rep.rb +227 -0
  393. data/lib/launchdarkly_api/models/patch_operation.rb +59 -26
  394. data/lib/launchdarkly_api/models/patch_segment_instruction.rb +273 -0
  395. data/lib/launchdarkly_api/models/patch_segment_request.rb +236 -0
  396. data/lib/launchdarkly_api/models/patch_with_comment.rb +234 -0
  397. data/lib/launchdarkly_api/models/permission_grant_input.rb +240 -0
  398. data/lib/launchdarkly_api/models/permission_grant_rep.rb +249 -0
  399. data/lib/launchdarkly_api/models/post_approval_request_apply_request.rb +218 -0
  400. data/lib/launchdarkly_api/models/post_approval_request_review_request.rb +227 -0
  401. data/lib/launchdarkly_api/models/post_flag_scheduled_changes_input.rb +248 -0
  402. data/lib/launchdarkly_api/models/prerequisite.rb +64 -20
  403. data/lib/launchdarkly_api/models/project.rb +120 -50
  404. data/lib/launchdarkly_api/models/project_listing_rep.rb +306 -0
  405. data/lib/launchdarkly_api/models/project_post.rb +281 -0
  406. data/lib/launchdarkly_api/models/projects.rb +70 -22
  407. data/lib/launchdarkly_api/models/pub_nub_detail_rep.rb +227 -0
  408. data/lib/launchdarkly_api/models/put_branch.rb +284 -0
  409. data/lib/launchdarkly_api/models/rate_limited_error_rep.rb +227 -0
  410. data/lib/launchdarkly_api/models/recent_trigger_body.rb +229 -0
  411. data/lib/launchdarkly_api/models/reference_rep.rb +250 -0
  412. data/lib/launchdarkly_api/models/relay_auto_config_collection_rep.rb +225 -0
  413. data/lib/launchdarkly_api/models/relay_auto_config_post.rb +240 -0
  414. data/lib/launchdarkly_api/models/relay_auto_config_rep.rb +327 -0
  415. data/lib/launchdarkly_api/models/repository_collection_rep.rb +242 -0
  416. data/lib/launchdarkly_api/models/repository_post.rb +306 -0
  417. data/lib/launchdarkly_api/models/repository_rep.rb +385 -0
  418. data/lib/launchdarkly_api/models/resource_access.rb +228 -0
  419. data/lib/launchdarkly_api/models/resource_id_response.rb +254 -0
  420. data/lib/launchdarkly_api/models/review_output_rep.rb +264 -0
  421. data/lib/launchdarkly_api/models/review_response.rb +302 -0
  422. data/lib/launchdarkly_api/models/rollout.rb +89 -32
  423. data/lib/launchdarkly_api/models/rule.rb +89 -36
  424. data/lib/launchdarkly_api/models/schedule_condition_input_rep.rb +227 -0
  425. data/lib/launchdarkly_api/models/schedule_condition_output_rep.rb +218 -0
  426. data/lib/launchdarkly_api/models/sdk_list_rep.rb +241 -0
  427. data/lib/launchdarkly_api/models/sdk_version_list_rep.rb +241 -0
  428. data/lib/launchdarkly_api/models/sdk_version_rep.rb +237 -0
  429. data/lib/launchdarkly_api/models/segment_body.rb +270 -0
  430. data/lib/launchdarkly_api/models/segment_metadata.rb +263 -0
  431. data/lib/launchdarkly_api/models/segment_user_list.rb +231 -0
  432. data/lib/launchdarkly_api/models/segment_user_state.rb +227 -0
  433. data/lib/launchdarkly_api/models/series_list_rep.rb +257 -0
  434. data/lib/launchdarkly_api/models/source_flag.rb +233 -0
  435. data/lib/launchdarkly_api/models/stage_input_rep.rb +238 -0
  436. data/lib/launchdarkly_api/models/stage_output_rep.rb +276 -0
  437. data/lib/launchdarkly_api/models/statement.rb +68 -61
  438. data/lib/launchdarkly_api/models/statement_post.rb +281 -0
  439. data/lib/launchdarkly_api/models/statement_post_data.rb +281 -0
  440. data/lib/launchdarkly_api/models/statement_rep.rb +271 -0
  441. data/lib/launchdarkly_api/models/statistic_collection_rep.rb +241 -0
  442. data/lib/launchdarkly_api/models/statistic_rep.rb +309 -0
  443. data/lib/launchdarkly_api/models/statistics_root.rb +229 -0
  444. data/lib/launchdarkly_api/models/status_conflict_error_rep.rb +227 -0
  445. data/lib/launchdarkly_api/models/subject_data_rep.rb +238 -0
  446. data/lib/launchdarkly_api/models/subscription_post.rb +293 -0
  447. data/lib/launchdarkly_api/models/target.rb +64 -20
  448. data/lib/launchdarkly_api/models/target_resource_rep.rb +240 -0
  449. data/lib/launchdarkly_api/models/team_collection_rep.rb +240 -0
  450. data/lib/launchdarkly_api/models/team_imports_rep.rb +220 -0
  451. data/lib/launchdarkly_api/models/team_patch_input.rb +229 -0
  452. data/lib/launchdarkly_api/models/team_post_input.rb +285 -0
  453. data/lib/launchdarkly_api/models/team_rep.rb +327 -0
  454. data/lib/launchdarkly_api/models/title_rep.rb +281 -0
  455. data/lib/launchdarkly_api/models/token.rb +159 -93
  456. data/lib/launchdarkly_api/models/token_data_rep.rb +256 -0
  457. data/lib/launchdarkly_api/models/tokens.rb +68 -32
  458. data/lib/launchdarkly_api/models/trigger_post.rb +245 -0
  459. data/lib/launchdarkly_api/models/trigger_workflow_collection_rep.rb +231 -0
  460. data/lib/launchdarkly_api/models/trigger_workflow_rep.rb +332 -0
  461. data/lib/launchdarkly_api/models/unauthorized_error_rep.rb +227 -0
  462. data/lib/launchdarkly_api/models/url_post.rb +279 -0
  463. data/lib/launchdarkly_api/models/user.rb +95 -37
  464. data/lib/launchdarkly_api/models/user_attribute_names_rep.rb +245 -0
  465. data/lib/launchdarkly_api/models/user_flag_setting.rb +68 -27
  466. data/lib/launchdarkly_api/models/user_flag_settings.rb +78 -32
  467. data/lib/launchdarkly_api/models/user_record.rb +89 -34
  468. data/lib/launchdarkly_api/models/user_record_rep.rb +255 -0
  469. data/lib/launchdarkly_api/models/user_segment.rb +195 -69
  470. data/lib/launchdarkly_api/models/user_segment_rule.rb +71 -23
  471. data/lib/launchdarkly_api/models/user_segments.rb +78 -32
  472. data/lib/launchdarkly_api/models/users.rb +71 -25
  473. data/lib/launchdarkly_api/models/value_put.rb +229 -0
  474. data/lib/launchdarkly_api/models/variation.rb +70 -38
  475. data/lib/launchdarkly_api/models/variation_or_rollout_rep.rb +227 -0
  476. data/lib/launchdarkly_api/models/variation_summary.rb +287 -0
  477. data/lib/launchdarkly_api/models/versions_rep.rb +262 -0
  478. data/lib/launchdarkly_api/models/webhook.rb +120 -55
  479. data/lib/launchdarkly_api/models/webhook_post.rb +297 -0
  480. data/lib/launchdarkly_api/models/webhooks.rb +68 -22
  481. data/lib/launchdarkly_api/models/weighted_variation.rb +77 -24
  482. data/lib/launchdarkly_api/version.rb +5 -5
  483. data/lib/launchdarkly_api.rb +178 -95
  484. data/spec/api/access_tokens_api_spec.rb +23 -17
  485. data/spec/api/account_members_api_spec.rb +112 -0
  486. data/spec/api/account_usage_beta_api_spec.rb +156 -0
  487. data/spec/api/approvals_api_spec.rb +141 -0
  488. data/spec/api/audit_log_api_spec.rb +19 -17
  489. data/spec/api/code_references_api_spec.rb +208 -0
  490. data/spec/api/custom_roles_api_spec.rb +22 -17
  491. data/spec/api/data_export_destinations_api_spec.rb +30 -25
  492. data/spec/api/environments_api_spec.rb +31 -26
  493. data/spec/api/experiments_beta_api_spec.rb +67 -0
  494. data/spec/api/feature_flags_api_spec.rb +69 -267
  495. data/spec/api/feature_flags_beta_api_spec.rb +62 -0
  496. data/spec/api/flag_triggers_api_spec.rb +110 -0
  497. data/spec/api/integration_audit_log_subscriptions_api_spec.rb +100 -0
  498. data/spec/api/metrics_api_spec.rb +100 -0
  499. data/spec/api/other_api_spec.rb +79 -0
  500. data/spec/api/projects_api_spec.rb +22 -17
  501. data/spec/api/relay_proxy_configurations_api_spec.rb +37 -31
  502. data/spec/api/scheduled_changes_api_spec.rb +112 -0
  503. data/spec/api/segments_api_spec.rb +164 -0
  504. data/spec/api/teams_beta_api_spec.rb +111 -0
  505. data/spec/api/user_settings_api_spec.rb +41 -36
  506. data/spec/api/users_api_spec.rb +34 -28
  507. data/spec/api/users_beta_api_spec.rb +48 -0
  508. data/spec/api/webhooks_api_spec.rb +27 -22
  509. data/spec/api/workflows_beta_api_spec.rb +94 -0
  510. data/spec/api_client_spec.rb +7 -24
  511. data/spec/configuration_spec.rb +7 -7
  512. data/spec/models/access_denied_reason_rep_spec.rb +64 -0
  513. data/spec/models/access_denied_rep_spec.rb +40 -0
  514. data/spec/models/access_rep_spec.rb +34 -0
  515. data/spec/models/access_token_post_spec.rb +74 -0
  516. data/spec/models/action_input_rep_spec.rb +34 -0
  517. data/spec/models/action_output_rep_spec.rb +40 -0
  518. data/spec/models/approval_condition_input_rep_spec.rb +40 -0
  519. data/spec/models/approval_condition_output_rep_spec.rb +58 -0
  520. data/spec/models/approval_settings_spec.rb +76 -0
  521. data/spec/models/audit_log_entry_listing_rep_collection_spec.rb +40 -0
  522. data/spec/models/audit_log_entry_listing_rep_spec.rb +136 -0
  523. data/spec/models/audit_log_entry_rep_spec.rb +172 -0
  524. data/spec/models/authorized_app_data_rep_spec.rb +58 -0
  525. data/spec/models/big_segment_target_spec.rb +46 -0
  526. data/spec/models/branch_collection_rep_spec.rb +40 -0
  527. data/spec/models/branch_rep_spec.rb +64 -0
  528. data/spec/models/clause_spec.rb +8 -15
  529. data/spec/models/client_side_availability_post_spec.rb +40 -0
  530. data/spec/models/client_side_availability_spec.rb +10 -17
  531. data/spec/models/condition_base_output_rep_spec.rb +46 -0
  532. data/spec/models/condition_input_rep_spec.rb +58 -0
  533. data/spec/models/condition_output_rep_spec.rb +82 -0
  534. data/spec/models/confidence_interval_rep_spec.rb +40 -0
  535. data/spec/models/conflict_output_rep_spec.rb +40 -0
  536. data/spec/models/conflict_spec.rb +40 -0
  537. data/spec/models/copied_from_env_spec.rb +40 -0
  538. data/spec/models/create_copy_flag_config_approval_request_request_spec.rb +64 -0
  539. data/spec/models/create_flag_config_approval_request_request_spec.rb +70 -0
  540. data/spec/models/custom_property_spec.rb +8 -15
  541. data/spec/models/custom_role_post_data_spec.rb +58 -0
  542. data/spec/models/custom_role_post_spec.rb +58 -0
  543. data/spec/models/custom_role_spec.rb +24 -19
  544. data/spec/models/custom_roles_rep_spec.rb +52 -0
  545. data/spec/models/custom_roles_spec.rb +8 -15
  546. data/spec/models/custom_workflow_input_rep_spec.rb +52 -0
  547. data/spec/models/custom_workflow_meta_spec.rb +40 -0
  548. data/spec/models/custom_workflow_output_rep_spec.rb +94 -0
  549. data/spec/models/custom_workflow_stage_meta_spec.rb +40 -0
  550. data/spec/models/custom_workflows_listing_output_rep_spec.rb +34 -0
  551. data/spec/models/default_client_side_availability_post_spec.rb +40 -0
  552. data/spec/models/defaults_spec.rb +8 -15
  553. data/spec/models/dependent_flag_environment_spec.rb +8 -15
  554. data/spec/models/dependent_flag_spec.rb +8 -15
  555. data/spec/models/dependent_flags_by_environment_spec.rb +8 -15
  556. data/spec/models/derived_attribute_spec.rb +40 -0
  557. data/spec/models/destination_post_spec.rb +56 -0
  558. data/spec/models/destination_spec.rb +19 -20
  559. data/spec/models/destinations_spec.rb +8 -15
  560. data/spec/models/environment_post_spec.rb +10 -17
  561. data/spec/models/environment_spec.rb +11 -18
  562. data/spec/models/execution_output_rep_spec.rb +34 -0
  563. data/spec/models/expanded_team_rep_spec.rb +112 -0
  564. data/spec/models/experiment_allocation_rep_spec.rb +40 -0
  565. data/spec/models/experiment_enabled_period_rep_spec.rb +40 -0
  566. data/spec/models/experiment_environment_setting_rep_spec.rb +46 -0
  567. data/spec/models/experiment_info_rep_spec.rb +40 -0
  568. data/spec/models/experiment_metadata_rep_spec.rb +34 -0
  569. data/spec/models/experiment_rep_spec.rb +52 -0
  570. data/spec/models/experiment_results_rep_spec.rb +70 -0
  571. data/spec/models/experiment_stats_rep_spec.rb +52 -0
  572. data/spec/models/experiment_time_series_slice_spec.rb +40 -0
  573. data/spec/models/experiment_time_series_variation_slice_spec.rb +76 -0
  574. data/spec/models/experiment_totals_rep_spec.rb +76 -0
  575. data/spec/models/expiring_user_target_error_spec.rb +40 -0
  576. data/spec/models/expiring_user_target_get_response_spec.rb +40 -0
  577. data/spec/models/expiring_user_target_item_spec.rb +70 -0
  578. data/spec/models/expiring_user_target_patch_response_spec.rb +64 -0
  579. data/spec/models/extinction_collection_rep_spec.rb +40 -0
  580. data/spec/models/extinction_spec.rb +58 -0
  581. data/spec/models/feature_flag_body_spec.rb +24 -19
  582. data/spec/models/feature_flag_config_spec.rb +28 -17
  583. data/spec/models/feature_flag_scheduled_change_spec.rb +34 -17
  584. data/spec/models/feature_flag_scheduled_changes_spec.rb +10 -17
  585. data/spec/models/feature_flag_spec.rb +39 -30
  586. data/spec/models/feature_flag_status_across_environments_spec.rb +10 -17
  587. data/spec/models/feature_flag_status_spec.rb +8 -25
  588. data/spec/models/feature_flag_statuses_spec.rb +8 -15
  589. data/spec/models/feature_flags_spec.rb +10 -17
  590. data/spec/models/flag_config_approval_request_response_spec.rb +148 -0
  591. data/spec/models/flag_config_approval_requests_response_spec.rb +40 -0
  592. data/spec/models/flag_copy_config_environment_spec.rb +40 -0
  593. data/spec/models/flag_copy_config_post_spec.rb +66 -0
  594. data/spec/models/flag_global_attributes_rep_spec.rb +158 -0
  595. data/spec/models/flag_listing_rep_spec.rb +52 -0
  596. data/spec/models/flag_scheduled_changes_input_spec.rb +40 -0
  597. data/spec/models/flag_status_rep_spec.rb +52 -0
  598. data/spec/models/flag_summary_spec.rb +34 -0
  599. data/spec/models/flag_trigger_input_spec.rb +40 -0
  600. data/spec/models/forbidden_error_rep_spec.rb +40 -0
  601. data/spec/models/hunk_rep_spec.rb +58 -0
  602. data/spec/models/integration_metadata_spec.rb +52 -0
  603. data/spec/models/integration_spec.rb +69 -16
  604. data/spec/models/integration_status_rep_spec.rb +46 -0
  605. data/spec/models/integration_status_spec.rb +40 -0
  606. data/spec/models/integration_subscription_status_rep_spec.rb +58 -0
  607. data/spec/models/integrations_spec.rb +14 -15
  608. data/spec/models/invalid_request_error_rep_spec.rb +40 -0
  609. data/spec/models/ip_list_spec.rb +40 -0
  610. data/spec/models/last_seen_metadata_spec.rb +34 -0
  611. data/spec/models/link_spec.rb +8 -15
  612. data/spec/models/member_data_rep_spec.rb +58 -0
  613. data/spec/models/member_import_item_rep_spec.rb +46 -0
  614. data/spec/models/member_permission_grant_summary_rep_spec.rb +46 -0
  615. data/spec/models/member_spec.rb +50 -21
  616. data/spec/models/member_summary_rep_spec.rb +64 -0
  617. data/spec/models/member_team_summary_rep_spec.rb +46 -0
  618. data/spec/models/member_teams_form_post_spec.rb +34 -0
  619. data/spec/models/members_spec.rb +10 -17
  620. data/spec/models/method_not_allowed_error_rep_spec.rb +40 -0
  621. data/spec/models/metric_collection_rep_spec.rb +40 -0
  622. data/spec/models/metric_listing_rep_spec.rb +144 -0
  623. data/spec/models/metric_post_spec.rb +108 -0
  624. data/spec/models/metric_rep_spec.rb +174 -0
  625. data/spec/models/metric_seen_spec.rb +40 -0
  626. data/spec/models/modification_spec.rb +34 -0
  627. data/spec/models/multi_environment_dependent_flag_spec.rb +8 -27
  628. data/spec/models/multi_environment_dependent_flags_spec.rb +8 -15
  629. data/spec/models/new_member_form_spec.rb +64 -0
  630. data/spec/models/not_found_error_rep_spec.rb +40 -0
  631. data/spec/models/parent_resource_rep_spec.rb +46 -0
  632. data/spec/models/patch_failed_error_rep_spec.rb +40 -0
  633. data/spec/models/patch_operation_spec.rb +8 -15
  634. data/spec/models/patch_segment_instruction_spec.rb +58 -0
  635. data/spec/models/patch_segment_request_spec.rb +40 -0
  636. data/spec/models/patch_with_comment_spec.rb +40 -0
  637. data/spec/models/permission_grant_input_spec.rb +46 -0
  638. data/spec/models/permission_grant_rep_spec.rb +52 -0
  639. data/spec/models/post_approval_request_apply_request_spec.rb +34 -0
  640. data/spec/models/post_approval_request_review_request_spec.rb +40 -0
  641. data/spec/models/post_flag_scheduled_changes_input_spec.rb +46 -0
  642. data/spec/models/prerequisite_spec.rb +8 -15
  643. data/spec/models/project_listing_rep_spec.rb +70 -0
  644. data/spec/models/project_post_spec.rb +64 -0
  645. data/spec/models/project_spec.rb +12 -19
  646. data/spec/models/projects_spec.rb +8 -15
  647. data/spec/models/pub_nub_detail_rep_spec.rb +40 -0
  648. data/spec/models/put_branch_spec.rb +64 -0
  649. data/spec/models/rate_limited_error_rep_spec.rb +40 -0
  650. data/spec/models/recent_trigger_body_spec.rb +40 -0
  651. data/spec/models/reference_rep_spec.rb +46 -0
  652. data/spec/models/relay_auto_config_collection_rep_spec.rb +34 -0
  653. data/spec/models/relay_auto_config_post_spec.rb +40 -0
  654. data/spec/models/relay_auto_config_rep_spec.rb +82 -0
  655. data/spec/models/repository_collection_rep_spec.rb +40 -0
  656. data/spec/models/repository_post_spec.rb +68 -0
  657. data/spec/models/repository_rep_spec.rb +98 -0
  658. data/spec/models/resource_access_spec.rb +40 -0
  659. data/spec/models/resource_id_response_spec.rb +58 -0
  660. data/spec/models/review_output_rep_spec.rb +58 -0
  661. data/spec/models/review_response_spec.rb +62 -0
  662. data/spec/models/rollout_spec.rb +22 -17
  663. data/spec/models/rule_spec.rb +17 -18
  664. data/spec/models/schedule_condition_input_rep_spec.rb +40 -0
  665. data/spec/models/schedule_condition_output_rep_spec.rb +34 -0
  666. data/spec/models/sdk_list_rep_spec.rb +40 -0
  667. data/spec/models/sdk_version_list_rep_spec.rb +40 -0
  668. data/spec/models/sdk_version_rep_spec.rb +40 -0
  669. data/spec/models/segment_body_spec.rb +58 -0
  670. data/spec/models/segment_metadata_spec.rb +64 -0
  671. data/spec/models/segment_user_list_spec.rb +40 -0
  672. data/spec/models/segment_user_state_spec.rb +40 -0
  673. data/spec/models/series_list_rep_spec.rb +46 -0
  674. data/spec/models/source_flag_spec.rb +40 -0
  675. data/spec/models/stage_input_rep_spec.rb +46 -0
  676. data/spec/models/stage_output_rep_spec.rb +58 -0
  677. data/spec/models/statement_post_data_spec.rb +58 -0
  678. data/spec/models/statement_post_spec.rb +58 -0
  679. data/spec/models/statement_rep_spec.rb +58 -0
  680. data/spec/models/statement_spec.rb +8 -19
  681. data/spec/models/statistic_collection_rep_spec.rb +40 -0
  682. data/spec/models/statistic_rep_spec.rb +70 -0
  683. data/spec/models/statistics_root_spec.rb +40 -0
  684. data/spec/models/status_conflict_error_rep_spec.rb +40 -0
  685. data/spec/models/subject_data_rep_spec.rb +46 -0
  686. data/spec/models/subscription_post_spec.rb +70 -0
  687. data/spec/models/target_resource_rep_spec.rb +46 -0
  688. data/spec/models/target_spec.rb +8 -15
  689. data/spec/models/team_collection_rep_spec.rb +46 -0
  690. data/spec/models/team_imports_rep_spec.rb +34 -0
  691. data/spec/models/team_patch_input_spec.rb +40 -0
  692. data/spec/models/team_post_input_spec.rb +64 -0
  693. data/spec/models/team_rep_spec.rb +100 -0
  694. data/spec/models/title_rep_spec.rb +76 -0
  695. data/spec/models/token_data_rep_spec.rb +58 -0
  696. data/spec/models/token_spec.rb +27 -28
  697. data/spec/models/tokens_spec.rb +10 -17
  698. data/spec/models/trigger_post_spec.rb +46 -0
  699. data/spec/models/trigger_workflow_collection_rep_spec.rb +40 -0
  700. data/spec/models/trigger_workflow_rep_spec.rb +106 -0
  701. data/spec/models/unauthorized_error_rep_spec.rb +40 -0
  702. data/spec/models/url_post_spec.rb +56 -0
  703. data/spec/models/user_attribute_names_rep_spec.rb +46 -0
  704. data/spec/models/user_flag_setting_spec.rb +8 -15
  705. data/spec/models/user_flag_settings_spec.rb +10 -17
  706. data/spec/models/user_record_rep_spec.rb +58 -0
  707. data/spec/models/user_record_spec.rb +21 -16
  708. data/spec/models/user_segment_rule_spec.rb +14 -15
  709. data/spec/models/user_segment_spec.rb +58 -23
  710. data/spec/models/user_segments_spec.rb +10 -17
  711. data/spec/models/user_spec.rb +20 -15
  712. data/spec/models/users_spec.rb +8 -15
  713. data/spec/models/value_put_spec.rb +40 -0
  714. data/spec/models/variation_or_rollout_rep_spec.rb +40 -0
  715. data/spec/models/variation_spec.rb +10 -17
  716. data/spec/models/variation_summary_spec.rb +70 -0
  717. data/spec/models/versions_rep_spec.rb +52 -0
  718. data/spec/models/webhook_post_spec.rb +70 -0
  719. data/spec/models/webhook_spec.rb +18 -19
  720. data/spec/models/webhooks_spec.rb +8 -15
  721. data/spec/models/weighted_variation_spec.rb +14 -15
  722. data/spec/spec_helper.rb +4 -4
  723. metadata +1015 -578
  724. data/docs/ApprovalRequest.md +0 -21
  725. data/docs/ApprovalRequestApplyConfigBody.md +0 -8
  726. data/docs/ApprovalRequestConfigBody.md +0 -13
  727. data/docs/ApprovalRequestFlagConfigCopyBody.md +0 -13
  728. data/docs/ApprovalRequestReview.md +0 -11
  729. data/docs/ApprovalRequestReviewConfigBody.md +0 -9
  730. data/docs/ApprovalRequestReviewStatus.md +0 -7
  731. data/docs/ApprovalRequests.md +0 -9
  732. data/docs/AuditLogEntries.md +0 -9
  733. data/docs/AuditLogEntry.md +0 -19
  734. data/docs/AuditLogEntryTarget.md +0 -10
  735. data/docs/BigSegmentTargetChanges.md +0 -9
  736. data/docs/BigSegmentTargetsBody.md +0 -9
  737. data/docs/CopyActions.md +0 -7
  738. data/docs/CustomPropertyValues.md +0 -7
  739. data/docs/CustomRoleBody.md +0 -11
  740. data/docs/CustomerMetricsApi.md +0 -511
  741. data/docs/DependentFlagEnvironmentLinks.md +0 -9
  742. data/docs/DependentFlagLinks.md +0 -8
  743. data/docs/DependentFlagsLinks.md +0 -9
  744. data/docs/DestinationAmazonKinesis.md +0 -10
  745. data/docs/DestinationBody.md +0 -11
  746. data/docs/DestinationGooglePubSub.md +0 -9
  747. data/docs/DestinationMParticle.md +0 -11
  748. data/docs/DestinationSegment.md +0 -8
  749. data/docs/EnvironmentApprovalSettings.md +0 -13
  750. data/docs/EvaluationUsageError.md +0 -9
  751. data/docs/Events.md +0 -8
  752. data/docs/Fallthrough.md +0 -9
  753. data/docs/FeatureFlagCopyBody.md +0 -12
  754. data/docs/FeatureFlagCopyObject.md +0 -9
  755. data/docs/FeatureFlagScheduledChangesConflicts.md +0 -8
  756. data/docs/FeatureFlagScheduledChangesConflictsInstructions.md +0 -9
  757. data/docs/FeatureFlagStatusForQueriedEnvironment.md +0 -10
  758. data/docs/FeatureFlagStatusLinks.md +0 -9
  759. data/docs/FlagConfigScheduledChangesConflictsBody.md +0 -9
  760. data/docs/FlagConfigScheduledChangesPatchBody.md +0 -9
  761. data/docs/FlagConfigScheduledChangesPostBody.md +0 -10
  762. data/docs/FlagListItem.md +0 -11
  763. data/docs/HierarchicalLinks.md +0 -9
  764. data/docs/Id.md +0 -7
  765. data/docs/IntegrationSubscription.md +0 -16
  766. data/docs/IntegrationSubscriptionStatus.md +0 -10
  767. data/docs/IntegrationsApi.md +0 -334
  768. data/docs/Links.md +0 -9
  769. data/docs/MAU.md +0 -10
  770. data/docs/MAUMetadata.md +0 -7
  771. data/docs/MAUbyCategory.md +0 -10
  772. data/docs/MemberLastSeenMetadata.md +0 -8
  773. data/docs/MembersBody.md +0 -13
  774. data/docs/PatchComment.md +0 -9
  775. data/docs/Policy.md +0 -12
  776. data/docs/ProjectBody.md +0 -13
  777. data/docs/RelayProxyConfig.md +0 -15
  778. data/docs/RelayProxyConfigBody.md +0 -9
  779. data/docs/RelayProxyConfigs.md +0 -8
  780. data/docs/Role.md +0 -7
  781. data/docs/RootApi.md +0 -56
  782. data/docs/ScheduledChangesFeatureFlagConflict.md +0 -9
  783. data/docs/SemanticPatchInstruction.md +0 -7
  784. data/docs/SemanticPatchInstructionInner.md +0 -8
  785. data/docs/SemanticPatchOperation.md +0 -9
  786. data/docs/Site.md +0 -9
  787. data/docs/Source.md +0 -9
  788. data/docs/Stream.md +0 -10
  789. data/docs/StreamBySDK.md +0 -10
  790. data/docs/StreamBySDKLinks.md +0 -9
  791. data/docs/StreamBySDKLinksMetadata.md +0 -10
  792. data/docs/StreamLinks.md +0 -10
  793. data/docs/StreamSDKVersion.md +0 -9
  794. data/docs/StreamSDKVersionData.md +0 -9
  795. data/docs/StreamUsageError.md +0 -9
  796. data/docs/StreamUsageLinks.md +0 -10
  797. data/docs/StreamUsageMetadata.md +0 -10
  798. data/docs/StreamUsageSeries.md +0 -9
  799. data/docs/Streams.md +0 -8
  800. data/docs/SubscriptionBody.md +0 -12
  801. data/docs/TeamMembersApi.md +0 -329
  802. data/docs/TokenBody.md +0 -13
  803. data/docs/Usage.md +0 -9
  804. data/docs/UsageError.md +0 -8
  805. data/docs/UsageLinks.md +0 -10
  806. data/docs/UserSegmentBody.md +0 -12
  807. data/docs/UserSegmentsApi.md +0 -488
  808. data/docs/UserSettingsBody.md +0 -8
  809. data/docs/UserTargetingExpirationForFlag.md +0 -14
  810. data/docs/UserTargetingExpirationForFlags.md +0 -9
  811. data/docs/UserTargetingExpirationForSegment.md +0 -14
  812. data/docs/UserTargetingExpirationOnFlagsForUser.md +0 -9
  813. data/docs/UserTargetingExpirationResourceIdForFlag.md +0 -12
  814. data/docs/WebhookBody.md +0 -14
  815. data/lib/launchdarkly_api/api/customer_metrics_api.rb +0 -519
  816. data/lib/launchdarkly_api/api/integrations_api.rb +0 -358
  817. data/lib/launchdarkly_api/api/root_api.rb +0 -69
  818. data/lib/launchdarkly_api/api/team_members_api.rb +0 -340
  819. data/lib/launchdarkly_api/api/user_segments_api.rb +0 -548
  820. data/lib/launchdarkly_api/models/approval_request.rb +0 -346
  821. data/lib/launchdarkly_api/models/approval_request_apply_config_body.rb +0 -185
  822. data/lib/launchdarkly_api/models/approval_request_config_body.rb +0 -250
  823. data/lib/launchdarkly_api/models/approval_request_flag_config_copy_body.rb +0 -254
  824. data/lib/launchdarkly_api/models/approval_request_review.rb +0 -212
  825. data/lib/launchdarkly_api/models/approval_request_review_config_body.rb +0 -234
  826. data/lib/launchdarkly_api/models/approval_request_review_status.rb +0 -31
  827. data/lib/launchdarkly_api/models/approval_requests.rb +0 -195
  828. data/lib/launchdarkly_api/models/audit_log_entries.rb +0 -195
  829. data/lib/launchdarkly_api/models/audit_log_entry.rb +0 -283
  830. data/lib/launchdarkly_api/models/audit_log_entry_target.rb +0 -204
  831. data/lib/launchdarkly_api/models/big_segment_target_changes.rb +0 -199
  832. data/lib/launchdarkly_api/models/big_segment_targets_body.rb +0 -193
  833. data/lib/launchdarkly_api/models/copy_actions.rb +0 -34
  834. data/lib/launchdarkly_api/models/custom_property_values.rb +0 -176
  835. data/lib/launchdarkly_api/models/custom_role_body.rb +0 -231
  836. data/lib/launchdarkly_api/models/dependent_flag__links.rb +0 -184
  837. data/lib/launchdarkly_api/models/dependent_flag_environment__links.rb +0 -193
  838. data/lib/launchdarkly_api/models/dependent_flags_links.rb +0 -193
  839. data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +0 -202
  840. data/lib/launchdarkly_api/models/destination_body.rb +0 -264
  841. data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +0 -193
  842. data/lib/launchdarkly_api/models/destination_m_particle.rb +0 -211
  843. data/lib/launchdarkly_api/models/destination_segment.rb +0 -184
  844. data/lib/launchdarkly_api/models/environment_approval_settings.rb +0 -272
  845. data/lib/launchdarkly_api/models/evaluation_usage_error.rb +0 -193
  846. data/lib/launchdarkly_api/models/events.rb +0 -184
  847. data/lib/launchdarkly_api/models/fallthrough.rb +0 -193
  848. data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +0 -227
  849. data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +0 -200
  850. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts.rb +0 -186
  851. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts_instructions.rb +0 -196
  852. data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +0 -237
  853. data/lib/launchdarkly_api/models/feature_flag_status_links.rb +0 -193
  854. data/lib/launchdarkly_api/models/flag_config_scheduled_changes_conflicts_body.rb +0 -194
  855. data/lib/launchdarkly_api/models/flag_config_scheduled_changes_patch_body.rb +0 -194
  856. data/lib/launchdarkly_api/models/flag_config_scheduled_changes_post_body.rb +0 -204
  857. data/lib/launchdarkly_api/models/flag_list_item.rb +0 -211
  858. data/lib/launchdarkly_api/models/hierarchical_links.rb +0 -193
  859. data/lib/launchdarkly_api/models/id.rb +0 -176
  860. data/lib/launchdarkly_api/models/integration_subscription.rb +0 -265
  861. data/lib/launchdarkly_api/models/integration_subscription__status.rb +0 -203
  862. data/lib/launchdarkly_api/models/links.rb +0 -193
  863. data/lib/launchdarkly_api/models/ma_uby_category.rb +0 -206
  864. data/lib/launchdarkly_api/models/mau.rb +0 -206
  865. data/lib/launchdarkly_api/models/mau_metadata.rb +0 -175
  866. data/lib/launchdarkly_api/models/member__last_seen_metadata.rb +0 -185
  867. data/lib/launchdarkly_api/models/members_body.rb +0 -238
  868. data/lib/launchdarkly_api/models/patch_comment.rb +0 -195
  869. data/lib/launchdarkly_api/models/policy.rb +0 -231
  870. data/lib/launchdarkly_api/models/project_body.rb +0 -243
  871. data/lib/launchdarkly_api/models/relay_proxy_config.rb +0 -289
  872. data/lib/launchdarkly_api/models/relay_proxy_config_body.rb +0 -196
  873. data/lib/launchdarkly_api/models/relay_proxy_configs.rb +0 -186
  874. data/lib/launchdarkly_api/models/role.rb +0 -32
  875. data/lib/launchdarkly_api/models/scheduled_changes_feature_flag_conflict.rb +0 -195
  876. data/lib/launchdarkly_api/models/semantic_patch_instruction.rb +0 -175
  877. data/lib/launchdarkly_api/models/semantic_patch_instruction_inner.rb +0 -185
  878. data/lib/launchdarkly_api/models/semantic_patch_operation.rb +0 -198
  879. data/lib/launchdarkly_api/models/site.rb +0 -193
  880. data/lib/launchdarkly_api/models/source.rb +0 -195
  881. data/lib/launchdarkly_api/models/stream.rb +0 -206
  882. data/lib/launchdarkly_api/models/stream_by_sdk.rb +0 -206
  883. data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +0 -193
  884. data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +0 -202
  885. data/lib/launchdarkly_api/models/stream_links.rb +0 -205
  886. data/lib/launchdarkly_api/models/stream_sdk_version.rb +0 -195
  887. data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +0 -195
  888. data/lib/launchdarkly_api/models/stream_usage_error.rb +0 -193
  889. data/lib/launchdarkly_api/models/stream_usage_links.rb +0 -205
  890. data/lib/launchdarkly_api/models/stream_usage_metadata.rb +0 -204
  891. data/lib/launchdarkly_api/models/stream_usage_series.rb +0 -195
  892. data/lib/launchdarkly_api/models/streams.rb +0 -184
  893. data/lib/launchdarkly_api/models/subscription_body.rb +0 -238
  894. data/lib/launchdarkly_api/models/token_body.rb +0 -238
  895. data/lib/launchdarkly_api/models/usage.rb +0 -195
  896. data/lib/launchdarkly_api/models/usage_error.rb +0 -184
  897. data/lib/launchdarkly_api/models/usage_links.rb +0 -205
  898. data/lib/launchdarkly_api/models/user_segment_body.rb +0 -237
  899. data/lib/launchdarkly_api/models/user_settings_body.rb +0 -185
  900. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +0 -241
  901. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +0 -195
  902. data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +0 -241
  903. data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +0 -195
  904. data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +0 -220
  905. data/lib/launchdarkly_api/models/webhook_body.rb +0 -263
  906. data/openapi.yml +0 -4922
  907. data/spec/api/customer_metrics_api_spec.rb +0 -141
  908. data/spec/api/integrations_api_spec.rb +0 -105
  909. data/spec/api/root_api_spec.rb +0 -45
  910. data/spec/api/team_members_api_spec.rb +0 -104
  911. data/spec/api/user_segments_api_spec.rb +0 -142
  912. data/spec/models/approval_request_apply_config_body_spec.rb +0 -41
  913. data/spec/models/approval_request_config_body_spec.rb +0 -71
  914. data/spec/models/approval_request_flag_config_copy_body_spec.rb +0 -71
  915. data/spec/models/approval_request_review_config_body_spec.rb +0 -51
  916. data/spec/models/approval_request_review_spec.rb +0 -59
  917. data/spec/models/approval_request_review_status_spec.rb +0 -35
  918. data/spec/models/approval_request_spec.rb +0 -123
  919. data/spec/models/approval_requests_spec.rb +0 -47
  920. data/spec/models/audit_log_entries_spec.rb +0 -47
  921. data/spec/models/audit_log_entry_spec.rb +0 -107
  922. data/spec/models/audit_log_entry_target_spec.rb +0 -53
  923. data/spec/models/big_segment_target_changes_spec.rb +0 -47
  924. data/spec/models/big_segment_targets_body_spec.rb +0 -47
  925. data/spec/models/copy_actions_spec.rb +0 -35
  926. data/spec/models/custom_property_values_spec.rb +0 -35
  927. data/spec/models/custom_role_body_spec.rb +0 -59
  928. data/spec/models/dependent_flag__links_spec.rb +0 -41
  929. data/spec/models/dependent_flag_environment__links_spec.rb +0 -47
  930. data/spec/models/dependent_flags_links_spec.rb +0 -47
  931. data/spec/models/destination_amazon_kinesis_spec.rb +0 -53
  932. data/spec/models/destination_body_spec.rb +0 -63
  933. data/spec/models/destination_google_pub_sub_spec.rb +0 -47
  934. data/spec/models/destination_m_particle_spec.rb +0 -59
  935. data/spec/models/destination_segment_spec.rb +0 -41
  936. data/spec/models/environment_approval_settings_spec.rb +0 -75
  937. data/spec/models/evaluation_usage_error_spec.rb +0 -47
  938. data/spec/models/events_spec.rb +0 -41
  939. data/spec/models/fallthrough_spec.rb +0 -47
  940. data/spec/models/feature_flag_copy_body_spec.rb +0 -65
  941. data/spec/models/feature_flag_copy_object_spec.rb +0 -47
  942. data/spec/models/feature_flag_scheduled_changes_conflicts_instructions_spec.rb +0 -47
  943. data/spec/models/feature_flag_scheduled_changes_conflicts_spec.rb +0 -41
  944. data/spec/models/feature_flag_status_for_queried_environment_spec.rb +0 -57
  945. data/spec/models/feature_flag_status_links_spec.rb +0 -47
  946. data/spec/models/flag_config_scheduled_changes_conflicts_body_spec.rb +0 -47
  947. data/spec/models/flag_config_scheduled_changes_patch_body_spec.rb +0 -47
  948. data/spec/models/flag_config_scheduled_changes_post_body_spec.rb +0 -53
  949. data/spec/models/flag_list_item_spec.rb +0 -59
  950. data/spec/models/hierarchical_links_spec.rb +0 -47
  951. data/spec/models/id_spec.rb +0 -35
  952. data/spec/models/integration_subscription__status_spec.rb +0 -53
  953. data/spec/models/integration_subscription_spec.rb +0 -89
  954. data/spec/models/links_spec.rb +0 -47
  955. data/spec/models/ma_uby_category_spec.rb +0 -53
  956. data/spec/models/mau_metadata_spec.rb +0 -35
  957. data/spec/models/mau_spec.rb +0 -53
  958. data/spec/models/member__last_seen_metadata_spec.rb +0 -41
  959. data/spec/models/members_body_spec.rb +0 -71
  960. data/spec/models/patch_comment_spec.rb +0 -47
  961. data/spec/models/policy_spec.rb +0 -65
  962. data/spec/models/project_body_spec.rb +0 -71
  963. data/spec/models/relay_proxy_config_body_spec.rb +0 -47
  964. data/spec/models/relay_proxy_config_spec.rb +0 -83
  965. data/spec/models/relay_proxy_configs_spec.rb +0 -41
  966. data/spec/models/role_spec.rb +0 -35
  967. data/spec/models/scheduled_changes_feature_flag_conflict_spec.rb +0 -47
  968. data/spec/models/semantic_patch_instruction_inner_spec.rb +0 -41
  969. data/spec/models/semantic_patch_instruction_spec.rb +0 -35
  970. data/spec/models/semantic_patch_operation_spec.rb +0 -47
  971. data/spec/models/site_spec.rb +0 -47
  972. data/spec/models/source_spec.rb +0 -47
  973. data/spec/models/stream_by_sdk_links_metadata_spec.rb +0 -53
  974. data/spec/models/stream_by_sdk_links_spec.rb +0 -47
  975. data/spec/models/stream_by_sdk_spec.rb +0 -53
  976. data/spec/models/stream_links_spec.rb +0 -53
  977. data/spec/models/stream_sdk_version_data_spec.rb +0 -47
  978. data/spec/models/stream_sdk_version_spec.rb +0 -47
  979. data/spec/models/stream_spec.rb +0 -53
  980. data/spec/models/stream_usage_error_spec.rb +0 -47
  981. data/spec/models/stream_usage_links_spec.rb +0 -53
  982. data/spec/models/stream_usage_metadata_spec.rb +0 -53
  983. data/spec/models/stream_usage_series_spec.rb +0 -47
  984. data/spec/models/streams_spec.rb +0 -41
  985. data/spec/models/subscription_body_spec.rb +0 -65
  986. data/spec/models/token_body_spec.rb +0 -71
  987. data/spec/models/usage_error_spec.rb +0 -41
  988. data/spec/models/usage_links_spec.rb +0 -53
  989. data/spec/models/usage_spec.rb +0 -47
  990. data/spec/models/user_segment_body_spec.rb +0 -65
  991. data/spec/models/user_settings_body_spec.rb +0 -41
  992. data/spec/models/user_targeting_expiration_for_flag_spec.rb +0 -77
  993. data/spec/models/user_targeting_expiration_for_flags_spec.rb +0 -47
  994. data/spec/models/user_targeting_expiration_for_segment_spec.rb +0 -77
  995. data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +0 -47
  996. data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +0 -65
  997. data/spec/models/webhook_body_spec.rb +0 -77
data/README.md CHANGED
@@ -1,19 +1,449 @@
1
1
  This repository contains a client library for LaunchDarkly's REST API. This client was automatically
2
- generated from our [OpenAPI specification](https://github.com/launchdarkly/ld-openapi).
3
-
4
- This REST API is for custom integrations, data export, or automating your feature flag workflows. *DO NOT* use this client library to include feature flags in your web or mobile application. To integrate feature flags with your application, please see the [SDK documentation](https://docs.launchdarkly.com/v2.0/docs)
2
+ generated from our [OpenAPI specification](https://app.launchdarkly.com/api/v2/openapi.json) using a [code generation library](https://github.com/launchdarkly/ld-openapi). View our [sample code](#sample-code) for example usage.
5
3
 
4
+ This REST API is for custom integrations, data export, or automating your feature flag workflows. *DO NOT* use this client library to include feature flags in your web or mobile application. To integrate feature flags with your application, read the [SDK documentation](https://docs.launchdarkly.com/sdk).
6
5
  # launchdarkly_api
7
6
 
8
7
  LaunchDarklyApi - the Ruby gem for the LaunchDarkly REST API
9
8
 
10
- Build custom integrations with the LaunchDarkly REST API
9
+ # Overview
10
+
11
+ ## Authentication
12
+
13
+ All REST API resources are authenticated with either [personal or service access tokens](https://docs.launchdarkly.com/home/account-security/api-access-tokens), or session cookies. Other authentication mechanisms are not supported. You can manage personal access tokens on your [Account settings](https://app.launchdarkly.com/settings/tokens) page.
14
+
15
+ LaunchDarkly also has SDK keys, mobile keys, and client-side IDs that are used by our server-side SDKs, mobile SDKs, and client-side SDKs, respectively. **These keys cannot be used to access our REST API**. These keys are environment-specific, and can only perform read-only operations (fetching feature flag settings).
16
+
17
+ | Auth mechanism | Allowed resources | Use cases |
18
+ | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
19
+ | [Personal access tokens](https://docs.launchdarkly.com/home/account-security/api-access-tokens) | Can be customized on a per-token basis | Building scripts, custom integrations, data export |
20
+ | SDK keys | Can only access read-only SDK-specific resources and the firehose, restricted to a single environment | Server-side SDKs, Firehose API |
21
+ | Mobile keys | Can only access read-only mobile SDK-specific resources, restricted to a single environment | Mobile SDKs |
22
+ | Client-side ID | Single environment, only flags marked available to client-side | Client-side JavaScript |
23
+
24
+ > #### Keep your access tokens and SDK keys private
25
+ >
26
+ > Access tokens should _never_ be exposed in untrusted contexts. Never put an access token in client-side JavaScript, or embed it in a mobile application. LaunchDarkly has special mobile keys that you can embed in mobile apps. If you accidentally expose an access token or SDK key, you can reset it from your [Account Settings](https://app.launchdarkly.com/settings#/tokens) page.
27
+ >
28
+ > The client-side ID is safe to embed in untrusted contexts. It's designed for use in client-side JavaScript.
29
+
30
+ ### Via request header
31
+
32
+ The preferred way to authenticate with the API is by adding an `Authorization` header containing your access token to your requests. The value of the `Authorization` header must be your access token.
33
+
34
+ Manage personal access tokens from the [Account Settings](https://app.launchdarkly.com/settings/tokens) page.
35
+
36
+ ### Via session cookie
37
+
38
+ For testing purposes, you can make API calls directly from your web browser. If you're logged in to the application, the API will use your existing session to authenticate calls.
39
+
40
+ If you have a [role](https://docs.launchdarkly.com/home/team/built-in-roles) other than Admin, or have a [custom role](https://docs.launchdarkly.com/home/team/custom-roles) defined, you may not have permission to perform some API calls. You will receive a `401` response code in that case.
41
+
42
+ > ### Modifying the Origin header causes an error
43
+ >
44
+ > LaunchDarkly validates that the Origin header for any API request authenticated by a session cookie matches the expected Origin header. The expected Origin header is `https://app.launchdarkly.com`.
45
+ >
46
+ > If the Origin header does not match what's expected, LaunchDarkly returns an error. This error can prevent the LaunchDarkly app from working correctly.
47
+ >
48
+ > Any browser extension that intentionally changes the Origin header can cause this problem. For example, the `Allow-Control-Allow-Origin: *` Chrome extension changes the Origin header to `http://evil.com` and causes the app to fail.
49
+ >
50
+ > To prevent this error, do not modify your Origin header.
51
+ >
52
+ > LaunchDarkly does not require origin matching when authenticating with an access token, so this issue does not affect normal API usage.
53
+
54
+ ## Representations
55
+
56
+ All resources expect and return JSON response bodies. Error responses will also send a JSON body. Read [Errors](#section/Errors) for a more detailed description of the error format used by the API.
57
+
58
+ In practice this means that you always get a response with a `Content-Type` header set to `application/json`.
59
+
60
+ In addition, request bodies for `PUT`, `POST`, `REPORT` and `PATCH` requests must be encoded as JSON with a `Content-Type` header set to `application/json`.
61
+
62
+ ### Summary and detailed representations
63
+
64
+ When you fetch a list of resources, the response includes only the most important attributes of each resource. This is a _summary representation_ of the resource. When you fetch an individual resource (for example, a single feature flag), you receive a _detailed representation_ containing all of the attributes of the resource.
65
+
66
+ The best way to find a detailed representation is to follow links. Every summary representation includes a link to its detailed representation.
67
+
68
+ ### Links and addressability
69
+
70
+ The best way to navigate the API is by following links. These are attributes in representations that link to other resources. The API always uses the same format for links:
71
+
72
+ - Links to other resources within the API are encapsulated in a `_links` object.
73
+ - If the resource has a corresponding link to HTML content on the site, it is stored in a special `_site` link.
74
+
75
+ Each link has two attributes: an href (the URL) and a type (the content type). For example, a feature resource might return the following:
76
+
77
+ ```json
78
+ {
79
+ \"_links\": {
80
+ \"parent\": {
81
+ \"href\": \"/api/features\",
82
+ \"type\": \"application/json\"
83
+ },
84
+ \"self\": {
85
+ \"href\": \"/api/features/sort.order\",
86
+ \"type\": \"application/json\"
87
+ }
88
+ },
89
+ \"_site\": {
90
+ \"href\": \"/features/sort.order\",
91
+ \"type\": \"text/html\"
92
+ }
93
+ }
94
+ ```
95
+
96
+ From this, you can navigate to the parent collection of features by following the `parent` link, or navigate to the site page for the feature by following the `_site` link.
97
+
98
+ Collections are always represented as a JSON object with an `items` attribute containing an array of representations. Like all other representations, collections have `_links` defined at the top level.
99
+
100
+ Paginated collections include `first`, `last`, `next`, and `prev` links containing a URL with the respective set of elements in the collection.
101
+
102
+ ## Updates
103
+
104
+ Resources that accept partial updates use the `PATCH` verb, and support the [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) format. Some resources also support the [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386) format. In addition, some resources support optional comments that can be submitted with updates. Comments appear in outgoing webhooks, the audit log, and other integrations.
105
+
106
+ ### Updates via JSON Patch
107
+
108
+ [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) is a way to specify the modifications to perform on a resource. For example, in this feature flag representation:
109
+
110
+ ```json
111
+ {
112
+ \"name\": \"New recommendations engine\",
113
+ \"key\": \"engine.enable\",
114
+ \"description\": \"This is the description\",
115
+ ...
116
+ }
117
+ ```
118
+
119
+ You can change the feature flag's description with the following patch document:
120
+
121
+ ```json
122
+ [{ \"op\": \"replace\", \"path\": \"/description\", \"value\": \"This is the new description\" }]
123
+ ```
124
+
125
+ JSON Patch documents are always arrays. You can specify multiple modifications to perform in a single request. You can also test that certain preconditions are met before applying the patch:
126
+
127
+ ```json
128
+ [
129
+ { \"op\": \"test\", \"path\": \"/version\", \"value\": 10 },
130
+ { \"op\": \"replace\", \"path\": \"/description\", \"value\": \"The new description\" }
131
+ ]
132
+ ```
133
+
134
+ The above patch request tests whether the feature flag's `version` is `10`, and if so, changes the feature flag's description.
135
+
136
+ Attributes that aren't editable, like a resource's `_links`, have names that start with an underscore.
137
+
138
+ ### Updates via JSON Merge Patch
139
+
140
+ The API also supports the [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386) format, as well as the [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag) resource.
141
+
142
+ JSON Merge Patch is less expressive than JSON Patch but in many cases, it is simpler to construct a merge patch document. For example, you can change a feature flag's description with the following merge patch document:
143
+
144
+ ```json
145
+ {
146
+ \"description\": \"New flag description\"
147
+ }
148
+ ```
149
+
150
+ ### Updates with comments
151
+
152
+ You can submit optional comments with `PATCH` changes. The [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag) resource supports comments.
153
+
154
+ To submit a comment along with a JSON Patch document, use the following format:
155
+
156
+ ```json
157
+ {
158
+ \"comment\": \"This is a comment string\",
159
+ \"patch\": [{ \"op\": \"replace\", \"path\": \"/description\", \"value\": \"The new description\" }]
160
+ }
161
+ ```
162
+
163
+ To submit a comment along with a JSON Merge Patch document, use the following format:
164
+
165
+ ```json
166
+ {
167
+ \"comment\": \"This is a comment string\",
168
+ \"merge\": { \"description\": \"New flag description\" }
169
+ }
170
+ ```
171
+
172
+ ### Updates via semantic patches
173
+
174
+ The API also supports the Semantic patch format. A semantic `PATCH` is a way to specify the modifications to perform on a resource as a set of executable instructions.
175
+
176
+ JSON Patch uses paths and a limited set of operations to describe how to transform the current state of the resource into a new state. Semantic patch allows you to be explicit about intent using precise, custom instructions. In many cases, semantic patch instructions can also be defined independently of the current state of the resource. This can be useful when defining a change that may be applied at a future date.
177
+
178
+ For example, in this feature flag configuration in environment Production:
179
+
180
+ ```json
181
+ {
182
+ \"name\": \"Alternate sort order\",
183
+ \"kind\": \"boolean\",
184
+ \"key\": \"sort.order\",
185
+ ...
186
+ \"environments\": {
187
+ \"production\": {
188
+ \"on\": true,
189
+ \"archived\": false,
190
+ \"salt\": \"c29ydC5vcmRlcg==\",
191
+ \"sel\": \"8de1085cb7354b0ab41c0e778376dfd3\",
192
+ \"lastModified\": 1469131558260,
193
+ \"version\": 81,
194
+ \"targets\": [
195
+ {
196
+ \"values\": [
197
+ \"Gerhard.Little@yahoo.com\"
198
+ ],
199
+ \"variation\": 0
200
+ },
201
+ {
202
+ \"values\": [
203
+ \"1461797806429-33-861961230\",
204
+ \"438580d8-02ee-418d-9eec-0085cab2bdf0\"
205
+ ],
206
+ \"variation\": 1
207
+ }
208
+ ],
209
+ \"rules\": [],
210
+ \"fallthrough\": {
211
+ \"variation\": 0
212
+ },
213
+ \"offVariation\": 1,
214
+ \"prerequisites\": [],
215
+ \"_site\": {
216
+ \"href\": \"/default/production/features/sort.order\",
217
+ \"type\": \"text/html\"
218
+ }
219
+ }
220
+ }
221
+ }
222
+ ```
223
+
224
+ You can add a date you want a user to be removed from the feature flag's user targets. For example, “remove user 1461797806429-33-861961230 from the user target for variation 0 on the Alternate sort order flag in the production environment on Wed Jul 08 2020 at 15:27:41 pm”. This is done using the following:
225
+
226
+ ```json
227
+ {
228
+ \"comment\": \"update expiring user targets\",
229
+ \"instructions\": [
230
+ {
231
+ \"kind\": \"removeExpireUserTargetDate\",
232
+ \"userKey\": \"userKey\",
233
+ \"variationId\": \"978d53f9-7fe3-4a63-992d-97bcb4535dc8\"
234
+ },
235
+ {
236
+ \"kind\": \"updateExpireUserTargetDate\",
237
+ \"userKey\": \"userKey2\",
238
+ \"variationId\": \"978d53f9-7fe3-4a63-992d-97bcb4535dc8\",
239
+ \"value\": 1587582000000
240
+ },
241
+ {
242
+ \"kind\": \"addExpireUserTargetDate\",
243
+ \"userKey\": \"userKey3\",
244
+ \"variationId\": \"978d53f9-7fe3-4a63-992d-97bcb4535dc8\",
245
+ \"value\": 1594247266386
246
+ }
247
+ ]
248
+ }
249
+ ```
250
+
251
+ Here is another example. In this feature flag configuration:
252
+
253
+ ```json
254
+ {
255
+ \"name\": \"New recommendations engine\",
256
+ \"key\": \"engine.enable\",
257
+ \"environments\": {
258
+ \"test\": {
259
+ \"on\": true
260
+ }
261
+ }
262
+ }
263
+ ```
264
+
265
+ You can change the feature flag's description with the following patch document as a set of executable instructions. For example, “add user X to targets for variation Y and remove user A from targets for variation B for test flag”:
266
+
267
+ ```json
268
+ {
269
+ \"comment\": \"\",
270
+ \"instructions\": [
271
+ {
272
+ \"kind\": \"removeUserTargets\",
273
+ \"values\": [\"438580d8-02ee-418d-9eec-0085cab2bdf0\"],
274
+ \"variationId\": \"852cb784-54ff-46b9-8c35-5498d2e4f270\"
275
+ },
276
+ {
277
+ \"kind\": \"addUserTargets\",
278
+ \"values\": [\"438580d8-02ee-418d-9eec-0085cab2bdf0\"],
279
+ \"variationId\": \"1bb18465-33b6-49aa-a3bd-eeb6650b33ad\"
280
+ }
281
+ ]
282
+ }
283
+ ```
284
+
285
+ > ### Supported semantic patch API endpoints
286
+ >
287
+ > - [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag)
288
+ > - [Update expiring user targets on feature flag](/tag/Feature-flags#operation/patchExpiringUserTargets)
289
+ > - [Update expiring user target for flags](/tag/User-settings#operation/patchExpiringFlagsForUser)
290
+ > - [Update expiring user targets on segment](/tag/Segments#operation/patchExpiringUserTargetsForSegment)
291
+
292
+ ## Errors
293
+
294
+ The API always returns errors in a common format. Here's an example:
295
+
296
+ ```json
297
+ {
298
+ \"code\": \"invalid_request\",
299
+ \"message\": \"A feature with that key already exists\",
300
+ \"id\": \"30ce6058-87da-11e4-b116-123b93f75cba\"
301
+ }
302
+ ```
303
+
304
+ The general class of error is indicated by the `code`. The `message` is a human-readable explanation of what went wrong. The `id` is a unique identifier. Use it when you're working with LaunchDarkly support to debug a problem with a specific API call.
305
+
306
+ ### HTTP Status - Error Response Codes
307
+
308
+ | Code | Definition | Desc. | Possible Solution |
309
+ | ---- | ----------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
310
+ | 400 | Bad Request | A request that fails may return this HTTP response code. | Ensure JSON syntax in request body is correct. |
311
+ | 401 | Unauthorized | User doesn't have permission to an API call. | Ensure your SDK key is good. |
312
+ | 403 | Forbidden | User does not have permission for operation. | Ensure that the user or access token has proper permissions set. |
313
+ | 409 | Conflict | The API request could not be completed because it conflicted with a concurrent API request. | Retry your request. |
314
+ | 429 | Too many requests | See [Rate limiting](/#section/Rate-limiting). | Wait and try again later. |
315
+
316
+ ## CORS
11
317
 
12
- This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
318
+ The LaunchDarkly API supports Cross Origin Resource Sharing (CORS) for AJAX requests from any origin. If an `Origin` header is given in a request, it will be echoed as an explicitly allowed origin. Otherwise, a wildcard is returned: `Access-Control-Allow-Origin: *`. For more information on CORS, see the [CORS W3C Recommendation](http://www.w3.org/TR/cors). Example CORS headers might look like:
13
319
 
14
- - API version: 5.4.0
15
- - Package version: 5.4.0
16
- - Build package: io.swagger.codegen.languages.RubyClientCodegen
320
+ ```http
321
+ Access-Control-Allow-Headers: Accept, Content-Type, Content-Length, Accept-Encoding, Authorization
322
+ Access-Control-Allow-Methods: OPTIONS, GET, DELETE, PATCH
323
+ Access-Control-Allow-Origin: *
324
+ Access-Control-Max-Age: 300
325
+ ```
326
+
327
+ You can make authenticated CORS calls just as you would make same-origin calls, using either [token or session-based authentication](#section/Authentication). If you’re using session auth, you should set the `withCredentials` property for your `xhr` request to `true`. You should never expose your access tokens to untrusted users.
328
+
329
+ ## Rate limiting
330
+
331
+ We use several rate limiting strategies to ensure the availability of our APIs. Rate-limited calls to our APIs will return a `429` status code. Calls to our APIs will include headers indicating the current rate limit status. The specific headers returned depend on the API route being called. The limits differ based on the route, authentication mechanism, and other factors. Routes that are not rate limited may not contain any of the headers described below.
332
+
333
+ > ### Rate limiting and SDKs
334
+ >
335
+ > LaunchDarkly SDKs are never rate limited and do not use the API endpoints defined here. LaunchDarkly uses a different set of approaches, including streaming/server-sent events and a global CDN, to ensure availability to the routes used by LaunchDarkly SDKs.
336
+ >
337
+ > The client-side ID is safe to embed in untrusted contexts. It's designed for use in client-side JavaScript.
338
+
339
+ ### Global rate limits
340
+
341
+ Authenticated requests are subject to a global limit. This is the maximum number of calls that can be made to the API per ten seconds. All personal access tokens on the account share this limit, so exceeding the limit with one access token will impact other tokens. Calls that are subject to global rate limits will return the headers below:
342
+
343
+ | Header name | Description |
344
+ | ------------------------------ | -------------------------------------------------------------------------------- |
345
+ | `X-Ratelimit-Global-Remaining` | The maximum number of requests the account is permitted to make per ten seconds. |
346
+ | `X-Ratelimit-Reset` | The time at which the current rate limit window resets in epoch milliseconds. |
347
+
348
+ We do not publicly document the specific number of calls that can be made globally. This limit may change, and we encourage clients to program against the specification, relying on the two headers defined above, rather than hardcoding to the current limit.
349
+
350
+ ### Route-level rate limits
351
+
352
+ Some authenticated routes have custom rate limits. These also reset every ten seconds. Any access tokens hitting the same route share this limit, so exceeding the limit with one access token may impact other tokens. Calls that are subject to route-level rate limits will return the headers below:
353
+
354
+ | Header name | Description |
355
+ | ----------------------------- | ----------------------------------------------------------------------------------------------------- |
356
+ | `X-Ratelimit-Route-Remaining` | The maximum number of requests to the current route the account is permitted to make per ten seconds. |
357
+ | `X-Ratelimit-Reset` | The time at which the current rate limit window resets in epoch milliseconds. |
358
+
359
+ A _route_ represents a specific URL pattern and verb. For example, the [Delete environment](/tag/Environments#operation/deleteEnvironment) endpoint is considered a single route, and each call to delete an environment counts against your route-level rate limit for that route.
360
+
361
+ We do not publicly document the specific number of calls that can be made to each endpoint per ten seconds. These limits may change, and we encourage clients to program against the specification, relying on the two headers defined above, rather than hardcoding to the current limits.
362
+
363
+ ### IP-based rate limiting
364
+
365
+ We also employ IP-based rate limiting on some API routes. If you hit an IP-based rate limit, your API response will include a `Retry-After` header indicating how long to wait before re-trying the call. Clients must wait at least `Retry-After` seconds before making additional calls to our API, and should employ jitter and backoff strategies to avoid triggering rate limits again.
366
+
367
+ ## OpenAPI (Swagger)
368
+
369
+ We have a [complete OpenAPI (Swagger) specification](https://app.launchdarkly.com/api/v2/openapi.json) for our API.
370
+
371
+ You can use this specification to generate client libraries to interact with our REST API in your language of choice.
372
+
373
+ This specification is supported by several API-based tools such as Postman and Insomnia. In many cases, you can directly import our specification to ease use in navigating the APIs in the tooling.
374
+
375
+ ## Client libraries
376
+
377
+ We auto-generate multiple client libraries based on our OpenAPI specification. To learn more, visit [GitHub](https://github.com/search?q=topic%3Alaunchdarkly-api+org%3Alaunchdarkly&type=Repositories).
378
+
379
+ ## Method Overriding
380
+
381
+ Some firewalls and HTTP clients restrict the use of verbs other than `GET` and `POST`. In those environments, our API endpoints that use `PUT`, `PATCH`, and `DELETE` verbs will be inaccessible.
382
+
383
+ To avoid this issue, our API supports the `X-HTTP-Method-Override` header, allowing clients to \"tunnel\" `PUT`, `PATCH`, and `DELETE` requests via a `POST` request.
384
+
385
+ For example, if you wish to call one of our `PATCH` resources via a `POST` request, you can include `X-HTTP-Method-Override:PATCH` as a header.
386
+
387
+ ## Beta resources
388
+
389
+ We sometimes release new API resources in **beta** status before we release them with general availability.
390
+
391
+ Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
392
+
393
+ We try to promote resources into general availability as quickly as possible. This happens after sufficient testing and when we're satisfied that we no longer need to make backwards-incompatible changes.
394
+
395
+ We mark beta resources with a \"Beta\" callout in our documentation, pictured below:
396
+
397
+ > ### This feature is in beta
398
+ >
399
+ > To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](/#section/Beta-resources).
400
+
401
+ ### Using beta resources
402
+
403
+ To use a beta resource, you must include a header in the request. If you call a beta resource without this header, you'll receive a `403` response.
404
+
405
+ Use this header:
406
+
407
+ ```
408
+ LD-API-Version: beta
409
+ ```
410
+
411
+ ## Versioning
412
+
413
+ We try hard to keep our REST API backwards compatible, but we occasionally have to make backwards-incompatible changes in the process of shipping new features. These breaking changes can cause unexpected behavior if you don't prepare for them accordingly.
414
+
415
+ Updates to our REST API include support for the latest features in LaunchDarkly. We also release a new version of our REST API every time we make a breaking change. We provide simultaneous support for multiple API versions so you can migrate from your current API version to a new version at your own pace.
416
+
417
+ ### Setting the API version per request
418
+
419
+ You can set the API version on a specific request by sending an `LD-API-Version` header, as shown in the example below:
420
+
421
+ ```
422
+ LD-API-Version: 20191212
423
+ ```
424
+
425
+ The header value is the version number of the API version you'd like to request. The number for each version corresponds to the date the version was released. In the example above the version `20191212` corresponds to December 12, 2019.
426
+
427
+ ### Setting the API version per access token
428
+
429
+ When creating an access token, you must specify a specific version of the API to use. This ensures that integrations using this token cannot be broken by version changes.
430
+
431
+ Tokens created before versioning was released have their version set to `20160426` (the version of the API that existed before versioning) so that they continue working the same way they did before versioning.
432
+
433
+ If you would like to upgrade your integration to use a new API version, you can explicitly set the header described above.
434
+
435
+ > ### Best practice: Set the header for every client or integration
436
+ >
437
+ > We recommend that you set the API version header explicitly in any client or integration you build.
438
+ >
439
+ > Only rely on the access token API version during manual testing.
440
+
441
+
442
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
443
+
444
+ - API version: 2.0
445
+ - Package version: 7.1.0
446
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
17
447
  For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
18
448
 
19
449
  ## Installation
@@ -29,21 +459,22 @@ gem build launchdarkly_api.gemspec
29
459
  Then either install the gem locally:
30
460
 
31
461
  ```shell
32
- gem install ./launchdarkly_api-5.4.0.gem
462
+ gem install ./launchdarkly_api-7.1.0.gem
33
463
  ```
34
- (for development, run `gem install --dev ./launchdarkly_api-5.4.0.gem` to install the development dependencies)
464
+
465
+ (for development, run `gem install --dev ./launchdarkly_api-7.1.0.gem` to install the development dependencies)
35
466
 
36
467
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
37
468
 
38
469
  Finally add this to the Gemfile:
39
470
 
40
- gem 'launchdarkly_api', '~> 5.4.0'
471
+ gem 'launchdarkly_api', '~> 7.1.0'
41
472
 
42
473
  ### Install from Git
43
474
 
44
- If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
475
+ If the Ruby gem is hosted at a git repository: https://github.com/launchdarkly/api-client-ruby, then add the following in the Gemfile:
45
476
 
46
- gem 'launchdarkly_api', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
477
+ gem 'launchdarkly_api', :git => 'https://github.com/launchdarkly/api-client-ruby.git'
47
478
 
48
479
  ### Include the Ruby code directly
49
480
 
@@ -55,271 +486,417 @@ ruby -Ilib script.rb
55
486
 
56
487
  ## Getting Started
57
488
 
58
- Please follow the [installation](#installation) procedure and see the [sample code](#sample%20code) below.
489
+ Please follow the [installation](#installation) procedure and then run the following code:
490
+
491
+ ```ruby
492
+ # Load the gem
493
+ require 'launchdarkly_api'
494
+
495
+ # Setup authorization
496
+ LaunchDarklyApi.configure do |config|
497
+ # Configure API key authorization: ApiKey
498
+ config.api_key['ApiKey'] = 'YOUR API KEY'
499
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
500
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
501
+ end
502
+
503
+ api_instance = LaunchDarklyApi::AccessTokensApi.new
504
+ id = 'id_example' # String | The ID of the access token to update
505
+
506
+ begin
507
+ #Delete access token
508
+ api_instance.delete_token(id)
509
+ rescue LaunchDarklyApi::ApiError => e
510
+ puts "Exception when calling AccessTokensApi->delete_token: #{e}"
511
+ end
512
+
513
+ ```
59
514
 
60
515
  ## Documentation for API Endpoints
61
516
 
62
- All URIs are relative to *https://app.launchdarkly.com/api/v2*
517
+ All URIs are relative to *https://app.launchdarkly.com*
63
518
 
64
519
  Class | Method | HTTP request | Description
65
520
  ------------ | ------------- | ------------- | -------------
66
- *LaunchDarklyApi::AccessTokensApi* | [**delete_token**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AccessTokensApi.md#delete_token) | **DELETE** /tokens/{tokenId} | Delete an access token by ID.
67
- *LaunchDarklyApi::AccessTokensApi* | [**get_token**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AccessTokensApi.md#get_token) | **GET** /tokens/{tokenId} | Get a single access token by ID.
68
- *LaunchDarklyApi::AccessTokensApi* | [**get_tokens**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AccessTokensApi.md#get_tokens) | **GET** /tokens | Returns a list of tokens in the account.
69
- *LaunchDarklyApi::AccessTokensApi* | [**patch_token**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access token by ID.
70
- *LaunchDarklyApi::AccessTokensApi* | [**post_token**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AccessTokensApi.md#post_token) | **POST** /tokens | Create a new token.
71
- *LaunchDarklyApi::AccessTokensApi* | [**reset_token**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AccessTokensApi.md#reset_token) | **POST** /tokens/{tokenId}/reset | Reset an access token's secret key with an optional expiry time for the old key.
72
- *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
73
- *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
74
- *LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
75
- *LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
76
- *LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
77
- *LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
78
- *LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
79
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_evaluations**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_evaluations) | **GET** /usage/evaluations/{envId}/{flagKey} | Get events usage by event id and the feature flag key.
80
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_event**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_event) | **GET** /usage/events/{type} | Get events usage by event type.
81
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_events**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_events) | **GET** /usage/events | Get events usage endpoints.
82
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_mau**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_mau) | **GET** /usage/mau | Get monthly active user data.
83
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_mau_by_category**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_mau_by_category) | **GET** /usage/mau/bycategory | Get monthly active user data by category.
84
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_stream) | **GET** /usage/streams/{source} | Get a stream endpoint and return timeseries data.
85
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_by_sdk**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_stream_by_sdk) | **GET** /usage/streams/{source}/bysdkversion | Get a stream timeseries data by source show sdk version metadata.
86
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_sdk_version**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
87
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_streams**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_streams) | **GET** /usage/streams | Returns a list of all streams.
88
- *LaunchDarklyApi::CustomerMetricsApi* | [**get_usage**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomerMetricsApi.md#get_usage) | **GET** /usage | Returns of the usage endpoints available.
89
- *LaunchDarklyApi::DataExportDestinationsApi* | [**delete_destination**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DataExportDestinationsApi.md#delete_destination) | **DELETE** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
90
- *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destination**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DataExportDestinationsApi.md#get_destination) | **GET** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
91
- *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destinations**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DataExportDestinationsApi.md#get_destinations) | **GET** /destinations | Returns a list of all data export destinations.
92
- *LaunchDarklyApi::DataExportDestinationsApi* | [**patch_destination**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DataExportDestinationsApi.md#patch_destination) | **PATCH** /destinations/{projectKey}/{environmentKey}/{destinationId} | Perform a partial update to a data export destination.
93
- *LaunchDarklyApi::DataExportDestinationsApi* | [**post_destination**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DataExportDestinationsApi.md#post_destination) | **POST** /destinations/{projectKey}/{environmentKey} | Create a new data export destination
94
- *LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentsApi.md#delete_environment) | **DELETE** /projects/{projectKey}/environments/{environmentKey} | Delete an environment in a specific project.
95
- *LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
96
- *LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID. If you try to patch the environment by setting both required and requiredApprovalTags, it will result in an error. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates with either mechanism.
97
- *LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
98
- *LaunchDarklyApi::EnvironmentsApi* | [**reset_environment_mobile_key**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.
99
- *LaunchDarklyApi::EnvironmentsApi* | [**reset_environment_sdk_key**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentsApi.md#reset_environment_sdk_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/apiKey | Reset an environment's SDK key with an optional expiry time for the old key.
100
- *LaunchDarklyApi::FeatureFlagsApi* | [**copy_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
101
- *LaunchDarklyApi::FeatureFlagsApi* | [**delete_approval_request**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#delete_approval_request) | **DELETE** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId} | Delete an approval request for a feature flag config
102
- *LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
103
- *LaunchDarklyApi::FeatureFlagsApi* | [**delete_flag_config_scheduled_changes**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#delete_flag_config_scheduled_changes) | **DELETE** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId} | Delete a scheduled change on a feature flag in an environment.
104
- *LaunchDarklyApi::FeatureFlagsApi* | [**flags_project_key_environment_key_feature_flag_key_dependent_flags_get**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#flags_project_key_environment_key_feature_flag_key_dependent_flags_get) | **GET** /flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags | Get dependent flags for the flag in the environment specified in path parameters
105
- *LaunchDarklyApi::FeatureFlagsApi* | [**flags_project_key_feature_flag_key_dependent_flags_get**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#flags_project_key_feature_flag_key_dependent_flags_get) | **GET** /flags/{projectKey}/{featureFlagKey}/dependent-flags | Get dependent flags across all environments for the flag specified in the path parameters
106
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_approval_request**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_approval_request) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId} | Get a single approval request for a feature flag config
107
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_approval_requests**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_approval_requests) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Get all approval requests for a feature flag config
108
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_expiring_user_targets**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
109
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
110
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/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_status_across_environments**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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
112
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
113
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
114
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_flag_config_scheduled_change**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_flag_config_scheduled_change) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId} | Get a scheduled change on a feature flag by id.
115
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_flag_config_scheduled_changes**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_flag_config_scheduled_changes) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes | Get all scheduled workflows for a feature flag by key.
116
- *LaunchDarklyApi::FeatureFlagsApi* | [**get_flag_config_scheduled_changes_conflicts**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#get_flag_config_scheduled_changes_conflicts) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes-conflicts | Lists conflicts between the given instructions and any existing scheduled changes for the feature flag. The actual HTTP verb should be REPORT, not POST.
117
- *LaunchDarklyApi::FeatureFlagsApi* | [**patch_expiring_user_targets**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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
118
- *LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
119
- *LaunchDarklyApi::FeatureFlagsApi* | [**patch_flag_config_scheduled_change**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#patch_flag_config_scheduled_change) | **PATCH** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId} | Updates an existing scheduled-change on a feature flag in an environment.
120
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_apply_approval_request**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#post_apply_approval_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/apply | Apply approval request for a feature flag config
121
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_approval_request**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#post_approval_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId} | Create an approval request for a feature flag config
122
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_approval_request_flag_copy**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#post_approval_request_flag_copy) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy | Create an approval request to copy feature flag config
123
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
124
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_flag_config_scheduled_changes**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#post_flag_config_scheduled_changes) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes | Creates a new scheduled change for a feature flag.
125
- *LaunchDarklyApi::FeatureFlagsApi* | [**post_review_approval_request**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagsApi.md#post_review_approval_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/review | Review approval request for a feature flag config
126
- *LaunchDarklyApi::IntegrationsApi* | [**delete_integration_subscription**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationsApi.md#delete_integration_subscription) | **DELETE** /integrations/{integrationKey}/{integrationId} | Delete an integration subscription by ID.
127
- *LaunchDarklyApi::IntegrationsApi* | [**get_integration_subscription**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationsApi.md#get_integration_subscription) | **GET** /integrations/{integrationKey}/{integrationId} | Get a single integration subscription by ID.
128
- *LaunchDarklyApi::IntegrationsApi* | [**get_integration_subscriptions**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationsApi.md#get_integration_subscriptions) | **GET** /integrations/{integrationKey} | Get a list of all configured integrations of a given kind.
129
- *LaunchDarklyApi::IntegrationsApi* | [**get_integrations**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationsApi.md#get_integrations) | **GET** /integrations | Get a list of all configured audit log event integrations associated with this account.
130
- *LaunchDarklyApi::IntegrationsApi* | [**patch_integration_subscription**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationsApi.md#patch_integration_subscription) | **PATCH** /integrations/{integrationKey}/{integrationId} | Modify an integration subscription by ID.
131
- *LaunchDarklyApi::IntegrationsApi* | [**post_integration_subscription**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationsApi.md#post_integration_subscription) | **POST** /integrations/{integrationKey} | Create a new integration subscription of a given kind.
132
- *LaunchDarklyApi::ProjectsApi* | [**delete_project**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
133
- *LaunchDarklyApi::ProjectsApi* | [**get_project**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ProjectsApi.md#get_project) | **GET** /projects/{projectKey} | Fetch a single project by key.
134
- *LaunchDarklyApi::ProjectsApi* | [**get_projects**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
135
- *LaunchDarklyApi::ProjectsApi* | [**patch_project**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
136
- *LaunchDarklyApi::ProjectsApi* | [**post_project**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
137
- *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**delete_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigurationsApi.md#delete_relay_proxy_config) | **DELETE** /account/relay-auto-configs/{id} | Delete a relay proxy configuration by ID.
138
- *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**get_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigurationsApi.md#get_relay_proxy_config) | **GET** /account/relay-auto-configs/{id} | Get a single relay proxy configuration by ID.
139
- *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**get_relay_proxy_configs**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigurationsApi.md#get_relay_proxy_configs) | **GET** /account/relay-auto-configs | Returns a list of relay proxy configurations in the account.
140
- *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**patch_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigurationsApi.md#patch_relay_proxy_config) | **PATCH** /account/relay-auto-configs/{id} | Modify a relay proxy configuration by ID.
141
- *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**post_relay_auto_config**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigurationsApi.md#post_relay_auto_config) | **POST** /account/relay-auto-configs | Create a new relay proxy config.
142
- *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**reset_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigurationsApi.md#reset_relay_proxy_config) | **POST** /account/relay-auto-configs/{id}/reset | Reset a relay proxy configuration's secret key with an optional expiry time for the old key.
143
- *LaunchDarklyApi::RootApi* | [**get_root**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RootApi.md#get_root) | **GET** / |
144
- *LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
145
- *LaunchDarklyApi::TeamMembersApi* | [**get_me**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TeamMembersApi.md#get_me) | **GET** /members/me | Get the current team member associated with the token
146
- *LaunchDarklyApi::TeamMembersApi* | [**get_member**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
147
- *LaunchDarklyApi::TeamMembersApi* | [**get_members**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
148
- *LaunchDarklyApi::TeamMembersApi* | [**patch_member**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
149
- *LaunchDarklyApi::TeamMembersApi* | [**post_members**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
150
- *LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
151
- *LaunchDarklyApi::UserSegmentsApi* | [**get_expiring_user_targets_on_segment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#get_expiring_user_targets_on_segment) | **GET** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for user segment
152
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
153
- *LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
154
- *LaunchDarklyApi::UserSegmentsApi* | [**patch_expiring_user_targets_on_segment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#patch_expiring_user_targets_on_segment) | **PATCH** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on user segment
155
- *LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
156
- *LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
157
- *LaunchDarklyApi::UserSegmentsApi* | [**update_big_segment_targets**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentsApi.md#update_big_segment_targets) | **POST** /segments/{projectKey}/{environmentKey}/{userSegmentKey}/users | Update targets included or excluded in a big segment
158
- *LaunchDarklyApi::UserSettingsApi* | [**get_expiring_user_targets_for_user**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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
159
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
160
- *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
161
- *LaunchDarklyApi::UserSettingsApi* | [**patch_expiring_user_targets_for_flags**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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
162
- *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
163
- *LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
164
- *LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
165
- *LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
166
- *LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.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.
167
- *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
168
- *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
169
- *LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
170
- *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
171
- *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
521
+ *LaunchDarklyApi::AccessTokensApi* | [**delete_token**](docs/AccessTokensApi.md#delete_token) | **DELETE** /api/v2/tokens/{id} | Delete access token
522
+ *LaunchDarklyApi::AccessTokensApi* | [**get_token**](docs/AccessTokensApi.md#get_token) | **GET** /api/v2/tokens/{id} | Get access token
523
+ *LaunchDarklyApi::AccessTokensApi* | [**get_tokens**](docs/AccessTokensApi.md#get_tokens) | **GET** /api/v2/tokens | List access tokens
524
+ *LaunchDarklyApi::AccessTokensApi* | [**patch_token**](docs/AccessTokensApi.md#patch_token) | **PATCH** /api/v2/tokens/{id} | Patch access token
525
+ *LaunchDarklyApi::AccessTokensApi* | [**post_token**](docs/AccessTokensApi.md#post_token) | **POST** /api/v2/tokens | Create access token
526
+ *LaunchDarklyApi::AccessTokensApi* | [**reset_token**](docs/AccessTokensApi.md#reset_token) | **POST** /api/v2/tokens/{id}/reset | Reset access token
527
+ *LaunchDarklyApi::AccountMembersApi* | [**delete_member**](docs/AccountMembersApi.md#delete_member) | **DELETE** /api/v2/members/{id} | Delete account member
528
+ *LaunchDarklyApi::AccountMembersApi* | [**get_member**](docs/AccountMembersApi.md#get_member) | **GET** /api/v2/members/{id} | Get account member
529
+ *LaunchDarklyApi::AccountMembersApi* | [**get_members**](docs/AccountMembersApi.md#get_members) | **GET** /api/v2/members | List account members
530
+ *LaunchDarklyApi::AccountMembersApi* | [**patch_member**](docs/AccountMembersApi.md#patch_member) | **PATCH** /api/v2/members/{id} | Modify an account member
531
+ *LaunchDarklyApi::AccountMembersApi* | [**post_member_teams**](docs/AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add member to teams
532
+ *LaunchDarklyApi::AccountMembersApi* | [**post_members**](docs/AccountMembersApi.md#post_members) | **POST** /api/v2/members | Invite new members
533
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_evaluations_usage**](docs/AccountUsageBetaApi.md#get_evaluations_usage) | **GET** /api/v2/usage/evaluations/{projKey}/{envKey}/{flagKey} | Get evaluations usage
534
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_events_usage**](docs/AccountUsageBetaApi.md#get_events_usage) | **GET** /api/v2/usage/events/{type} | Get events usage
535
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_mau_sdks_by_type**](docs/AccountUsageBetaApi.md#get_mau_sdks_by_type) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type
536
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_mau_usage**](docs/AccountUsageBetaApi.md#get_mau_usage) | **GET** /api/v2/usage/mau | Get MAU usage
537
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_mau_usage_by_category**](docs/AccountUsageBetaApi.md#get_mau_usage_by_category) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
538
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_stream_usage**](docs/AccountUsageBetaApi.md#get_stream_usage) | **GET** /api/v2/usage/streams/{source} | Get stream usage
539
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_stream_usage_by_sdk_version**](docs/AccountUsageBetaApi.md#get_stream_usage_by_sdk_version) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version
540
+ *LaunchDarklyApi::AccountUsageBetaApi* | [**get_stream_usage_sdkversion**](docs/AccountUsageBetaApi.md#get_stream_usage_sdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions
541
+ *LaunchDarklyApi::ApprovalsApi* | [**delete_approval_request**](docs/ApprovalsApi.md#delete_approval_request) | **DELETE** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} | Delete approval request
542
+ *LaunchDarklyApi::ApprovalsApi* | [**get_approval**](docs/ApprovalsApi.md#get_approval) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} | Get approval request
543
+ *LaunchDarklyApi::ApprovalsApi* | [**get_approvals**](docs/ApprovalsApi.md#get_approvals) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | List all approval requests
544
+ *LaunchDarklyApi::ApprovalsApi* | [**post_approval_request**](docs/ApprovalsApi.md#post_approval_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Create approval request
545
+ *LaunchDarklyApi::ApprovalsApi* | [**post_approval_request_apply_request**](docs/ApprovalsApi.md#post_approval_request_apply_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply | Apply approval request
546
+ *LaunchDarklyApi::ApprovalsApi* | [**post_approval_request_review**](docs/ApprovalsApi.md#post_approval_request_review) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews | Review approval request
547
+ *LaunchDarklyApi::ApprovalsApi* | [**post_flag_copy_config_approval_request**](docs/ApprovalsApi.md#post_flag_copy_config_approval_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy | Create approval request to copy flag configurations across environments
548
+ *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](docs/AuditLogApi.md#get_audit_log_entries) | **GET** /api/v2/auditlog | List audit log feature flag entries
549
+ *LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](docs/AuditLogApi.md#get_audit_log_entry) | **GET** /api/v2/auditlog/{id} | Get audit log entry
550
+ *LaunchDarklyApi::CodeReferencesApi* | [**delete_branches**](docs/CodeReferencesApi.md#delete_branches) | **POST** /api/v2/code-refs/repositories/{repo}/branch-delete-tasks | Delete branches
551
+ *LaunchDarklyApi::CodeReferencesApi* | [**delete_repository**](docs/CodeReferencesApi.md#delete_repository) | **DELETE** /api/v2/code-refs/repositories/{repo} | Delete repository
552
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_branch**](docs/CodeReferencesApi.md#get_branch) | **GET** /api/v2/code-refs/repositories/{repo}/branches/{branch} | Get branch
553
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_branches**](docs/CodeReferencesApi.md#get_branches) | **GET** /api/v2/code-refs/repositories/{repo}/branches | List branches
554
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_extinctions**](docs/CodeReferencesApi.md#get_extinctions) | **GET** /api/v2/code-refs/extinctions | List extinctions
555
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_repositories**](docs/CodeReferencesApi.md#get_repositories) | **GET** /api/v2/code-refs/repositories | List repositories
556
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_repository**](docs/CodeReferencesApi.md#get_repository) | **GET** /api/v2/code-refs/repositories/{repo} | Get repository
557
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_root_statistic**](docs/CodeReferencesApi.md#get_root_statistic) | **GET** /api/v2/code-refs/statistics | Get links to code reference repositories for each project
558
+ *LaunchDarklyApi::CodeReferencesApi* | [**get_statistics**](docs/CodeReferencesApi.md#get_statistics) | **GET** /api/v2/code-refs/statistics/{projKey} | Get number of code references for flags
559
+ *LaunchDarklyApi::CodeReferencesApi* | [**patch_repository**](docs/CodeReferencesApi.md#patch_repository) | **PATCH** /api/v2/code-refs/repositories/{repo} | Update repository
560
+ *LaunchDarklyApi::CodeReferencesApi* | [**post_extinction**](docs/CodeReferencesApi.md#post_extinction) | **POST** /api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events | Create extinction
561
+ *LaunchDarklyApi::CodeReferencesApi* | [**post_repository**](docs/CodeReferencesApi.md#post_repository) | **POST** /api/v2/code-refs/repositories | Create repository
562
+ *LaunchDarklyApi::CodeReferencesApi* | [**put_branch**](docs/CodeReferencesApi.md#put_branch) | **PUT** /api/v2/code-refs/repositories/{repo}/branches/{branch} | Upsert branch
563
+ *LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /api/v2/roles/{key} | Delete custom role
564
+ *LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](docs/CustomRolesApi.md#get_custom_role) | **GET** /api/v2/roles/{key} | Get custom role
565
+ *LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](docs/CustomRolesApi.md#get_custom_roles) | **GET** /api/v2/roles | List custom roles
566
+ *LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /api/v2/roles/{key} | Update custom role
567
+ *LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](docs/CustomRolesApi.md#post_custom_role) | **POST** /api/v2/roles | Create custom role
568
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**delete_destination**](docs/DataExportDestinationsApi.md#delete_destination) | **DELETE** /api/v2/destinations/{projKey}/{envKey}/{id} | Delete Data Export destination
569
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destination**](docs/DataExportDestinationsApi.md#get_destination) | **GET** /api/v2/destinations/{projKey}/{envKey}/{id} | Get destination
570
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**get_destinations**](docs/DataExportDestinationsApi.md#get_destinations) | **GET** /api/v2/destinations | List destinations
571
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**patch_destination**](docs/DataExportDestinationsApi.md#patch_destination) | **PATCH** /api/v2/destinations/{projKey}/{envKey}/{id} | Update Data Export destination
572
+ *LaunchDarklyApi::DataExportDestinationsApi* | [**post_destination**](docs/DataExportDestinationsApi.md#post_destination) | **POST** /api/v2/destinations/{projKey}/{envKey} | Create data export destination
573
+ *LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](docs/EnvironmentsApi.md#delete_environment) | **DELETE** /api/v2/projects/{projectKey}/environments/{environmentKey} | Delete environment
574
+ *LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](docs/EnvironmentsApi.md#get_environment) | **GET** /api/v2/projects/{projectKey}/environments/{environmentKey} | Get environment
575
+ *LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](docs/EnvironmentsApi.md#patch_environment) | **PATCH** /api/v2/projects/{projectKey}/environments/{environmentKey} | Update environment
576
+ *LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](docs/EnvironmentsApi.md#post_environment) | **POST** /api/v2/projects/{projectKey}/environments | Create environment
577
+ *LaunchDarklyApi::EnvironmentsApi* | [**reset_environment_mobile_key**](docs/EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /api/v2/projects/{projectKey}/environments/{envKey}/mobileKey | Reset environment mobile SDK key
578
+ *LaunchDarklyApi::EnvironmentsApi* | [**reset_environment_sdk_key**](docs/EnvironmentsApi.md#reset_environment_sdk_key) | **POST** /api/v2/projects/{projectKey}/environments/{envKey}/apiKey | Reset environment SDK key
579
+ *LaunchDarklyApi::ExperimentsBetaApi* | [**get_experiment**](docs/ExperimentsBetaApi.md#get_experiment) | **GET** /api/v2/flags/{projKey}/{flagKey}/experiments/{envKey}/{metricKey} | Get experiment results
580
+ *LaunchDarklyApi::ExperimentsBetaApi* | [**reset_experiment**](docs/ExperimentsBetaApi.md#reset_experiment) | **DELETE** /api/v2/flags/{projKey}/{flagKey}/experiments/{envKey}/{metricKey}/results | Reset experiment results
581
+ *LaunchDarklyApi::FeatureFlagsApi* | [**copy_feature_flag**](docs/FeatureFlagsApi.md#copy_feature_flag) | **POST** /api/v2/flags/{projKey}/{featureFlagKey}/copy | Copy feature flag
582
+ *LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](docs/FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /api/v2/flags/{projKey}/{key} | Delete feature flag
583
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_expiring_user_targets**](docs/FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /api/v2/flags/{projKey}/{flagKey}/expiring-user-targets/{envKey} | Get expiring user targets for feature flag
584
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /api/v2/flags/{projKey}/{key} | Get feature flag
585
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /api/v2/flag-statuses/{projKey}/{envKey}/{key} | Get feature flag status
586
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status_across_environments**](docs/FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /api/v2/flag-status/{projKey}/{key} | Get flag status across environments
587
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](docs/FeatureFlagsApi.md#get_feature_flag_statuses) | **GET** /api/v2/flag-statuses/{projKey}/{envKey} | List feature flag statuses
588
+ *LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /api/v2/flags/{projKey} | List feature flags
589
+ *LaunchDarklyApi::FeatureFlagsApi* | [**patch_expiring_user_targets**](docs/FeatureFlagsApi.md#patch_expiring_user_targets) | **PATCH** /api/v2/flags/{projKey}/{flagKey}/expiring-user-targets/{envKey} | Update expiring user targets on feature flag
590
+ *LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /api/v2/flags/{projKey}/{key} | Update feature flag
591
+ *LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /api/v2/flags/{projKey} | Create a feature flag
592
+ *LaunchDarklyApi::FeatureFlagsBetaApi* | [**get_dependent_flags**](docs/FeatureFlagsBetaApi.md#get_dependent_flags) | **GET** /api/v2/flags/{projKey}/{flagKey}/dependent-flags | List dependent feature flags
593
+ *LaunchDarklyApi::FeatureFlagsBetaApi* | [**get_dependent_flags_by_env**](docs/FeatureFlagsBetaApi.md#get_dependent_flags_by_env) | **GET** /api/v2/flags/{projKey}/{envKey}/{flagKey}/dependent-flags | List dependent feature flags by environment
594
+ *LaunchDarklyApi::FlagTriggersApi* | [**create_trigger_workflow**](docs/FlagTriggersApi.md#create_trigger_workflow) | **POST** /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey} | Create flag trigger
595
+ *LaunchDarklyApi::FlagTriggersApi* | [**delete_trigger_workflow**](docs/FlagTriggersApi.md#delete_trigger_workflow) | **DELETE** /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}/{id} | Delete flag trigger
596
+ *LaunchDarklyApi::FlagTriggersApi* | [**get_trigger_workflow_by_id**](docs/FlagTriggersApi.md#get_trigger_workflow_by_id) | **GET** /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}/{id} | Get flag trigger by ID
597
+ *LaunchDarklyApi::FlagTriggersApi* | [**get_trigger_workflows**](docs/FlagTriggersApi.md#get_trigger_workflows) | **GET** /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey} | List flag triggers
598
+ *LaunchDarklyApi::FlagTriggersApi* | [**patch_trigger_workflow**](docs/FlagTriggersApi.md#patch_trigger_workflow) | **PATCH** /api/v2/flags/{projKey}/{flagKey}/triggers/{envKey}/{id} | Update flag trigger
599
+ *LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi* | [**create_subscription**](docs/IntegrationAuditLogSubscriptionsApi.md#create_subscription) | **POST** /api/v2/integrations/{integrationKey} | Create audit log subscription
600
+ *LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi* | [**delete_subscription**](docs/IntegrationAuditLogSubscriptionsApi.md#delete_subscription) | **DELETE** /api/v2/integrations/{integrationKey}/{id} | Delete audit log subscription
601
+ *LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi* | [**get_subscription_by_id**](docs/IntegrationAuditLogSubscriptionsApi.md#get_subscription_by_id) | **GET** /api/v2/integrations/{integrationKey}/{id} | Get audit log subscription by ID
602
+ *LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi* | [**get_subscriptions**](docs/IntegrationAuditLogSubscriptionsApi.md#get_subscriptions) | **GET** /api/v2/integrations/{integrationKey} | Get audit log subscriptions by integration
603
+ *LaunchDarklyApi::IntegrationAuditLogSubscriptionsApi* | [**update_subscription**](docs/IntegrationAuditLogSubscriptionsApi.md#update_subscription) | **PATCH** /api/v2/integrations/{integrationKey}/{id} | Update audit log subscription
604
+ *LaunchDarklyApi::MetricsApi* | [**delete_metric**](docs/MetricsApi.md#delete_metric) | **DELETE** /api/v2/metrics/{projectKey}/{key} | Delete metric
605
+ *LaunchDarklyApi::MetricsApi* | [**get_metric**](docs/MetricsApi.md#get_metric) | **GET** /api/v2/metrics/{projectKey}/{key} | Get metric
606
+ *LaunchDarklyApi::MetricsApi* | [**get_metrics**](docs/MetricsApi.md#get_metrics) | **GET** /api/v2/metrics/{projectKey} | List metrics
607
+ *LaunchDarklyApi::MetricsApi* | [**patch_metric**](docs/MetricsApi.md#patch_metric) | **PATCH** /api/v2/metrics/{projectKey}/{key} | Update metric
608
+ *LaunchDarklyApi::MetricsApi* | [**post_metric**](docs/MetricsApi.md#post_metric) | **POST** /api/v2/metrics/{projectKey} | Create metric
609
+ *LaunchDarklyApi::OtherApi* | [**get_ips**](docs/OtherApi.md#get_ips) | **GET** /api/v2/public-ip-list | Gets the public IP list
610
+ *LaunchDarklyApi::OtherApi* | [**get_openapi_spec**](docs/OtherApi.md#get_openapi_spec) | **GET** /api/v2/openapi.json | Gets the OpenAPI spec in json
611
+ *LaunchDarklyApi::OtherApi* | [**get_root**](docs/OtherApi.md#get_root) | **GET** /api/v2 | Root resource
612
+ *LaunchDarklyApi::OtherApi* | [**get_versions**](docs/OtherApi.md#get_versions) | **GET** /api/v2/versions | Get version information
613
+ *LaunchDarklyApi::ProjectsApi* | [**delete_project**](docs/ProjectsApi.md#delete_project) | **DELETE** /api/v2/projects/{projectKey} | Delete project
614
+ *LaunchDarklyApi::ProjectsApi* | [**get_project**](docs/ProjectsApi.md#get_project) | **GET** /api/v2/projects/{projectKey} | Get project
615
+ *LaunchDarklyApi::ProjectsApi* | [**get_projects**](docs/ProjectsApi.md#get_projects) | **GET** /api/v2/projects | List projects
616
+ *LaunchDarklyApi::ProjectsApi* | [**patch_project**](docs/ProjectsApi.md#patch_project) | **PATCH** /api/v2/projects/{projectKey} | Update project
617
+ *LaunchDarklyApi::ProjectsApi* | [**post_project**](docs/ProjectsApi.md#post_project) | **POST** /api/v2/projects | Create project
618
+ *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**delete_relay_auto_config**](docs/RelayProxyConfigurationsApi.md#delete_relay_auto_config) | **DELETE** /api/v2/account/relay-auto-configs/{id} | Delete Relay Proxy config by ID
619
+ *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**get_relay_proxy_config**](docs/RelayProxyConfigurationsApi.md#get_relay_proxy_config) | **GET** /api/v2/account/relay-auto-configs/{id} | Get Relay Proxy config
620
+ *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**get_relay_proxy_configs**](docs/RelayProxyConfigurationsApi.md#get_relay_proxy_configs) | **GET** /api/v2/account/relay-auto-configs | List Relay Proxy configs
621
+ *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**patch_relay_auto_config**](docs/RelayProxyConfigurationsApi.md#patch_relay_auto_config) | **PATCH** /api/v2/account/relay-auto-configs/{id} | Update a Relay Proxy config
622
+ *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**post_relay_auto_config**](docs/RelayProxyConfigurationsApi.md#post_relay_auto_config) | **POST** /api/v2/account/relay-auto-configs | Create a new Relay Proxy config
623
+ *LaunchDarklyApi::RelayProxyConfigurationsApi* | [**reset_relay_auto_config**](docs/RelayProxyConfigurationsApi.md#reset_relay_auto_config) | **POST** /api/v2/account/relay-auto-configs/{id}/reset | Reset Relay Proxy configuration key
624
+ *LaunchDarklyApi::ScheduledChangesApi* | [**delete_flag_config_scheduled_changes**](docs/ScheduledChangesApi.md#delete_flag_config_scheduled_changes) | **DELETE** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id} | Delete scheduled changes workflow
625
+ *LaunchDarklyApi::ScheduledChangesApi* | [**get_feature_flag_scheduled_change**](docs/ScheduledChangesApi.md#get_feature_flag_scheduled_change) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id} | Get a scheduled change
626
+ *LaunchDarklyApi::ScheduledChangesApi* | [**get_flag_config_scheduled_changes**](docs/ScheduledChangesApi.md#get_flag_config_scheduled_changes) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes | List scheduled changes
627
+ *LaunchDarklyApi::ScheduledChangesApi* | [**patch_flag_config_scheduled_change**](docs/ScheduledChangesApi.md#patch_flag_config_scheduled_change) | **PATCH** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id} | Update scheduled changes workflow
628
+ *LaunchDarklyApi::ScheduledChangesApi* | [**post_flag_config_scheduled_changes**](docs/ScheduledChangesApi.md#post_flag_config_scheduled_changes) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes | Create scheduled changes workflow
629
+ *LaunchDarklyApi::SegmentsApi* | [**delete_segment**](docs/SegmentsApi.md#delete_segment) | **DELETE** /api/v2/segments/{projKey}/{envKey}/{key} | Delete segment
630
+ *LaunchDarklyApi::SegmentsApi* | [**get_expiring_user_targets_for_segment**](docs/SegmentsApi.md#get_expiring_user_targets_for_segment) | **GET** /api/v2/segments/{projKey}/{segmentKey}/expiring-user-targets/{envKey} | Get expiring user targets for segment
631
+ *LaunchDarklyApi::SegmentsApi* | [**get_segment**](docs/SegmentsApi.md#get_segment) | **GET** /api/v2/segments/{projKey}/{envKey}/{key} | Get segment
632
+ *LaunchDarklyApi::SegmentsApi* | [**get_segment_membership_for_user**](docs/SegmentsApi.md#get_segment_membership_for_user) | **GET** /api/v2/segments/{projKey}/{envKey}/{key}/users/{userKey} | Get Big Segment membership for user
633
+ *LaunchDarklyApi::SegmentsApi* | [**get_segments**](docs/SegmentsApi.md#get_segments) | **GET** /api/v2/segments/{projKey}/{envKey} | List segments
634
+ *LaunchDarklyApi::SegmentsApi* | [**patch_expiring_user_targets_for_segment**](docs/SegmentsApi.md#patch_expiring_user_targets_for_segment) | **PATCH** /api/v2/segments/{projKey}/{segmentKey}/expiring-user-targets/{envKey} | Update expiring user targets for segment
635
+ *LaunchDarklyApi::SegmentsApi* | [**patch_segment**](docs/SegmentsApi.md#patch_segment) | **PATCH** /api/v2/segments/{projKey}/{envKey}/{key} | Patch segment
636
+ *LaunchDarklyApi::SegmentsApi* | [**post_segment**](docs/SegmentsApi.md#post_segment) | **POST** /api/v2/segments/{projKey}/{envKey} | Create segment
637
+ *LaunchDarklyApi::SegmentsApi* | [**update_big_segment_targets**](docs/SegmentsApi.md#update_big_segment_targets) | **POST** /api/v2/segments/{projKey}/{envKey}/{key}/users | Update targets on a Big Segment
638
+ *LaunchDarklyApi::TeamsBetaApi* | [**delete_team**](docs/TeamsBetaApi.md#delete_team) | **DELETE** /api/v2/teams/{key} | Delete team
639
+ *LaunchDarklyApi::TeamsBetaApi* | [**get_team**](docs/TeamsBetaApi.md#get_team) | **GET** /api/v2/teams/{key} | Get team
640
+ *LaunchDarklyApi::TeamsBetaApi* | [**get_teams**](docs/TeamsBetaApi.md#get_teams) | **GET** /api/v2/teams | List teams
641
+ *LaunchDarklyApi::TeamsBetaApi* | [**patch_team**](docs/TeamsBetaApi.md#patch_team) | **PATCH** /api/v2/teams/{key} | Update team
642
+ *LaunchDarklyApi::TeamsBetaApi* | [**post_team**](docs/TeamsBetaApi.md#post_team) | **POST** /api/v2/teams | Create team
643
+ *LaunchDarklyApi::TeamsBetaApi* | [**post_team_members**](docs/TeamsBetaApi.md#post_team_members) | **POST** /api/v2/teams/{key}/members | Add members to team
644
+ *LaunchDarklyApi::UserSettingsApi* | [**get_expiring_flags_for_user**](docs/UserSettingsApi.md#get_expiring_flags_for_user) | **GET** /api/v2/users/{projKey}/{userKey}/expiring-user-targets/{envKey} | Get expiring dates on flags for user
645
+ *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /api/v2/users/{projKey}/{envKey}/{key}/flags/{featureKey} | Get flag setting for user
646
+ *LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /api/v2/users/{projKey}/{envKey}/{key}/flags | List flag settings for user
647
+ *LaunchDarklyApi::UserSettingsApi* | [**patch_expiring_flags_for_user**](docs/UserSettingsApi.md#patch_expiring_flags_for_user) | **PATCH** /api/v2/users/{projKey}/{userKey}/expiring-user-targets/{envKey} | Update expiring user target for flags
648
+ *LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](docs/UserSettingsApi.md#put_flag_setting) | **PUT** /api/v2/users/{projKey}/{envKey}/{key}/flags/{featureKey} | Update flag settings for user
649
+ *LaunchDarklyApi::UsersApi* | [**delete_user**](docs/UsersApi.md#delete_user) | **DELETE** /api/v2/users/{projKey}/{envKey}/{key} | Delete user
650
+ *LaunchDarklyApi::UsersApi* | [**get_search_users**](docs/UsersApi.md#get_search_users) | **GET** /api/v2/user-search/{projKey}/{envKey} | Find users
651
+ *LaunchDarklyApi::UsersApi* | [**get_user**](docs/UsersApi.md#get_user) | **GET** /api/v2/users/{projKey}/{envKey}/{key} | Get user
652
+ *LaunchDarklyApi::UsersApi* | [**get_users**](docs/UsersApi.md#get_users) | **GET** /api/v2/users/{projKey}/{envKey} | List users
653
+ *LaunchDarklyApi::UsersBetaApi* | [**get_user_attribute_names**](docs/UsersBetaApi.md#get_user_attribute_names) | **GET** /api/v2/user-attributes/{projectKey}/{environmentKey} | Get user attribute names
654
+ *LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](docs/WebhooksApi.md#delete_webhook) | **DELETE** /api/v2/webhooks/{id} | Delete webhook
655
+ *LaunchDarklyApi::WebhooksApi* | [**get_all_webhooks**](docs/WebhooksApi.md#get_all_webhooks) | **GET** /api/v2/webhooks | List webhooks
656
+ *LaunchDarklyApi::WebhooksApi* | [**get_webhook**](docs/WebhooksApi.md#get_webhook) | **GET** /api/v2/webhooks/{id} | Get webhook
657
+ *LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](docs/WebhooksApi.md#patch_webhook) | **PATCH** /api/v2/webhooks/{id} | Update webhook
658
+ *LaunchDarklyApi::WebhooksApi* | [**post_webhook**](docs/WebhooksApi.md#post_webhook) | **POST** /api/v2/webhooks | Creates a webhook
659
+ *LaunchDarklyApi::WorkflowsBetaApi* | [**delete_workflow**](docs/WorkflowsBetaApi.md#delete_workflow) | **DELETE** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} | Delete workflow
660
+ *LaunchDarklyApi::WorkflowsBetaApi* | [**get_custom_workflow**](docs/WorkflowsBetaApi.md#get_custom_workflow) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} | Get custom workflow
661
+ *LaunchDarklyApi::WorkflowsBetaApi* | [**get_workflows**](docs/WorkflowsBetaApi.md#get_workflows) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows | Get workflows
662
+ *LaunchDarklyApi::WorkflowsBetaApi* | [**post_workflow**](docs/WorkflowsBetaApi.md#post_workflow) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows | Create workflow
172
663
 
173
664
 
174
665
  ## Documentation for Models
175
666
 
176
- - [LaunchDarklyApi::ApprovalRequest](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequest.md)
177
- - [LaunchDarklyApi::ApprovalRequestApplyConfigBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequestApplyConfigBody.md)
178
- - [LaunchDarklyApi::ApprovalRequestConfigBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequestConfigBody.md)
179
- - [LaunchDarklyApi::ApprovalRequestFlagConfigCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequestFlagConfigCopyBody.md)
180
- - [LaunchDarklyApi::ApprovalRequestReview](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequestReview.md)
181
- - [LaunchDarklyApi::ApprovalRequestReviewConfigBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequestReviewConfigBody.md)
182
- - [LaunchDarklyApi::ApprovalRequestReviewStatus](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequestReviewStatus.md)
183
- - [LaunchDarklyApi::ApprovalRequests](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ApprovalRequests.md)
184
- - [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AuditLogEntries.md)
185
- - [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AuditLogEntry.md)
186
- - [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/AuditLogEntryTarget.md)
187
- - [LaunchDarklyApi::BigSegmentTargetChanges](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/BigSegmentTargetChanges.md)
188
- - [LaunchDarklyApi::BigSegmentTargetsBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/BigSegmentTargetsBody.md)
189
- - [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Clause.md)
190
- - [LaunchDarklyApi::ClientSideAvailability](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ClientSideAvailability.md)
191
- - [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CopyActions.md)
192
- - [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomProperty.md)
193
- - [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomPropertyValues.md)
194
- - [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRole.md)
195
- - [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRoleBody.md)
196
- - [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/CustomRoles.md)
197
- - [LaunchDarklyApi::Defaults](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Defaults.md)
198
- - [LaunchDarklyApi::DependentFlag](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DependentFlag.md)
199
- - [LaunchDarklyApi::DependentFlagEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DependentFlagEnvironment.md)
200
- - [LaunchDarklyApi::DependentFlagEnvironmentLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DependentFlagEnvironmentLinks.md)
201
- - [LaunchDarklyApi::DependentFlagLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DependentFlagLinks.md)
202
- - [LaunchDarklyApi::DependentFlagsByEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DependentFlagsByEnvironment.md)
203
- - [LaunchDarklyApi::DependentFlagsLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DependentFlagsLinks.md)
204
- - [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Destination.md)
205
- - [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DestinationAmazonKinesis.md)
206
- - [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DestinationBody.md)
207
- - [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DestinationGooglePubSub.md)
208
- - [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DestinationMParticle.md)
209
- - [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/DestinationSegment.md)
210
- - [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Destinations.md)
211
- - [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Environment.md)
212
- - [LaunchDarklyApi::EnvironmentApprovalSettings](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentApprovalSettings.md)
213
- - [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EnvironmentPost.md)
214
- - [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/EvaluationUsageError.md)
215
- - [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Events.md)
216
- - [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Fallthrough.md)
217
- - [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlag.md)
218
- - [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagBody.md)
219
- - [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagConfig.md)
220
- - [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagCopyBody.md)
221
- - [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagCopyObject.md)
222
- - [LaunchDarklyApi::FeatureFlagScheduledChange](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagScheduledChange.md)
223
- - [LaunchDarklyApi::FeatureFlagScheduledChanges](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagScheduledChanges.md)
224
- - [LaunchDarklyApi::FeatureFlagScheduledChangesConflicts](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagScheduledChangesConflicts.md)
225
- - [LaunchDarklyApi::FeatureFlagScheduledChangesConflictsInstructions](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagScheduledChangesConflictsInstructions.md)
226
- - [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagStatus.md)
227
- - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagStatusAcrossEnvironments.md)
228
- - [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagStatusForQueriedEnvironment.md)
229
- - [LaunchDarklyApi::FeatureFlagStatusLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagStatusLinks.md)
230
- - [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlagStatuses.md)
231
- - [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FeatureFlags.md)
232
- - [LaunchDarklyApi::FlagConfigScheduledChangesConflictsBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FlagConfigScheduledChangesConflictsBody.md)
233
- - [LaunchDarklyApi::FlagConfigScheduledChangesPatchBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FlagConfigScheduledChangesPatchBody.md)
234
- - [LaunchDarklyApi::FlagConfigScheduledChangesPostBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FlagConfigScheduledChangesPostBody.md)
235
- - [LaunchDarklyApi::FlagListItem](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/FlagListItem.md)
236
- - [LaunchDarklyApi::HierarchicalLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/HierarchicalLinks.md)
237
- - [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Id.md)
238
- - [LaunchDarklyApi::Integration](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Integration.md)
239
- - [LaunchDarklyApi::IntegrationSubscription](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationSubscription.md)
240
- - [LaunchDarklyApi::IntegrationSubscriptionStatus](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/IntegrationSubscriptionStatus.md)
241
- - [LaunchDarklyApi::Integrations](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Integrations.md)
242
- - [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Link.md)
243
- - [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Links.md)
244
- - [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MAU.md)
245
- - [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MAUMetadata.md)
246
- - [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MAUbyCategory.md)
247
- - [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Member.md)
248
- - [LaunchDarklyApi::MemberLastSeenMetadata](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MemberLastSeenMetadata.md)
249
- - [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Members.md)
250
- - [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MembersBody.md)
251
- - [LaunchDarklyApi::MultiEnvironmentDependentFlag](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MultiEnvironmentDependentFlag.md)
252
- - [LaunchDarklyApi::MultiEnvironmentDependentFlags](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/MultiEnvironmentDependentFlags.md)
253
- - [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/PatchComment.md)
254
- - [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/PatchOperation.md)
255
- - [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Policy.md)
256
- - [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Prerequisite.md)
257
- - [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Project.md)
258
- - [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ProjectBody.md)
259
- - [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Projects.md)
260
- - [LaunchDarklyApi::RelayProxyConfig](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfig.md)
261
- - [LaunchDarklyApi::RelayProxyConfigBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigBody.md)
262
- - [LaunchDarklyApi::RelayProxyConfigs](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/RelayProxyConfigs.md)
263
- - [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Role.md)
264
- - [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Rollout.md)
265
- - [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Rule.md)
266
- - [LaunchDarklyApi::ScheduledChangesFeatureFlagConflict](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/ScheduledChangesFeatureFlagConflict.md)
267
- - [LaunchDarklyApi::SemanticPatchInstruction](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/SemanticPatchInstruction.md)
268
- - [LaunchDarklyApi::SemanticPatchInstructionInner](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/SemanticPatchInstructionInner.md)
269
- - [LaunchDarklyApi::SemanticPatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/SemanticPatchOperation.md)
270
- - [LaunchDarklyApi::Site](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Site.md)
271
- - [LaunchDarklyApi::Source](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Source.md)
272
- - [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Statement.md)
273
- - [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Stream.md)
274
- - [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamBySDK.md)
275
- - [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamBySDKLinks.md)
276
- - [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamBySDKLinksMetadata.md)
277
- - [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamLinks.md)
278
- - [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamSDKVersion.md)
279
- - [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamSDKVersionData.md)
280
- - [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamUsageError.md)
281
- - [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamUsageLinks.md)
282
- - [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamUsageMetadata.md)
283
- - [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/StreamUsageSeries.md)
284
- - [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Streams.md)
285
- - [LaunchDarklyApi::SubscriptionBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/SubscriptionBody.md)
286
- - [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Target.md)
287
- - [LaunchDarklyApi::Token](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Token.md)
288
- - [LaunchDarklyApi::TokenBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/TokenBody.md)
289
- - [LaunchDarklyApi::Tokens](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Tokens.md)
290
- - [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Usage.md)
291
- - [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UsageError.md)
292
- - [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UsageLinks.md)
293
- - [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/User.md)
294
- - [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserFlagSetting.md)
295
- - [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserFlagSettings.md)
296
- - [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserRecord.md)
297
- - [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegment.md)
298
- - [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentBody.md)
299
- - [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegmentRule.md)
300
- - [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSegments.md)
301
- - [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserSettingsBody.md)
302
- - [LaunchDarklyApi::UserTargetingExpirationForFlag](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserTargetingExpirationForFlag.md)
303
- - [LaunchDarklyApi::UserTargetingExpirationForFlags](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserTargetingExpirationForFlags.md)
304
- - [LaunchDarklyApi::UserTargetingExpirationForSegment](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserTargetingExpirationForSegment.md)
305
- - [LaunchDarklyApi::UserTargetingExpirationOnFlagsForUser](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserTargetingExpirationOnFlagsForUser.md)
306
- - [LaunchDarklyApi::UserTargetingExpirationResourceIdForFlag](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/UserTargetingExpirationResourceIdForFlag.md)
307
- - [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Users.md)
308
- - [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Variation.md)
309
- - [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Webhook.md)
310
- - [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WebhookBody.md)
311
- - [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/Webhooks.md)
312
- - [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/5.4.0/docs/WeightedVariation.md)
667
+ - [LaunchDarklyApi::AccessDeniedReasonRep](docs/AccessDeniedReasonRep.md)
668
+ - [LaunchDarklyApi::AccessDeniedRep](docs/AccessDeniedRep.md)
669
+ - [LaunchDarklyApi::AccessRep](docs/AccessRep.md)
670
+ - [LaunchDarklyApi::AccessTokenPost](docs/AccessTokenPost.md)
671
+ - [LaunchDarklyApi::ActionInputRep](docs/ActionInputRep.md)
672
+ - [LaunchDarklyApi::ActionOutputRep](docs/ActionOutputRep.md)
673
+ - [LaunchDarklyApi::ApprovalConditionInputRep](docs/ApprovalConditionInputRep.md)
674
+ - [LaunchDarklyApi::ApprovalConditionOutputRep](docs/ApprovalConditionOutputRep.md)
675
+ - [LaunchDarklyApi::ApprovalSettings](docs/ApprovalSettings.md)
676
+ - [LaunchDarklyApi::AuditLogEntryListingRep](docs/AuditLogEntryListingRep.md)
677
+ - [LaunchDarklyApi::AuditLogEntryListingRepCollection](docs/AuditLogEntryListingRepCollection.md)
678
+ - [LaunchDarklyApi::AuditLogEntryRep](docs/AuditLogEntryRep.md)
679
+ - [LaunchDarklyApi::AuthorizedAppDataRep](docs/AuthorizedAppDataRep.md)
680
+ - [LaunchDarklyApi::BigSegmentTarget](docs/BigSegmentTarget.md)
681
+ - [LaunchDarklyApi::BranchCollectionRep](docs/BranchCollectionRep.md)
682
+ - [LaunchDarklyApi::BranchRep](docs/BranchRep.md)
683
+ - [LaunchDarklyApi::Clause](docs/Clause.md)
684
+ - [LaunchDarklyApi::ClientSideAvailability](docs/ClientSideAvailability.md)
685
+ - [LaunchDarklyApi::ClientSideAvailabilityPost](docs/ClientSideAvailabilityPost.md)
686
+ - [LaunchDarklyApi::ConditionBaseOutputRep](docs/ConditionBaseOutputRep.md)
687
+ - [LaunchDarklyApi::ConditionInputRep](docs/ConditionInputRep.md)
688
+ - [LaunchDarklyApi::ConditionOutputRep](docs/ConditionOutputRep.md)
689
+ - [LaunchDarklyApi::ConfidenceIntervalRep](docs/ConfidenceIntervalRep.md)
690
+ - [LaunchDarklyApi::Conflict](docs/Conflict.md)
691
+ - [LaunchDarklyApi::ConflictOutputRep](docs/ConflictOutputRep.md)
692
+ - [LaunchDarklyApi::CopiedFromEnv](docs/CopiedFromEnv.md)
693
+ - [LaunchDarklyApi::CreateCopyFlagConfigApprovalRequestRequest](docs/CreateCopyFlagConfigApprovalRequestRequest.md)
694
+ - [LaunchDarklyApi::CreateFlagConfigApprovalRequestRequest](docs/CreateFlagConfigApprovalRequestRequest.md)
695
+ - [LaunchDarklyApi::CustomProperty](docs/CustomProperty.md)
696
+ - [LaunchDarklyApi::CustomRole](docs/CustomRole.md)
697
+ - [LaunchDarklyApi::CustomRolePost](docs/CustomRolePost.md)
698
+ - [LaunchDarklyApi::CustomRolePostData](docs/CustomRolePostData.md)
699
+ - [LaunchDarklyApi::CustomRoles](docs/CustomRoles.md)
700
+ - [LaunchDarklyApi::CustomRolesRep](docs/CustomRolesRep.md)
701
+ - [LaunchDarklyApi::CustomWorkflowInputRep](docs/CustomWorkflowInputRep.md)
702
+ - [LaunchDarklyApi::CustomWorkflowMeta](docs/CustomWorkflowMeta.md)
703
+ - [LaunchDarklyApi::CustomWorkflowOutputRep](docs/CustomWorkflowOutputRep.md)
704
+ - [LaunchDarklyApi::CustomWorkflowStageMeta](docs/CustomWorkflowStageMeta.md)
705
+ - [LaunchDarklyApi::CustomWorkflowsListingOutputRep](docs/CustomWorkflowsListingOutputRep.md)
706
+ - [LaunchDarklyApi::DefaultClientSideAvailabilityPost](docs/DefaultClientSideAvailabilityPost.md)
707
+ - [LaunchDarklyApi::Defaults](docs/Defaults.md)
708
+ - [LaunchDarklyApi::DependentFlag](docs/DependentFlag.md)
709
+ - [LaunchDarklyApi::DependentFlagEnvironment](docs/DependentFlagEnvironment.md)
710
+ - [LaunchDarklyApi::DependentFlagsByEnvironment](docs/DependentFlagsByEnvironment.md)
711
+ - [LaunchDarklyApi::DerivedAttribute](docs/DerivedAttribute.md)
712
+ - [LaunchDarklyApi::Destination](docs/Destination.md)
713
+ - [LaunchDarklyApi::DestinationPost](docs/DestinationPost.md)
714
+ - [LaunchDarklyApi::Destinations](docs/Destinations.md)
715
+ - [LaunchDarklyApi::Environment](docs/Environment.md)
716
+ - [LaunchDarklyApi::EnvironmentPost](docs/EnvironmentPost.md)
717
+ - [LaunchDarklyApi::ExecutionOutputRep](docs/ExecutionOutputRep.md)
718
+ - [LaunchDarklyApi::ExpandedTeamRep](docs/ExpandedTeamRep.md)
719
+ - [LaunchDarklyApi::ExperimentAllocationRep](docs/ExperimentAllocationRep.md)
720
+ - [LaunchDarklyApi::ExperimentEnabledPeriodRep](docs/ExperimentEnabledPeriodRep.md)
721
+ - [LaunchDarklyApi::ExperimentEnvironmentSettingRep](docs/ExperimentEnvironmentSettingRep.md)
722
+ - [LaunchDarklyApi::ExperimentInfoRep](docs/ExperimentInfoRep.md)
723
+ - [LaunchDarklyApi::ExperimentMetadataRep](docs/ExperimentMetadataRep.md)
724
+ - [LaunchDarklyApi::ExperimentRep](docs/ExperimentRep.md)
725
+ - [LaunchDarklyApi::ExperimentResultsRep](docs/ExperimentResultsRep.md)
726
+ - [LaunchDarklyApi::ExperimentStatsRep](docs/ExperimentStatsRep.md)
727
+ - [LaunchDarklyApi::ExperimentTimeSeriesSlice](docs/ExperimentTimeSeriesSlice.md)
728
+ - [LaunchDarklyApi::ExperimentTimeSeriesVariationSlice](docs/ExperimentTimeSeriesVariationSlice.md)
729
+ - [LaunchDarklyApi::ExperimentTotalsRep](docs/ExperimentTotalsRep.md)
730
+ - [LaunchDarklyApi::ExpiringUserTargetError](docs/ExpiringUserTargetError.md)
731
+ - [LaunchDarklyApi::ExpiringUserTargetGetResponse](docs/ExpiringUserTargetGetResponse.md)
732
+ - [LaunchDarklyApi::ExpiringUserTargetItem](docs/ExpiringUserTargetItem.md)
733
+ - [LaunchDarklyApi::ExpiringUserTargetPatchResponse](docs/ExpiringUserTargetPatchResponse.md)
734
+ - [LaunchDarklyApi::Extinction](docs/Extinction.md)
735
+ - [LaunchDarklyApi::ExtinctionCollectionRep](docs/ExtinctionCollectionRep.md)
736
+ - [LaunchDarklyApi::FeatureFlag](docs/FeatureFlag.md)
737
+ - [LaunchDarklyApi::FeatureFlagBody](docs/FeatureFlagBody.md)
738
+ - [LaunchDarklyApi::FeatureFlagConfig](docs/FeatureFlagConfig.md)
739
+ - [LaunchDarklyApi::FeatureFlagScheduledChange](docs/FeatureFlagScheduledChange.md)
740
+ - [LaunchDarklyApi::FeatureFlagScheduledChanges](docs/FeatureFlagScheduledChanges.md)
741
+ - [LaunchDarklyApi::FeatureFlagStatus](docs/FeatureFlagStatus.md)
742
+ - [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](docs/FeatureFlagStatusAcrossEnvironments.md)
743
+ - [LaunchDarklyApi::FeatureFlagStatuses](docs/FeatureFlagStatuses.md)
744
+ - [LaunchDarklyApi::FeatureFlags](docs/FeatureFlags.md)
745
+ - [LaunchDarklyApi::FlagConfigApprovalRequestResponse](docs/FlagConfigApprovalRequestResponse.md)
746
+ - [LaunchDarklyApi::FlagConfigApprovalRequestsResponse](docs/FlagConfigApprovalRequestsResponse.md)
747
+ - [LaunchDarklyApi::FlagCopyConfigEnvironment](docs/FlagCopyConfigEnvironment.md)
748
+ - [LaunchDarklyApi::FlagCopyConfigPost](docs/FlagCopyConfigPost.md)
749
+ - [LaunchDarklyApi::FlagGlobalAttributesRep](docs/FlagGlobalAttributesRep.md)
750
+ - [LaunchDarklyApi::FlagListingRep](docs/FlagListingRep.md)
751
+ - [LaunchDarklyApi::FlagScheduledChangesInput](docs/FlagScheduledChangesInput.md)
752
+ - [LaunchDarklyApi::FlagStatusRep](docs/FlagStatusRep.md)
753
+ - [LaunchDarklyApi::FlagSummary](docs/FlagSummary.md)
754
+ - [LaunchDarklyApi::FlagTriggerInput](docs/FlagTriggerInput.md)
755
+ - [LaunchDarklyApi::ForbiddenErrorRep](docs/ForbiddenErrorRep.md)
756
+ - [LaunchDarklyApi::HunkRep](docs/HunkRep.md)
757
+ - [LaunchDarklyApi::Integration](docs/Integration.md)
758
+ - [LaunchDarklyApi::IntegrationMetadata](docs/IntegrationMetadata.md)
759
+ - [LaunchDarklyApi::IntegrationStatus](docs/IntegrationStatus.md)
760
+ - [LaunchDarklyApi::IntegrationStatusRep](docs/IntegrationStatusRep.md)
761
+ - [LaunchDarklyApi::IntegrationSubscriptionStatusRep](docs/IntegrationSubscriptionStatusRep.md)
762
+ - [LaunchDarklyApi::Integrations](docs/Integrations.md)
763
+ - [LaunchDarklyApi::InvalidRequestErrorRep](docs/InvalidRequestErrorRep.md)
764
+ - [LaunchDarklyApi::IpList](docs/IpList.md)
765
+ - [LaunchDarklyApi::LastSeenMetadata](docs/LastSeenMetadata.md)
766
+ - [LaunchDarklyApi::Link](docs/Link.md)
767
+ - [LaunchDarklyApi::Member](docs/Member.md)
768
+ - [LaunchDarklyApi::MemberDataRep](docs/MemberDataRep.md)
769
+ - [LaunchDarklyApi::MemberImportItemRep](docs/MemberImportItemRep.md)
770
+ - [LaunchDarklyApi::MemberPermissionGrantSummaryRep](docs/MemberPermissionGrantSummaryRep.md)
771
+ - [LaunchDarklyApi::MemberSummaryRep](docs/MemberSummaryRep.md)
772
+ - [LaunchDarklyApi::MemberTeamSummaryRep](docs/MemberTeamSummaryRep.md)
773
+ - [LaunchDarklyApi::MemberTeamsFormPost](docs/MemberTeamsFormPost.md)
774
+ - [LaunchDarklyApi::Members](docs/Members.md)
775
+ - [LaunchDarklyApi::MethodNotAllowedErrorRep](docs/MethodNotAllowedErrorRep.md)
776
+ - [LaunchDarklyApi::MetricCollectionRep](docs/MetricCollectionRep.md)
777
+ - [LaunchDarklyApi::MetricListingRep](docs/MetricListingRep.md)
778
+ - [LaunchDarklyApi::MetricPost](docs/MetricPost.md)
779
+ - [LaunchDarklyApi::MetricRep](docs/MetricRep.md)
780
+ - [LaunchDarklyApi::MetricSeen](docs/MetricSeen.md)
781
+ - [LaunchDarklyApi::Modification](docs/Modification.md)
782
+ - [LaunchDarklyApi::MultiEnvironmentDependentFlag](docs/MultiEnvironmentDependentFlag.md)
783
+ - [LaunchDarklyApi::MultiEnvironmentDependentFlags](docs/MultiEnvironmentDependentFlags.md)
784
+ - [LaunchDarklyApi::NewMemberForm](docs/NewMemberForm.md)
785
+ - [LaunchDarklyApi::NotFoundErrorRep](docs/NotFoundErrorRep.md)
786
+ - [LaunchDarklyApi::ParentResourceRep](docs/ParentResourceRep.md)
787
+ - [LaunchDarklyApi::PatchFailedErrorRep](docs/PatchFailedErrorRep.md)
788
+ - [LaunchDarklyApi::PatchOperation](docs/PatchOperation.md)
789
+ - [LaunchDarklyApi::PatchSegmentInstruction](docs/PatchSegmentInstruction.md)
790
+ - [LaunchDarklyApi::PatchSegmentRequest](docs/PatchSegmentRequest.md)
791
+ - [LaunchDarklyApi::PatchWithComment](docs/PatchWithComment.md)
792
+ - [LaunchDarklyApi::PermissionGrantInput](docs/PermissionGrantInput.md)
793
+ - [LaunchDarklyApi::PermissionGrantRep](docs/PermissionGrantRep.md)
794
+ - [LaunchDarklyApi::PostApprovalRequestApplyRequest](docs/PostApprovalRequestApplyRequest.md)
795
+ - [LaunchDarklyApi::PostApprovalRequestReviewRequest](docs/PostApprovalRequestReviewRequest.md)
796
+ - [LaunchDarklyApi::PostFlagScheduledChangesInput](docs/PostFlagScheduledChangesInput.md)
797
+ - [LaunchDarklyApi::Prerequisite](docs/Prerequisite.md)
798
+ - [LaunchDarklyApi::Project](docs/Project.md)
799
+ - [LaunchDarklyApi::ProjectListingRep](docs/ProjectListingRep.md)
800
+ - [LaunchDarklyApi::ProjectPost](docs/ProjectPost.md)
801
+ - [LaunchDarklyApi::Projects](docs/Projects.md)
802
+ - [LaunchDarklyApi::PubNubDetailRep](docs/PubNubDetailRep.md)
803
+ - [LaunchDarklyApi::PutBranch](docs/PutBranch.md)
804
+ - [LaunchDarklyApi::RateLimitedErrorRep](docs/RateLimitedErrorRep.md)
805
+ - [LaunchDarklyApi::RecentTriggerBody](docs/RecentTriggerBody.md)
806
+ - [LaunchDarklyApi::ReferenceRep](docs/ReferenceRep.md)
807
+ - [LaunchDarklyApi::RelayAutoConfigCollectionRep](docs/RelayAutoConfigCollectionRep.md)
808
+ - [LaunchDarklyApi::RelayAutoConfigPost](docs/RelayAutoConfigPost.md)
809
+ - [LaunchDarklyApi::RelayAutoConfigRep](docs/RelayAutoConfigRep.md)
810
+ - [LaunchDarklyApi::RepositoryCollectionRep](docs/RepositoryCollectionRep.md)
811
+ - [LaunchDarklyApi::RepositoryPost](docs/RepositoryPost.md)
812
+ - [LaunchDarklyApi::RepositoryRep](docs/RepositoryRep.md)
813
+ - [LaunchDarklyApi::ResourceAccess](docs/ResourceAccess.md)
814
+ - [LaunchDarklyApi::ResourceIDResponse](docs/ResourceIDResponse.md)
815
+ - [LaunchDarklyApi::ReviewOutputRep](docs/ReviewOutputRep.md)
816
+ - [LaunchDarklyApi::ReviewResponse](docs/ReviewResponse.md)
817
+ - [LaunchDarklyApi::Rollout](docs/Rollout.md)
818
+ - [LaunchDarklyApi::Rule](docs/Rule.md)
819
+ - [LaunchDarklyApi::ScheduleConditionInputRep](docs/ScheduleConditionInputRep.md)
820
+ - [LaunchDarklyApi::ScheduleConditionOutputRep](docs/ScheduleConditionOutputRep.md)
821
+ - [LaunchDarklyApi::SdkListRep](docs/SdkListRep.md)
822
+ - [LaunchDarklyApi::SdkVersionListRep](docs/SdkVersionListRep.md)
823
+ - [LaunchDarklyApi::SdkVersionRep](docs/SdkVersionRep.md)
824
+ - [LaunchDarklyApi::SegmentBody](docs/SegmentBody.md)
825
+ - [LaunchDarklyApi::SegmentMetadata](docs/SegmentMetadata.md)
826
+ - [LaunchDarklyApi::SegmentUserList](docs/SegmentUserList.md)
827
+ - [LaunchDarklyApi::SegmentUserState](docs/SegmentUserState.md)
828
+ - [LaunchDarklyApi::SeriesListRep](docs/SeriesListRep.md)
829
+ - [LaunchDarklyApi::SourceFlag](docs/SourceFlag.md)
830
+ - [LaunchDarklyApi::StageInputRep](docs/StageInputRep.md)
831
+ - [LaunchDarklyApi::StageOutputRep](docs/StageOutputRep.md)
832
+ - [LaunchDarklyApi::Statement](docs/Statement.md)
833
+ - [LaunchDarklyApi::StatementPost](docs/StatementPost.md)
834
+ - [LaunchDarklyApi::StatementPostData](docs/StatementPostData.md)
835
+ - [LaunchDarklyApi::StatementRep](docs/StatementRep.md)
836
+ - [LaunchDarklyApi::StatisticCollectionRep](docs/StatisticCollectionRep.md)
837
+ - [LaunchDarklyApi::StatisticRep](docs/StatisticRep.md)
838
+ - [LaunchDarklyApi::StatisticsRoot](docs/StatisticsRoot.md)
839
+ - [LaunchDarklyApi::StatusConflictErrorRep](docs/StatusConflictErrorRep.md)
840
+ - [LaunchDarklyApi::SubjectDataRep](docs/SubjectDataRep.md)
841
+ - [LaunchDarklyApi::SubscriptionPost](docs/SubscriptionPost.md)
842
+ - [LaunchDarklyApi::Target](docs/Target.md)
843
+ - [LaunchDarklyApi::TargetResourceRep](docs/TargetResourceRep.md)
844
+ - [LaunchDarklyApi::TeamCollectionRep](docs/TeamCollectionRep.md)
845
+ - [LaunchDarklyApi::TeamImportsRep](docs/TeamImportsRep.md)
846
+ - [LaunchDarklyApi::TeamPatchInput](docs/TeamPatchInput.md)
847
+ - [LaunchDarklyApi::TeamPostInput](docs/TeamPostInput.md)
848
+ - [LaunchDarklyApi::TeamRep](docs/TeamRep.md)
849
+ - [LaunchDarklyApi::TitleRep](docs/TitleRep.md)
850
+ - [LaunchDarklyApi::Token](docs/Token.md)
851
+ - [LaunchDarklyApi::TokenDataRep](docs/TokenDataRep.md)
852
+ - [LaunchDarklyApi::Tokens](docs/Tokens.md)
853
+ - [LaunchDarklyApi::TriggerPost](docs/TriggerPost.md)
854
+ - [LaunchDarklyApi::TriggerWorkflowCollectionRep](docs/TriggerWorkflowCollectionRep.md)
855
+ - [LaunchDarklyApi::TriggerWorkflowRep](docs/TriggerWorkflowRep.md)
856
+ - [LaunchDarklyApi::UnauthorizedErrorRep](docs/UnauthorizedErrorRep.md)
857
+ - [LaunchDarklyApi::UrlPost](docs/UrlPost.md)
858
+ - [LaunchDarklyApi::User](docs/User.md)
859
+ - [LaunchDarklyApi::UserAttributeNamesRep](docs/UserAttributeNamesRep.md)
860
+ - [LaunchDarklyApi::UserFlagSetting](docs/UserFlagSetting.md)
861
+ - [LaunchDarklyApi::UserFlagSettings](docs/UserFlagSettings.md)
862
+ - [LaunchDarklyApi::UserRecord](docs/UserRecord.md)
863
+ - [LaunchDarklyApi::UserRecordRep](docs/UserRecordRep.md)
864
+ - [LaunchDarklyApi::UserSegment](docs/UserSegment.md)
865
+ - [LaunchDarklyApi::UserSegmentRule](docs/UserSegmentRule.md)
866
+ - [LaunchDarklyApi::UserSegments](docs/UserSegments.md)
867
+ - [LaunchDarklyApi::Users](docs/Users.md)
868
+ - [LaunchDarklyApi::ValuePut](docs/ValuePut.md)
869
+ - [LaunchDarklyApi::Variation](docs/Variation.md)
870
+ - [LaunchDarklyApi::VariationOrRolloutRep](docs/VariationOrRolloutRep.md)
871
+ - [LaunchDarklyApi::VariationSummary](docs/VariationSummary.md)
872
+ - [LaunchDarklyApi::VersionsRep](docs/VersionsRep.md)
873
+ - [LaunchDarklyApi::Webhook](docs/Webhook.md)
874
+ - [LaunchDarklyApi::WebhookPost](docs/WebhookPost.md)
875
+ - [LaunchDarklyApi::Webhooks](docs/Webhooks.md)
876
+ - [LaunchDarklyApi::WeightedVariation](docs/WeightedVariation.md)
877
+
878
+
879
+ ## Documentation for Authorization
880
+
881
+
882
+ ### ApiKey
883
+
884
+
885
+ - **Type**: API key
886
+ - **API key parameter name**: Authorization
887
+ - **Location**: HTTP header
313
888
 
314
889
  ## Sample Code
315
890
 
316
891
  ```ruby
317
892
  # Load the gem
318
893
  require 'launchdarkly_api'
894
+ require 'launchdarkly_api/models/variation'
319
895
 
320
896
  # Setup authorization
321
897
  LaunchDarklyApi.configure do |config|
322
- config.api_key['Authorization'] = ENV['LD_API_KEY']
898
+ config.api_key['ApiKey'] = ENV['LD_API_KEY']
899
+ config.debugging = true
323
900
  end
324
901
 
325
902
  api_instance = LaunchDarklyApi::FeatureFlagsApi.new
@@ -332,9 +909,9 @@ body = LaunchDarklyApi::FeatureFlagBody.new(
332
909
  name: "test-ruby",
333
910
  key: flag_key,
334
911
  variations: [
335
- LaunchDarklyApi::Variation.new(value=[1,2]),
336
- LaunchDarklyApi::Variation.new(value=[3,4]),
337
- LaunchDarklyApi::Variation.new(value=[5]),
912
+ LaunchDarklyApi::Variation.new({value: [1,2]}),
913
+ LaunchDarklyApi::Variation.new({value: [3,4]}),
914
+ LaunchDarklyApi::Variation.new({value: [5]}),
338
915
  ])
339
916
 
340
917
  begin
@@ -350,4 +927,5 @@ begin
350
927
  p result
351
928
  rescue LaunchDarklyApi::ApiError => e
352
929
  puts "Exception deleting feature flag: #{e}"
353
- end```
930
+ end
931
+ ```