launchdarkly_api 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +235 -225
  3. data/docs/{FeatureFlagApprovalRequest.md → ApprovalRequest.md} +4 -4
  4. data/docs/{FeatureFlagApprovalRequestApplyConfigBody.md → ApprovalRequestApplyConfigBody.md} +1 -1
  5. data/docs/{FeatureFlagApprovalRequestConfigBody.md → ApprovalRequestConfigBody.md} +1 -1
  6. data/docs/{FeatureFlagApprovalRequestReview.md → ApprovalRequestReview.md} +2 -2
  7. data/docs/{FeatureFlagApprovalRequestReviewConfigBody.md → ApprovalRequestReviewConfigBody.md} +1 -1
  8. data/docs/{FeatureFlagApprovalRequestReviewStatus.md → ApprovalRequestReviewStatus.md} +1 -1
  9. data/docs/{FeatureFlagApprovalRequests.md → ApprovalRequests.md} +2 -2
  10. data/docs/FeatureFlagsApi.md +470 -99
  11. data/docs/FlagConfigScheduledChangesConflictsBody.md +9 -0
  12. data/docs/FlagConfigScheduledChangesPatchBody.md +9 -0
  13. data/docs/FlagConfigScheduledChangesPostBody.md +10 -0
  14. data/docs/Member.md +2 -0
  15. data/docs/MemberLastSeenMetadata.md +8 -0
  16. data/docs/UserRecordApi.md +67 -0
  17. data/docs/UsersApi.md +0 -59
  18. data/launchdarkly_api.gemspec +1 -1
  19. data/lib/launchdarkly_api.rb +13 -8
  20. data/lib/launchdarkly_api/api/access_tokens_api.rb +1 -1
  21. data/lib/launchdarkly_api/api/audit_log_api.rb +1 -1
  22. data/lib/launchdarkly_api/api/custom_roles_api.rb +1 -1
  23. data/lib/launchdarkly_api/api/customer_metrics_api.rb +1 -1
  24. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +1 -1
  25. data/lib/launchdarkly_api/api/environments_api.rb +1 -1
  26. data/lib/launchdarkly_api/api/feature_flags_api.rb +594 -175
  27. data/lib/launchdarkly_api/api/integrations_api.rb +1 -1
  28. data/lib/launchdarkly_api/api/projects_api.rb +1 -1
  29. data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +1 -1
  30. data/lib/launchdarkly_api/api/root_api.rb +1 -1
  31. data/lib/launchdarkly_api/api/team_members_api.rb +1 -1
  32. data/lib/launchdarkly_api/api/user_record_api.rb +87 -0
  33. data/lib/launchdarkly_api/api/user_segments_api.rb +1 -1
  34. data/lib/launchdarkly_api/api/user_settings_api.rb +1 -1
  35. data/lib/launchdarkly_api/api/users_api.rb +1 -65
  36. data/lib/launchdarkly_api/api/webhooks_api.rb +1 -1
  37. data/lib/launchdarkly_api/api_client.rb +1 -1
  38. data/lib/launchdarkly_api/api_error.rb +1 -1
  39. data/lib/launchdarkly_api/configuration.rb +1 -1
  40. data/lib/launchdarkly_api/models/{feature_flag_approval_request.rb → approval_request.rb} +5 -5
  41. data/lib/launchdarkly_api/models/{feature_flag_approval_request_apply_config_body.rb → approval_request_apply_config_body.rb} +2 -2
  42. data/lib/launchdarkly_api/models/{feature_flag_approval_request_config_body.rb → approval_request_config_body.rb} +2 -2
  43. data/lib/launchdarkly_api/models/{feature_flag_approval_request_review.rb → approval_request_review.rb} +3 -3
  44. data/lib/launchdarkly_api/models/{feature_flag_approval_request_review_config_body.rb → approval_request_review_config_body.rb} +2 -2
  45. data/lib/launchdarkly_api/models/{feature_flag_approval_request_review_status.rb → approval_request_review_status.rb} +4 -4
  46. data/lib/launchdarkly_api/models/{feature_flag_approval_requests.rb → approval_requests.rb} +3 -3
  47. data/lib/launchdarkly_api/models/audit_log_entries.rb +1 -1
  48. data/lib/launchdarkly_api/models/audit_log_entry.rb +1 -1
  49. data/lib/launchdarkly_api/models/audit_log_entry_target.rb +1 -1
  50. data/lib/launchdarkly_api/models/clause.rb +1 -1
  51. data/lib/launchdarkly_api/models/client_side_availability.rb +1 -1
  52. data/lib/launchdarkly_api/models/copy_actions.rb +1 -1
  53. data/lib/launchdarkly_api/models/custom_property.rb +1 -1
  54. data/lib/launchdarkly_api/models/custom_property_values.rb +1 -1
  55. data/lib/launchdarkly_api/models/custom_role.rb +1 -1
  56. data/lib/launchdarkly_api/models/custom_role_body.rb +1 -1
  57. data/lib/launchdarkly_api/models/custom_roles.rb +1 -1
  58. data/lib/launchdarkly_api/models/defaults.rb +1 -1
  59. data/lib/launchdarkly_api/models/destination.rb +1 -1
  60. data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +1 -1
  61. data/lib/launchdarkly_api/models/destination_body.rb +1 -1
  62. data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +1 -1
  63. data/lib/launchdarkly_api/models/destination_m_particle.rb +1 -1
  64. data/lib/launchdarkly_api/models/destination_segment.rb +1 -1
  65. data/lib/launchdarkly_api/models/destinations.rb +1 -1
  66. data/lib/launchdarkly_api/models/environment.rb +1 -1
  67. data/lib/launchdarkly_api/models/environment_approval_settings.rb +1 -1
  68. data/lib/launchdarkly_api/models/environment_post.rb +1 -1
  69. data/lib/launchdarkly_api/models/evaluation_usage_error.rb +1 -1
  70. data/lib/launchdarkly_api/models/events.rb +1 -1
  71. data/lib/launchdarkly_api/models/fallthrough.rb +1 -1
  72. data/lib/launchdarkly_api/models/feature_flag.rb +1 -1
  73. data/lib/launchdarkly_api/models/feature_flag_body.rb +1 -1
  74. data/lib/launchdarkly_api/models/feature_flag_config.rb +1 -1
  75. data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +1 -1
  76. data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +1 -1
  77. data/lib/launchdarkly_api/models/feature_flag_scheduled_change.rb +1 -1
  78. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +1 -1
  79. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts.rb +1 -1
  80. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts_instructions.rb +1 -1
  81. data/lib/launchdarkly_api/models/feature_flag_status.rb +1 -1
  82. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +1 -1
  83. data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +1 -1
  84. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +1 -1
  85. data/lib/launchdarkly_api/models/feature_flags.rb +1 -1
  86. data/lib/launchdarkly_api/models/flag_config_scheduled_changes_conflicts_body.rb +193 -0
  87. data/lib/launchdarkly_api/models/flag_config_scheduled_changes_patch_body.rb +193 -0
  88. data/lib/launchdarkly_api/models/flag_config_scheduled_changes_post_body.rb +203 -0
  89. data/lib/launchdarkly_api/models/flag_list_item.rb +1 -1
  90. data/lib/launchdarkly_api/models/hierarchical_links.rb +1 -1
  91. data/lib/launchdarkly_api/models/id.rb +1 -1
  92. data/lib/launchdarkly_api/models/integration.rb +1 -1
  93. data/lib/launchdarkly_api/models/integration__links.rb +1 -1
  94. data/lib/launchdarkly_api/models/integration_subscription.rb +1 -1
  95. data/lib/launchdarkly_api/models/integration_subscription__status.rb +1 -1
  96. data/lib/launchdarkly_api/models/integrations.rb +1 -1
  97. data/lib/launchdarkly_api/models/link.rb +1 -1
  98. data/lib/launchdarkly_api/models/links.rb +1 -1
  99. data/lib/launchdarkly_api/models/ma_uby_category.rb +1 -1
  100. data/lib/launchdarkly_api/models/mau.rb +1 -1
  101. data/lib/launchdarkly_api/models/mau_metadata.rb +1 -1
  102. data/lib/launchdarkly_api/models/member.rb +24 -5
  103. data/lib/launchdarkly_api/models/member__last_seen_metadata.rb +184 -0
  104. data/lib/launchdarkly_api/models/members.rb +1 -1
  105. data/lib/launchdarkly_api/models/members_body.rb +1 -1
  106. data/lib/launchdarkly_api/models/patch_comment.rb +1 -1
  107. data/lib/launchdarkly_api/models/patch_operation.rb +1 -1
  108. data/lib/launchdarkly_api/models/policy.rb +1 -1
  109. data/lib/launchdarkly_api/models/prerequisite.rb +1 -1
  110. data/lib/launchdarkly_api/models/project.rb +1 -1
  111. data/lib/launchdarkly_api/models/project_body.rb +1 -1
  112. data/lib/launchdarkly_api/models/projects.rb +1 -1
  113. data/lib/launchdarkly_api/models/relay_proxy_config.rb +1 -1
  114. data/lib/launchdarkly_api/models/relay_proxy_config_body.rb +1 -1
  115. data/lib/launchdarkly_api/models/relay_proxy_configs.rb +1 -1
  116. data/lib/launchdarkly_api/models/role.rb +1 -1
  117. data/lib/launchdarkly_api/models/rollout.rb +1 -1
  118. data/lib/launchdarkly_api/models/rule.rb +1 -1
  119. data/lib/launchdarkly_api/models/scheduled_changes_feature_flag_conflict.rb +1 -1
  120. data/lib/launchdarkly_api/models/semantic_patch_instruction.rb +1 -1
  121. data/lib/launchdarkly_api/models/semantic_patch_instruction_inner.rb +1 -1
  122. data/lib/launchdarkly_api/models/semantic_patch_operation.rb +1 -1
  123. data/lib/launchdarkly_api/models/site.rb +1 -1
  124. data/lib/launchdarkly_api/models/statement.rb +1 -1
  125. data/lib/launchdarkly_api/models/stream.rb +1 -1
  126. data/lib/launchdarkly_api/models/stream_by_sdk.rb +1 -1
  127. data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +1 -1
  128. data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +1 -1
  129. data/lib/launchdarkly_api/models/stream_links.rb +1 -1
  130. data/lib/launchdarkly_api/models/stream_sdk_version.rb +1 -1
  131. data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +1 -1
  132. data/lib/launchdarkly_api/models/stream_usage_error.rb +1 -1
  133. data/lib/launchdarkly_api/models/stream_usage_links.rb +1 -1
  134. data/lib/launchdarkly_api/models/stream_usage_metadata.rb +1 -1
  135. data/lib/launchdarkly_api/models/stream_usage_series.rb +1 -1
  136. data/lib/launchdarkly_api/models/streams.rb +1 -1
  137. data/lib/launchdarkly_api/models/subscription_body.rb +1 -1
  138. data/lib/launchdarkly_api/models/target.rb +1 -1
  139. data/lib/launchdarkly_api/models/token.rb +1 -1
  140. data/lib/launchdarkly_api/models/token_body.rb +1 -1
  141. data/lib/launchdarkly_api/models/tokens.rb +1 -1
  142. data/lib/launchdarkly_api/models/unbounded_segment_target_changes.rb +1 -1
  143. data/lib/launchdarkly_api/models/unbounded_segment_targets_body.rb +1 -1
  144. data/lib/launchdarkly_api/models/usage.rb +1 -1
  145. data/lib/launchdarkly_api/models/usage_error.rb +1 -1
  146. data/lib/launchdarkly_api/models/usage_links.rb +1 -1
  147. data/lib/launchdarkly_api/models/user.rb +1 -1
  148. data/lib/launchdarkly_api/models/user_flag_setting.rb +1 -1
  149. data/lib/launchdarkly_api/models/user_flag_settings.rb +1 -1
  150. data/lib/launchdarkly_api/models/user_record.rb +1 -1
  151. data/lib/launchdarkly_api/models/user_segment.rb +1 -1
  152. data/lib/launchdarkly_api/models/user_segment_body.rb +1 -1
  153. data/lib/launchdarkly_api/models/user_segment_rule.rb +1 -1
  154. data/lib/launchdarkly_api/models/user_segments.rb +1 -1
  155. data/lib/launchdarkly_api/models/user_settings_body.rb +1 -1
  156. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +1 -1
  157. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +1 -1
  158. data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +1 -1
  159. data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +1 -1
  160. data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +1 -1
  161. data/lib/launchdarkly_api/models/users.rb +1 -1
  162. data/lib/launchdarkly_api/models/variation.rb +1 -1
  163. data/lib/launchdarkly_api/models/webhook.rb +1 -1
  164. data/lib/launchdarkly_api/models/webhook_body.rb +1 -1
  165. data/lib/launchdarkly_api/models/webhooks.rb +1 -1
  166. data/lib/launchdarkly_api/models/weighted_variation.rb +1 -1
  167. data/lib/launchdarkly_api/version.rb +2 -2
  168. data/openapi.yml +247 -69
  169. data/spec/api/access_tokens_api_spec.rb +1 -1
  170. data/spec/api/audit_log_api_spec.rb +1 -1
  171. data/spec/api/custom_roles_api_spec.rb +1 -1
  172. data/spec/api/customer_metrics_api_spec.rb +1 -1
  173. data/spec/api/data_export_destinations_api_spec.rb +1 -1
  174. data/spec/api/environments_api_spec.rb +1 -1
  175. data/spec/api/feature_flags_api_spec.rb +130 -46
  176. data/spec/api/integrations_api_spec.rb +1 -1
  177. data/spec/api/projects_api_spec.rb +1 -1
  178. data/spec/api/relay_proxy_configurations_api_spec.rb +1 -1
  179. data/spec/api/root_api_spec.rb +1 -1
  180. data/spec/api/team_members_api_spec.rb +1 -1
  181. data/spec/api/user_record_api_spec.rb +48 -0
  182. data/spec/api/user_segments_api_spec.rb +1 -1
  183. data/spec/api/user_settings_api_spec.rb +1 -1
  184. data/spec/api/users_api_spec.rb +1 -14
  185. data/spec/api/webhooks_api_spec.rb +1 -1
  186. data/spec/api_client_spec.rb +1 -1
  187. data/spec/configuration_spec.rb +1 -1
  188. data/spec/models/{feature_flag_approval_request_apply_config_body_spec.rb → approval_request_apply_config_body_spec.rb} +7 -7
  189. data/spec/models/{feature_flag_approval_request_config_body_spec.rb → approval_request_config_body_spec.rb} +7 -7
  190. data/spec/models/{feature_flag_approval_request_review_config_body_spec.rb → approval_request_review_config_body_spec.rb} +7 -7
  191. data/spec/models/{feature_flag_approval_request_review_spec.rb → approval_request_review_spec.rb} +7 -7
  192. data/spec/models/{feature_flag_approval_request_review_status_spec.rb → approval_request_review_status_spec.rb} +7 -7
  193. data/spec/models/{feature_flag_approval_request_spec.rb → approval_request_spec.rb} +7 -7
  194. data/spec/models/{feature_flag_approval_requests_spec.rb → approval_requests_spec.rb} +7 -7
  195. data/spec/models/audit_log_entries_spec.rb +1 -1
  196. data/spec/models/audit_log_entry_spec.rb +1 -1
  197. data/spec/models/audit_log_entry_target_spec.rb +1 -1
  198. data/spec/models/clause_spec.rb +1 -1
  199. data/spec/models/client_side_availability_spec.rb +1 -1
  200. data/spec/models/copy_actions_spec.rb +1 -1
  201. data/spec/models/custom_property_spec.rb +1 -1
  202. data/spec/models/custom_property_values_spec.rb +1 -1
  203. data/spec/models/custom_role_body_spec.rb +1 -1
  204. data/spec/models/custom_role_spec.rb +1 -1
  205. data/spec/models/custom_roles_spec.rb +1 -1
  206. data/spec/models/defaults_spec.rb +1 -1
  207. data/spec/models/destination_amazon_kinesis_spec.rb +1 -1
  208. data/spec/models/destination_body_spec.rb +1 -1
  209. data/spec/models/destination_google_pub_sub_spec.rb +1 -1
  210. data/spec/models/destination_m_particle_spec.rb +1 -1
  211. data/spec/models/destination_segment_spec.rb +1 -1
  212. data/spec/models/destination_spec.rb +1 -1
  213. data/spec/models/destinations_spec.rb +1 -1
  214. data/spec/models/environment_approval_settings_spec.rb +1 -1
  215. data/spec/models/environment_post_spec.rb +1 -1
  216. data/spec/models/environment_spec.rb +1 -1
  217. data/spec/models/evaluation_usage_error_spec.rb +1 -1
  218. data/spec/models/events_spec.rb +1 -1
  219. data/spec/models/fallthrough_spec.rb +1 -1
  220. data/spec/models/feature_flag_body_spec.rb +1 -1
  221. data/spec/models/feature_flag_config_spec.rb +1 -1
  222. data/spec/models/feature_flag_copy_body_spec.rb +1 -1
  223. data/spec/models/feature_flag_copy_object_spec.rb +1 -1
  224. data/spec/models/feature_flag_scheduled_change_spec.rb +1 -1
  225. data/spec/models/feature_flag_scheduled_changes_conflicts_instructions_spec.rb +1 -1
  226. data/spec/models/feature_flag_scheduled_changes_conflicts_spec.rb +1 -1
  227. data/spec/models/feature_flag_scheduled_changes_spec.rb +1 -1
  228. data/spec/models/feature_flag_spec.rb +1 -1
  229. data/spec/models/feature_flag_status_across_environments_spec.rb +1 -1
  230. data/spec/models/feature_flag_status_for_queried_environment_spec.rb +1 -1
  231. data/spec/models/feature_flag_status_spec.rb +1 -1
  232. data/spec/models/feature_flag_statuses_spec.rb +1 -1
  233. data/spec/models/feature_flags_spec.rb +1 -1
  234. data/spec/models/flag_config_scheduled_changes_conflicts_body_spec.rb +47 -0
  235. data/spec/models/flag_config_scheduled_changes_patch_body_spec.rb +47 -0
  236. data/spec/models/flag_config_scheduled_changes_post_body_spec.rb +53 -0
  237. data/spec/models/flag_list_item_spec.rb +1 -1
  238. data/spec/models/hierarchical_links_spec.rb +1 -1
  239. data/spec/models/id_spec.rb +1 -1
  240. data/spec/models/integration__links_spec.rb +1 -1
  241. data/spec/models/integration_spec.rb +1 -1
  242. data/spec/models/integration_subscription__status_spec.rb +1 -1
  243. data/spec/models/integration_subscription_spec.rb +1 -1
  244. data/spec/models/integrations_spec.rb +1 -1
  245. data/spec/models/link_spec.rb +1 -1
  246. data/spec/models/links_spec.rb +1 -1
  247. data/spec/models/ma_uby_category_spec.rb +1 -1
  248. data/spec/models/mau_metadata_spec.rb +1 -1
  249. data/spec/models/mau_spec.rb +1 -1
  250. data/spec/models/member__last_seen_metadata_spec.rb +41 -0
  251. data/spec/models/member_spec.rb +13 -1
  252. data/spec/models/members_body_spec.rb +1 -1
  253. data/spec/models/members_spec.rb +1 -1
  254. data/spec/models/patch_comment_spec.rb +1 -1
  255. data/spec/models/patch_operation_spec.rb +1 -1
  256. data/spec/models/policy_spec.rb +1 -1
  257. data/spec/models/prerequisite_spec.rb +1 -1
  258. data/spec/models/project_body_spec.rb +1 -1
  259. data/spec/models/project_spec.rb +1 -1
  260. data/spec/models/projects_spec.rb +1 -1
  261. data/spec/models/relay_proxy_config_body_spec.rb +1 -1
  262. data/spec/models/relay_proxy_config_spec.rb +1 -1
  263. data/spec/models/relay_proxy_configs_spec.rb +1 -1
  264. data/spec/models/role_spec.rb +1 -1
  265. data/spec/models/rollout_spec.rb +1 -1
  266. data/spec/models/rule_spec.rb +1 -1
  267. data/spec/models/scheduled_changes_feature_flag_conflict_spec.rb +1 -1
  268. data/spec/models/semantic_patch_instruction_inner_spec.rb +1 -1
  269. data/spec/models/semantic_patch_instruction_spec.rb +1 -1
  270. data/spec/models/semantic_patch_operation_spec.rb +1 -1
  271. data/spec/models/site_spec.rb +1 -1
  272. data/spec/models/statement_spec.rb +1 -1
  273. data/spec/models/stream_by_sdk_links_metadata_spec.rb +1 -1
  274. data/spec/models/stream_by_sdk_links_spec.rb +1 -1
  275. data/spec/models/stream_by_sdk_spec.rb +1 -1
  276. data/spec/models/stream_links_spec.rb +1 -1
  277. data/spec/models/stream_sdk_version_data_spec.rb +1 -1
  278. data/spec/models/stream_sdk_version_spec.rb +1 -1
  279. data/spec/models/stream_spec.rb +1 -1
  280. data/spec/models/stream_usage_error_spec.rb +1 -1
  281. data/spec/models/stream_usage_links_spec.rb +1 -1
  282. data/spec/models/stream_usage_metadata_spec.rb +1 -1
  283. data/spec/models/stream_usage_series_spec.rb +1 -1
  284. data/spec/models/streams_spec.rb +1 -1
  285. data/spec/models/subscription_body_spec.rb +1 -1
  286. data/spec/models/target_spec.rb +1 -1
  287. data/spec/models/token_body_spec.rb +1 -1
  288. data/spec/models/token_spec.rb +1 -1
  289. data/spec/models/tokens_spec.rb +1 -1
  290. data/spec/models/unbounded_segment_target_changes_spec.rb +1 -1
  291. data/spec/models/unbounded_segment_targets_body_spec.rb +1 -1
  292. data/spec/models/usage_error_spec.rb +1 -1
  293. data/spec/models/usage_links_spec.rb +1 -1
  294. data/spec/models/usage_spec.rb +1 -1
  295. data/spec/models/user_flag_setting_spec.rb +1 -1
  296. data/spec/models/user_flag_settings_spec.rb +1 -1
  297. data/spec/models/user_record_spec.rb +1 -1
  298. data/spec/models/user_segment_body_spec.rb +1 -1
  299. data/spec/models/user_segment_rule_spec.rb +1 -1
  300. data/spec/models/user_segment_spec.rb +1 -1
  301. data/spec/models/user_segments_spec.rb +1 -1
  302. data/spec/models/user_settings_body_spec.rb +1 -1
  303. data/spec/models/user_spec.rb +1 -1
  304. data/spec/models/user_targeting_expiration_for_flag_spec.rb +1 -1
  305. data/spec/models/user_targeting_expiration_for_flags_spec.rb +1 -1
  306. data/spec/models/user_targeting_expiration_for_segment_spec.rb +1 -1
  307. data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +1 -1
  308. data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +1 -1
  309. data/spec/models/users_spec.rb +1 -1
  310. data/spec/models/variation_spec.rb +1 -1
  311. data/spec/models/webhook_body_spec.rb +1 -1
  312. data/spec/models/webhook_spec.rb +1 -1
  313. data/spec/models/webhooks_spec.rb +1 -1
  314. data/spec/models/weighted_variation_spec.rb +1 -1
  315. data/spec/spec_helper.rb +1 -1
  316. metadata +161 -141
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 4.0.0
6
+ OpenAPI spec version: 5.0.0
7
7
  Contact: support@launchdarkly.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.8
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.8
11
11
  =end
12
12
 
13
13
  module LaunchDarklyApi
14
- VERSION = '4.0.0'
14
+ VERSION = '5.0.0'
15
15
  end
data/openapi.yml CHANGED
@@ -10,7 +10,7 @@ info:
10
10
  license:
11
11
  name: Apache 2.0
12
12
  url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
13
- version: 4.0.0
13
+ version: 5.0.0
14
14
  host: app.launchdarkly.com
15
15
  basePath: /api/v2
16
16
  schemes:
@@ -436,10 +436,134 @@ paths:
436
436
  $ref: '#/responses/Standard409'
437
437
  tags:
438
438
  - Feature flags
439
+ '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes':
440
+ get:
441
+ summary: Get all scheduled workflows for a feature flag by key.
442
+ operationId: getFlagConfigScheduledChanges
443
+ parameters:
444
+ - $ref: '#/parameters/ProjectKey'
445
+ - $ref: '#/parameters/FeatureFlagKey'
446
+ - $ref: '#/parameters/EnvironmentKey'
447
+ responses:
448
+ '200':
449
+ schema:
450
+ $ref: '#/definitions/FeatureFlagScheduledChanges'
451
+ description: A list of scheduled changes for feature flag response.
452
+ '401':
453
+ $ref: '#/responses/Standard401'
454
+ '404':
455
+ $ref: '#/responses/Standard404'
456
+ tags:
457
+ - Feature flags
458
+ post:
459
+ summary: Creates a new scheduled change for a feature flag.
460
+ operationId: postFlagConfigScheduledChanges
461
+ parameters:
462
+ - $ref: '#/parameters/ProjectKey'
463
+ - $ref: '#/parameters/FlagConfigScheduledChangesPostBody'
464
+ - $ref: '#/parameters/FeatureFlagKey'
465
+ - $ref: '#/parameters/EnvironmentKey'
466
+ responses:
467
+ '201':
468
+ description: A scheduled change for feature flag response.
469
+ schema:
470
+ $ref: '#/definitions/FeatureFlagScheduledChange'
471
+ '400':
472
+ $ref: '#/responses/Standard400'
473
+ '401':
474
+ $ref: '#/responses/Standard401'
475
+ '409':
476
+ $ref: '#/responses/Standard409'
477
+ tags:
478
+ - Feature flags
479
+ '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes-conflicts':
480
+ post:
481
+ summary: >-
482
+ Lists conflicts between the given instructions and any existing
483
+ scheduled changes for the feature flag. The actual HTTP verb should be
484
+ REPORT, not POST.
485
+ operationId: getFlagConfigScheduledChangesConflicts
486
+ parameters:
487
+ - $ref: '#/parameters/ProjectKey'
488
+ - $ref: '#/parameters/FeatureFlagKey'
489
+ - $ref: '#/parameters/EnvironmentKey'
490
+ - $ref: '#/parameters/FlagConfigScheduledChangesConflictsBody'
491
+ responses:
492
+ '200':
493
+ schema:
494
+ $ref: '#/definitions/FeatureFlagScheduledChangesConflicts'
495
+ description: Scheduled changes conflict response
496
+ '401':
497
+ $ref: '#/responses/Standard401'
498
+ '404':
499
+ $ref: '#/responses/Standard404'
500
+ tags:
501
+ - Feature flags
502
+ '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId}':
503
+ get:
504
+ summary: Get a scheduled change on a feature flag by id.
505
+ operationId: getFlagConfigScheduledChange
506
+ parameters:
507
+ - $ref: '#/parameters/ProjectKey'
508
+ - $ref: '#/parameters/FeatureFlagKey'
509
+ - $ref: '#/parameters/EnvironmentKey'
510
+ - $ref: '#/parameters/ScheduledChangeId'
511
+ responses:
512
+ '200':
513
+ schema:
514
+ $ref: '#/definitions/FeatureFlagScheduledChange'
515
+ description: A scheduled change for feature flag response.
516
+ '401':
517
+ $ref: '#/responses/Standard401'
518
+ '404':
519
+ $ref: '#/responses/Standard404'
520
+ tags:
521
+ - Feature flags
522
+ patch:
523
+ summary: >-
524
+ Updates an existing scheduled-change on a feature flag in an
525
+ environment.
526
+ operationId: patchFlagConfigScheduledChange
527
+ parameters:
528
+ - $ref: '#/parameters/ProjectKey'
529
+ - $ref: '#/parameters/FeatureFlagKey'
530
+ - $ref: '#/parameters/FlagConfigScheduledChangesPatchBody'
531
+ - $ref: '#/parameters/EnvironmentKey'
532
+ - $ref: '#/parameters/ScheduledChangeId'
533
+ responses:
534
+ '201':
535
+ description: A Scheduled change for feature flag response.
536
+ schema:
537
+ $ref: '#/definitions/FeatureFlagScheduledChange'
538
+ '400':
539
+ $ref: '#/responses/Standard400'
540
+ '401':
541
+ $ref: '#/responses/Standard401'
542
+ '409':
543
+ $ref: '#/responses/Standard409'
544
+ tags:
545
+ - Feature flags
546
+ delete:
547
+ summary: Delete a scheduled change on a feature flag in an environment.
548
+ operationId: deleteFlagConfigScheduledChanges
549
+ parameters:
550
+ - $ref: '#/parameters/ProjectKey'
551
+ - $ref: '#/parameters/FeatureFlagKey'
552
+ - $ref: '#/parameters/EnvironmentKey'
553
+ - $ref: '#/parameters/ScheduledChangeId'
554
+ responses:
555
+ '204':
556
+ $ref: '#/responses/Standard204'
557
+ '401':
558
+ $ref: '#/responses/Standard401'
559
+ '404':
560
+ $ref: '#/responses/Standard404'
561
+ tags:
562
+ - Feature flags
439
563
  '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests':
440
564
  get:
441
- operationId: getFeatureFlagApprovalRequests
442
- summary: Get all approval requests for a feature flag
565
+ operationId: getApprovalRequests
566
+ summary: Get all approval requests for a feature flag config
443
567
  parameters:
444
568
  - $ref: '#/parameters/ProjectKey'
445
569
  - $ref: '#/parameters/FeatureFlagKey'
@@ -447,28 +571,28 @@ paths:
447
571
  responses:
448
572
  '200':
449
573
  schema:
450
- $ref: '#/definitions/FeatureFlagApprovalRequests'
451
- description: Feature flag approval requests response
574
+ $ref: '#/definitions/ApprovalRequests'
575
+ description: Approval requests response
452
576
  '401':
453
577
  $ref: '#/responses/Standard401'
454
578
  '404':
455
579
  $ref: '#/responses/Standard404'
456
580
  tags:
457
581
  - Feature flags
458
- '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId}':
582
+ '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}':
459
583
  get:
460
- operationId: getFeatureFlagApprovalRequest
461
- summary: Get a single approval request for a feature flag
584
+ operationId: getApprovalRequest
585
+ summary: Get a single approval request for a feature flag config
462
586
  parameters:
463
587
  - $ref: '#/parameters/ProjectKey'
464
588
  - $ref: '#/parameters/FeatureFlagKey'
465
589
  - $ref: '#/parameters/EnvironmentKey'
466
- - $ref: '#/parameters/FeatureFlagApprovalRequestId'
590
+ - $ref: '#/parameters/ApprovalRequestId'
467
591
  responses:
468
592
  '200':
469
593
  schema:
470
- $ref: '#/definitions/FeatureFlagApprovalRequests'
471
- description: Feature flag approval request response
594
+ $ref: '#/definitions/ApprovalRequests'
595
+ description: Approval request response
472
596
  '401':
473
597
  $ref: '#/responses/Standard401'
474
598
  '404':
@@ -476,19 +600,19 @@ paths:
476
600
  tags:
477
601
  - Feature flags
478
602
  post:
479
- operationId: postFeatureFlagApprovalRequest
480
- summary: Create an approval request for a feature flag
603
+ operationId: postApprovalRequest
604
+ summary: Create an approval request for a feature flag config
481
605
  parameters:
482
606
  - $ref: '#/parameters/ProjectKey'
483
607
  - $ref: '#/parameters/FeatureFlagKey'
484
608
  - $ref: '#/parameters/EnvironmentKey'
485
- - $ref: '#/parameters/FeatureFlagApprovalRequestId'
486
- - $ref: '#/parameters/FeatureFlagApprovalRequestPostRequest'
609
+ - $ref: '#/parameters/ApprovalRequestId'
610
+ - $ref: '#/parameters/ApprovalRequestPostRequest'
487
611
  responses:
488
612
  '200':
489
613
  schema:
490
- $ref: '#/definitions/FeatureFlagApprovalRequest'
491
- description: Feature flag approval request response
614
+ $ref: '#/definitions/ApprovalRequest'
615
+ description: Approval request response
492
616
  '401':
493
617
  $ref: '#/responses/Standard401'
494
618
  '404':
@@ -496,14 +620,14 @@ paths:
496
620
  tags:
497
621
  - Feature flags
498
622
  delete:
499
- operationId: deleteFeatureFlagApprovalRequest
500
- summary: Delete an approval request for a feature flag
623
+ operationId: deleteApprovalRequest
624
+ summary: Delete an approval request for a feature flag config
501
625
  parameters:
502
626
  - $ref: '#/parameters/ProjectKey'
503
627
  - $ref: '#/parameters/EnvironmentKey'
504
628
  - $ref: '#/parameters/FeatureFlagKey'
505
- - $ref: '#/parameters/FeatureFlagApprovalRequestId'
506
- - $ref: '#/parameters/FeatureFlagApprovalRequestPostRequest'
629
+ - $ref: '#/parameters/ApprovalRequestId'
630
+ - $ref: '#/parameters/ApprovalRequestPostRequest'
507
631
  responses:
508
632
  '204':
509
633
  $ref: '#/responses/Standard204'
@@ -513,42 +637,42 @@ paths:
513
637
  $ref: '#/responses/Standard404'
514
638
  tags:
515
639
  - Feature flags
516
- '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId}/apply':
640
+ '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/apply':
517
641
  post:
518
- operationId: postApplyFeatureFlagApprovalRequest
519
- summary: Apply approval request for a feature flag
642
+ operationId: postApplyApprovalRequest
643
+ summary: Apply approval request for a feature flag config
520
644
  parameters:
521
645
  - $ref: '#/parameters/ProjectKey'
522
646
  - $ref: '#/parameters/FeatureFlagKey'
523
647
  - $ref: '#/parameters/EnvironmentKey'
524
- - $ref: '#/parameters/FeatureFlagApprovalRequestId'
525
- - $ref: '#/parameters/FeatureFlagApprovalRequestApplyPostRequest'
648
+ - $ref: '#/parameters/ApprovalRequestId'
649
+ - $ref: '#/parameters/ApprovalRequestApplyPostRequest'
526
650
  responses:
527
651
  '200':
528
652
  schema:
529
- $ref: '#/definitions/FeatureFlagApprovalRequests'
530
- description: Feature flag approval request applied response
653
+ $ref: '#/definitions/ApprovalRequests'
654
+ description: Approval request applied response
531
655
  '401':
532
656
  $ref: '#/responses/Standard401'
533
657
  '404':
534
658
  $ref: '#/responses/Standard404'
535
659
  tags:
536
660
  - Feature flags
537
- '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId}/review':
661
+ '/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/review':
538
662
  post:
539
- operationId: postReviewFeatureFlagApprovalRequest
540
- summary: Review approval request for a feature flag
663
+ operationId: postReviewApprovalRequest
664
+ summary: Review approval request for a feature flag config
541
665
  parameters:
542
666
  - $ref: '#/parameters/ProjectKey'
543
667
  - $ref: '#/parameters/FeatureFlagKey'
544
668
  - $ref: '#/parameters/EnvironmentKey'
545
- - $ref: '#/parameters/FeatureFlagApprovalRequestId'
546
- - $ref: '#/parameters/FeatureFlagApprovalRequestReviewPostRequest'
669
+ - $ref: '#/parameters/ApprovalRequestId'
670
+ - $ref: '#/parameters/ApprovalRequestReviewPostRequest'
547
671
  responses:
548
672
  '200':
549
673
  schema:
550
- $ref: '#/definitions/FeatureFlagApprovalRequests'
551
- description: Feature flag approval request reviewed response
674
+ $ref: '#/definitions/ApprovalRequests'
675
+ description: Approval request reviewed response
552
676
  '401':
553
677
  $ref: '#/responses/Standard401'
554
678
  '404':
@@ -769,7 +893,7 @@ paths:
769
893
  '404':
770
894
  $ref: '#/responses/Standard404'
771
895
  tags:
772
- - Users
896
+ - UserRecord
773
897
  delete:
774
898
  summary: Delete a user by ID.
775
899
  operationId: deleteUser
@@ -1931,6 +2055,23 @@ definitions:
1931
2055
  type: array
1932
2056
  items:
1933
2057
  $ref: '#/definitions/Id'
2058
+ _lastSeen:
2059
+ type: integer
2060
+ format: int64
2061
+ example: 1469326565348
2062
+ description: >-
2063
+ A unix epoch time in milliseconds specifying the last time this member
2064
+ was active in LaunchDarkly.
2065
+ _lastSeenMetadata:
2066
+ type: object
2067
+ properties:
2068
+ tokenId:
2069
+ type: string
2070
+ example: 5fd2a1ee05600316d5cb3e96
2071
+ description: >-
2072
+ If the last time this member accessed LaunchDarkly was using the
2073
+ REST API, this value will be set to the ID of the personal access
2074
+ token used.
1934
2075
  Members:
1935
2076
  type: object
1936
2077
  properties:
@@ -2147,7 +2288,7 @@ definitions:
2147
2288
  reason:
2148
2289
  type: string
2149
2290
  description: Feature flag scheduled change conflict reason
2150
- FeatureFlagApprovalRequests:
2291
+ ApprovalRequests:
2151
2292
  type: object
2152
2293
  properties:
2153
2294
  _links:
@@ -2155,8 +2296,8 @@ definitions:
2155
2296
  items:
2156
2297
  type: array
2157
2298
  items:
2158
- $ref: '#/definitions/FeatureFlagApprovalRequest'
2159
- FeatureFlagApprovalRequest:
2299
+ $ref: '#/definitions/ApprovalRequest'
2300
+ ApprovalRequest:
2160
2301
  type: object
2161
2302
  properties:
2162
2303
  _id:
@@ -2172,7 +2313,7 @@ definitions:
2172
2313
  type: string
2173
2314
  description: The id of the member that requested the change
2174
2315
  reviewStatus:
2175
- $ref: '#/definitions/FeatureFlagApprovalRequestReviewStatus'
2316
+ $ref: '#/definitions/ApprovalRequestReviewStatus'
2176
2317
  status:
2177
2318
  type: string
2178
2319
  description: >
@@ -2180,14 +2321,12 @@ definitions:
2180
2321
 
2181
2322
  | --------:| ----------- |
2182
2323
 
2183
- | pending | the feature flag approval request has not been applied
2184
- yet |
2324
+ | pending | the approval request has not been applied yet |
2185
2325
 
2186
- | completed| the feature flag approval request has been applied
2187
- successfully |
2326
+ | completed| the approval request has been applied successfully |
2188
2327
 
2189
- | failed | the feature flag approval request has been applied but
2190
- the changes were not applied successfully |
2328
+ | failed | the approval request has been applied but the changes
2329
+ were not applied successfully |
2191
2330
  enum:
2192
2331
  - pending
2193
2332
  - completed
@@ -2203,7 +2342,7 @@ definitions:
2203
2342
  allReviews:
2204
2343
  type: array
2205
2344
  items:
2206
- $ref: '#/definitions/FeatureFlagApprovalRequestReview'
2345
+ $ref: '#/definitions/ApprovalRequestReview'
2207
2346
  notifyMemberIds:
2208
2347
  type: array
2209
2348
  items:
@@ -2213,7 +2352,7 @@ definitions:
2213
2352
  - memberId2
2214
2353
  instructions:
2215
2354
  $ref: '#/definitions/SemanticPatchInstruction'
2216
- FeatureFlagApprovalRequestReview:
2355
+ ApprovalRequestReview:
2217
2356
  type: object
2218
2357
  properties:
2219
2358
  creationDate:
@@ -2222,25 +2361,25 @@ definitions:
2222
2361
  A unix epoch time in milliseconds specifying the date the approval
2223
2362
  request was reviewed
2224
2363
  kind:
2225
- $ref: '#/definitions/FeatureFlagApprovalRequestReviewStatus'
2364
+ $ref: '#/definitions/ApprovalRequestReviewStatus'
2226
2365
  memberId:
2227
2366
  $ref: '#/definitions/Id'
2228
2367
  _id:
2229
2368
  $ref: '#/definitions/Id'
2230
- FeatureFlagApprovalRequestReviewStatus:
2369
+ ApprovalRequestReviewStatus:
2231
2370
  type: string
2232
2371
  description: >
2233
2372
  | Name | Description |
2234
2373
 
2235
2374
  | --------:| ----------- |
2236
2375
 
2237
- | pending | the feature flag approval request has not been reviewed yet |
2376
+ | pending | the approval request has not been reviewed yet |
2238
2377
 
2239
- | approved | the feature flag approval request has been approved and can
2240
- now be applied |
2378
+ | approved | the approval request has been approved and can now be applied
2379
+ |
2241
2380
 
2242
- | declined | the feature flag approval request has been declined and
2243
- cannot be applied |
2381
+ | declined | the approval request has been declined and cannot be applied
2382
+ |
2244
2383
  enum:
2245
2384
  - pending
2246
2385
  - approved
@@ -3786,14 +3925,40 @@ parameters:
3786
3925
  - name
3787
3926
  - key
3788
3927
  - variations
3789
- ScheduledFeatureFlagChangesPostRequest:
3790
- name: scheduledFeatureFlagChangesBody
3928
+ ScheduledChangeId:
3929
+ name: scheduledChangeId
3930
+ in: path
3931
+ required: true
3932
+ description: The id of the scheduled change
3933
+ type: string
3934
+ FlagConfigScheduledChangesConflictsBody:
3935
+ name: flagConfigScheduledChangesConflictsBody
3936
+ in: body
3937
+ required: true
3938
+ description: >-
3939
+ Used to determine if a semantic patch will result in conflicts with
3940
+ scheduled changes on a feature flag.
3941
+ schema:
3942
+ type: object
3943
+ properties:
3944
+ executionDate:
3945
+ type: integer
3946
+ description: >-
3947
+ A unix epoch time in milliseconds specifying the date the scheduled
3948
+ changes will be applied
3949
+ instructions:
3950
+ $ref: '#/definitions/SemanticPatchInstruction'
3951
+ FlagConfigScheduledChangesPostBody:
3952
+ name: flagConfigScheduledChangesPostBody
3791
3953
  in: body
3792
3954
  required: true
3793
3955
  description: Create scheduled changes on a feature flag.
3794
3956
  schema:
3795
3957
  type: object
3796
3958
  properties:
3959
+ comment:
3960
+ type: string
3961
+ description: Used to describe the scheduled changes.
3797
3962
  executionDate:
3798
3963
  type: integer
3799
3964
  description: >-
@@ -3801,6 +3966,19 @@ parameters:
3801
3966
  changes will be applied
3802
3967
  instructions:
3803
3968
  $ref: '#/definitions/SemanticPatchInstruction'
3969
+ FlagConfigScheduledChangesPatchBody:
3970
+ name: flagConfigScheduledChangesPatchBody
3971
+ in: body
3972
+ required: true
3973
+ description: Update scheduled changes on a feature flag.
3974
+ schema:
3975
+ type: object
3976
+ properties:
3977
+ comment:
3978
+ type: string
3979
+ description: Used to describe the scheduled changes.
3980
+ instructions:
3981
+ $ref: '#/definitions/SemanticPatchInstruction'
3804
3982
  DestinationPostRequest:
3805
3983
  name: destinationBody
3806
3984
  in: body
@@ -4396,16 +4574,16 @@ parameters:
4396
4574
  An expiration time for the old relay proxy configuration key, expressed as
4397
4575
  a Unix epoch time in milliseconds. By default, the relay proxy
4398
4576
  configuration will expire immediately
4399
- FeatureFlagApprovalRequestId:
4400
- name: featureFlagApprovalRequestId
4577
+ ApprovalRequestId:
4578
+ name: approvalRequestId
4401
4579
  in: path
4402
4580
  required: true
4403
- description: The feature flag approval request ID
4581
+ description: The approval request ID
4404
4582
  type: string
4405
- FeatureFlagApprovalRequestPostRequest:
4406
- name: featureFlagApprovalRequestConfigBody
4583
+ ApprovalRequestPostRequest:
4584
+ name: approvalRequestConfigBody
4407
4585
  in: body
4408
- description: Create a new feature flag approval request
4586
+ description: Create a new approval request
4409
4587
  schema:
4410
4588
  type: object
4411
4589
  properties:
@@ -4430,11 +4608,11 @@ parameters:
4430
4608
  - description
4431
4609
  - instructions
4432
4610
  - notifyMemberIds
4433
- FeatureFlagApprovalRequestReviewPostRequest:
4434
- name: featureFlagApprovalRequestReviewConfigBody
4611
+ ApprovalRequestReviewPostRequest:
4612
+ name: approvalRequestReviewConfigBody
4435
4613
  in: body
4436
4614
  required: true
4437
- description: Review a feature flag approval request
4615
+ description: Review an approval request
4438
4616
  schema:
4439
4617
  type: object
4440
4618
  properties:
@@ -4452,11 +4630,11 @@ parameters:
4452
4630
  example: This is a comment string
4453
4631
  required:
4454
4632
  - kind
4455
- FeatureFlagApprovalRequestApplyPostRequest:
4456
- name: featureFlagApprovalRequestApplyConfigBody
4633
+ ApprovalRequestApplyPostRequest:
4634
+ name: approvalRequestApplyConfigBody
4457
4635
  in: body
4458
4636
  required: true
4459
- description: Apply a new feature flag approval request
4637
+ description: Apply an approval request
4460
4638
  schema:
4461
4639
  type: object
4462
4640
  properties: