launchdarkly_api 3.5.0 → 3.6.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 (277) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +196 -178
  3. data/docs/AccessTokensApi.md +3 -3
  4. data/docs/FeatureFlagScheduledChange.md +11 -0
  5. data/docs/FeatureFlagScheduledChanges.md +9 -0
  6. data/docs/FeatureFlagScheduledChangesConflicts.md +8 -0
  7. data/docs/FeatureFlagScheduledChangesConflictsInstructions.md +9 -0
  8. data/docs/RelayProxyConfig.md +15 -0
  9. data/docs/RelayProxyConfigBody.md +9 -0
  10. data/docs/RelayProxyConfigs.md +8 -0
  11. data/docs/RelayProxyConfigurationsApi.md +326 -0
  12. data/docs/ScheduledChangesFeatureFlagConflict.md +9 -0
  13. data/docs/SemanticPatchInstruction.md +7 -0
  14. data/docs/{SemanticPatchOperationInstructions.md → SemanticPatchInstructionInner.md} +1 -1
  15. data/docs/SemanticPatchOperation.md +1 -1
  16. data/docs/UnboundedSegmentTargetChanges.md +9 -0
  17. data/docs/UnboundedSegmentTargetsBody.md +9 -0
  18. data/docs/UserSegment.md +1 -0
  19. data/docs/UserSegmentBody.md +1 -0
  20. data/docs/UserSegmentsApi.md +61 -0
  21. data/launchdarkly_api.gemspec +1 -1
  22. data/lib/launchdarkly_api.rb +14 -2
  23. data/lib/launchdarkly_api/api/access_tokens_api.rb +3 -3
  24. data/lib/launchdarkly_api/api/audit_log_api.rb +1 -1
  25. data/lib/launchdarkly_api/api/custom_roles_api.rb +1 -1
  26. data/lib/launchdarkly_api/api/customer_metrics_api.rb +1 -1
  27. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +1 -1
  28. data/lib/launchdarkly_api/api/environments_api.rb +1 -1
  29. data/lib/launchdarkly_api/api/feature_flags_api.rb +1 -1
  30. data/lib/launchdarkly_api/api/projects_api.rb +1 -1
  31. data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +337 -0
  32. data/lib/launchdarkly_api/api/root_api.rb +1 -1
  33. data/lib/launchdarkly_api/api/team_members_api.rb +1 -1
  34. data/lib/launchdarkly_api/api/user_segments_api.rb +70 -1
  35. data/lib/launchdarkly_api/api/user_settings_api.rb +1 -1
  36. data/lib/launchdarkly_api/api/users_api.rb +1 -1
  37. data/lib/launchdarkly_api/api/webhooks_api.rb +1 -1
  38. data/lib/launchdarkly_api/api_client.rb +1 -1
  39. data/lib/launchdarkly_api/api_error.rb +1 -1
  40. data/lib/launchdarkly_api/configuration.rb +1 -1
  41. data/lib/launchdarkly_api/models/audit_log_entries.rb +1 -1
  42. data/lib/launchdarkly_api/models/audit_log_entry.rb +1 -1
  43. data/lib/launchdarkly_api/models/audit_log_entry_target.rb +1 -1
  44. data/lib/launchdarkly_api/models/clause.rb +1 -1
  45. data/lib/launchdarkly_api/models/client_side_availability.rb +1 -1
  46. data/lib/launchdarkly_api/models/copy_actions.rb +1 -1
  47. data/lib/launchdarkly_api/models/custom_property.rb +1 -1
  48. data/lib/launchdarkly_api/models/custom_property_values.rb +1 -1
  49. data/lib/launchdarkly_api/models/custom_role.rb +1 -1
  50. data/lib/launchdarkly_api/models/custom_role_body.rb +1 -1
  51. data/lib/launchdarkly_api/models/custom_roles.rb +1 -1
  52. data/lib/launchdarkly_api/models/defaults.rb +1 -1
  53. data/lib/launchdarkly_api/models/destination.rb +1 -1
  54. data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +1 -1
  55. data/lib/launchdarkly_api/models/destination_body.rb +1 -1
  56. data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +1 -1
  57. data/lib/launchdarkly_api/models/destination_m_particle.rb +1 -1
  58. data/lib/launchdarkly_api/models/destination_segment.rb +1 -1
  59. data/lib/launchdarkly_api/models/destinations.rb +1 -1
  60. data/lib/launchdarkly_api/models/environment.rb +1 -1
  61. data/lib/launchdarkly_api/models/environment_post.rb +1 -1
  62. data/lib/launchdarkly_api/models/evaluation_usage_error.rb +1 -1
  63. data/lib/launchdarkly_api/models/events.rb +1 -1
  64. data/lib/launchdarkly_api/models/fallthrough.rb +1 -1
  65. data/lib/launchdarkly_api/models/feature_flag.rb +1 -1
  66. data/lib/launchdarkly_api/models/feature_flag_body.rb +1 -1
  67. data/lib/launchdarkly_api/models/feature_flag_config.rb +1 -1
  68. data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +1 -1
  69. data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +1 -1
  70. data/lib/launchdarkly_api/models/feature_flag_scheduled_change.rb +211 -0
  71. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +194 -0
  72. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts.rb +185 -0
  73. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts_instructions.rb +195 -0
  74. data/lib/launchdarkly_api/models/feature_flag_status.rb +1 -1
  75. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +1 -1
  76. data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +1 -1
  77. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +1 -1
  78. data/lib/launchdarkly_api/models/feature_flags.rb +1 -1
  79. data/lib/launchdarkly_api/models/flag_list_item.rb +1 -1
  80. data/lib/launchdarkly_api/models/id.rb +1 -1
  81. data/lib/launchdarkly_api/models/link.rb +1 -1
  82. data/lib/launchdarkly_api/models/links.rb +1 -1
  83. data/lib/launchdarkly_api/models/ma_uby_category.rb +1 -1
  84. data/lib/launchdarkly_api/models/mau.rb +1 -1
  85. data/lib/launchdarkly_api/models/mau_metadata.rb +1 -1
  86. data/lib/launchdarkly_api/models/member.rb +1 -1
  87. data/lib/launchdarkly_api/models/members.rb +1 -1
  88. data/lib/launchdarkly_api/models/members_body.rb +1 -1
  89. data/lib/launchdarkly_api/models/patch_comment.rb +1 -1
  90. data/lib/launchdarkly_api/models/patch_operation.rb +1 -1
  91. data/lib/launchdarkly_api/models/policy.rb +1 -1
  92. data/lib/launchdarkly_api/models/prerequisite.rb +1 -1
  93. data/lib/launchdarkly_api/models/project.rb +1 -1
  94. data/lib/launchdarkly_api/models/project_body.rb +1 -1
  95. data/lib/launchdarkly_api/models/projects.rb +1 -1
  96. data/lib/launchdarkly_api/models/relay_proxy_config.rb +288 -0
  97. data/lib/launchdarkly_api/models/relay_proxy_config_body.rb +195 -0
  98. data/lib/launchdarkly_api/models/relay_proxy_configs.rb +185 -0
  99. data/lib/launchdarkly_api/models/role.rb +1 -1
  100. data/lib/launchdarkly_api/models/rollout.rb +1 -1
  101. data/lib/launchdarkly_api/models/rule.rb +1 -1
  102. data/lib/launchdarkly_api/models/scheduled_changes_feature_flag_conflict.rb +194 -0
  103. data/lib/launchdarkly_api/models/semantic_patch_instruction.rb +174 -0
  104. data/lib/launchdarkly_api/models/{semantic_patch_operation_instructions.rb → semantic_patch_instruction_inner.rb} +2 -2
  105. data/lib/launchdarkly_api/models/semantic_patch_operation.rb +3 -5
  106. data/lib/launchdarkly_api/models/site.rb +1 -1
  107. data/lib/launchdarkly_api/models/statement.rb +1 -1
  108. data/lib/launchdarkly_api/models/stream.rb +1 -1
  109. data/lib/launchdarkly_api/models/stream_by_sdk.rb +1 -1
  110. data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +1 -1
  111. data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +1 -1
  112. data/lib/launchdarkly_api/models/stream_links.rb +1 -1
  113. data/lib/launchdarkly_api/models/stream_sdk_version.rb +1 -1
  114. data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +1 -1
  115. data/lib/launchdarkly_api/models/stream_usage_error.rb +1 -1
  116. data/lib/launchdarkly_api/models/stream_usage_links.rb +1 -1
  117. data/lib/launchdarkly_api/models/stream_usage_metadata.rb +1 -1
  118. data/lib/launchdarkly_api/models/stream_usage_series.rb +1 -1
  119. data/lib/launchdarkly_api/models/streams.rb +1 -1
  120. data/lib/launchdarkly_api/models/target.rb +1 -1
  121. data/lib/launchdarkly_api/models/token.rb +1 -1
  122. data/lib/launchdarkly_api/models/token_body.rb +1 -1
  123. data/lib/launchdarkly_api/models/tokens.rb +1 -1
  124. data/lib/launchdarkly_api/models/unbounded_segment_target_changes.rb +198 -0
  125. data/lib/launchdarkly_api/models/unbounded_segment_targets_body.rb +192 -0
  126. data/lib/launchdarkly_api/models/usage.rb +1 -1
  127. data/lib/launchdarkly_api/models/usage_error.rb +1 -1
  128. data/lib/launchdarkly_api/models/usage_links.rb +1 -1
  129. data/lib/launchdarkly_api/models/user.rb +1 -1
  130. data/lib/launchdarkly_api/models/user_flag_setting.rb +1 -1
  131. data/lib/launchdarkly_api/models/user_flag_settings.rb +1 -1
  132. data/lib/launchdarkly_api/models/user_record.rb +1 -1
  133. data/lib/launchdarkly_api/models/user_segment.rb +12 -2
  134. data/lib/launchdarkly_api/models/user_segment_body.rb +12 -2
  135. data/lib/launchdarkly_api/models/user_segment_rule.rb +1 -1
  136. data/lib/launchdarkly_api/models/user_segments.rb +1 -1
  137. data/lib/launchdarkly_api/models/user_settings_body.rb +1 -1
  138. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +1 -1
  139. data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +1 -1
  140. data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +1 -1
  141. data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +1 -1
  142. data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +1 -1
  143. data/lib/launchdarkly_api/models/users.rb +1 -1
  144. data/lib/launchdarkly_api/models/variation.rb +1 -1
  145. data/lib/launchdarkly_api/models/webhook.rb +1 -1
  146. data/lib/launchdarkly_api/models/webhook_body.rb +1 -1
  147. data/lib/launchdarkly_api/models/webhooks.rb +1 -1
  148. data/lib/launchdarkly_api/models/weighted_variation.rb +1 -1
  149. data/lib/launchdarkly_api/version.rb +2 -2
  150. data/openapi.yml +322 -11
  151. data/spec/api/access_tokens_api_spec.rb +2 -2
  152. data/spec/api/audit_log_api_spec.rb +1 -1
  153. data/spec/api/custom_roles_api_spec.rb +1 -1
  154. data/spec/api/customer_metrics_api_spec.rb +1 -1
  155. data/spec/api/data_export_destinations_api_spec.rb +1 -1
  156. data/spec/api/environments_api_spec.rb +1 -1
  157. data/spec/api/feature_flags_api_spec.rb +1 -1
  158. data/spec/api/projects_api_spec.rb +1 -1
  159. data/spec/api/relay_proxy_configurations_api_spec.rb +102 -0
  160. data/spec/api/root_api_spec.rb +1 -1
  161. data/spec/api/team_members_api_spec.rb +1 -1
  162. data/spec/api/user_segments_api_spec.rb +15 -1
  163. data/spec/api/user_settings_api_spec.rb +1 -1
  164. data/spec/api/users_api_spec.rb +1 -1
  165. data/spec/api/webhooks_api_spec.rb +1 -1
  166. data/spec/api_client_spec.rb +1 -1
  167. data/spec/configuration_spec.rb +1 -1
  168. data/spec/models/audit_log_entries_spec.rb +1 -1
  169. data/spec/models/audit_log_entry_spec.rb +1 -1
  170. data/spec/models/audit_log_entry_target_spec.rb +1 -1
  171. data/spec/models/clause_spec.rb +1 -1
  172. data/spec/models/client_side_availability_spec.rb +1 -1
  173. data/spec/models/copy_actions_spec.rb +1 -1
  174. data/spec/models/custom_property_spec.rb +1 -1
  175. data/spec/models/custom_property_values_spec.rb +1 -1
  176. data/spec/models/custom_role_body_spec.rb +1 -1
  177. data/spec/models/custom_role_spec.rb +1 -1
  178. data/spec/models/custom_roles_spec.rb +1 -1
  179. data/spec/models/defaults_spec.rb +1 -1
  180. data/spec/models/destination_amazon_kinesis_spec.rb +1 -1
  181. data/spec/models/destination_body_spec.rb +1 -1
  182. data/spec/models/destination_google_pub_sub_spec.rb +1 -1
  183. data/spec/models/destination_m_particle_spec.rb +1 -1
  184. data/spec/models/destination_segment_spec.rb +1 -1
  185. data/spec/models/destination_spec.rb +1 -1
  186. data/spec/models/destinations_spec.rb +1 -1
  187. data/spec/models/environment_post_spec.rb +1 -1
  188. data/spec/models/environment_spec.rb +1 -1
  189. data/spec/models/evaluation_usage_error_spec.rb +1 -1
  190. data/spec/models/events_spec.rb +1 -1
  191. data/spec/models/fallthrough_spec.rb +1 -1
  192. data/spec/models/feature_flag_body_spec.rb +1 -1
  193. data/spec/models/feature_flag_config_spec.rb +1 -1
  194. data/spec/models/feature_flag_copy_body_spec.rb +1 -1
  195. data/spec/models/feature_flag_copy_object_spec.rb +1 -1
  196. data/spec/models/feature_flag_scheduled_change_spec.rb +59 -0
  197. data/spec/models/feature_flag_scheduled_changes_conflicts_instructions_spec.rb +47 -0
  198. data/spec/models/feature_flag_scheduled_changes_conflicts_spec.rb +41 -0
  199. data/spec/models/feature_flag_scheduled_changes_spec.rb +47 -0
  200. data/spec/models/feature_flag_spec.rb +1 -1
  201. data/spec/models/feature_flag_status_across_environments_spec.rb +1 -1
  202. data/spec/models/feature_flag_status_for_queried_environment_spec.rb +1 -1
  203. data/spec/models/feature_flag_status_spec.rb +1 -1
  204. data/spec/models/feature_flag_statuses_spec.rb +1 -1
  205. data/spec/models/feature_flags_spec.rb +1 -1
  206. data/spec/models/flag_list_item_spec.rb +1 -1
  207. data/spec/models/id_spec.rb +1 -1
  208. data/spec/models/link_spec.rb +1 -1
  209. data/spec/models/links_spec.rb +1 -1
  210. data/spec/models/ma_uby_category_spec.rb +1 -1
  211. data/spec/models/mau_metadata_spec.rb +1 -1
  212. data/spec/models/mau_spec.rb +1 -1
  213. data/spec/models/member_spec.rb +1 -1
  214. data/spec/models/members_body_spec.rb +1 -1
  215. data/spec/models/members_spec.rb +1 -1
  216. data/spec/models/patch_comment_spec.rb +1 -1
  217. data/spec/models/patch_operation_spec.rb +1 -1
  218. data/spec/models/policy_spec.rb +1 -1
  219. data/spec/models/prerequisite_spec.rb +1 -1
  220. data/spec/models/project_body_spec.rb +1 -1
  221. data/spec/models/project_spec.rb +1 -1
  222. data/spec/models/projects_spec.rb +1 -1
  223. data/spec/models/relay_proxy_config_body_spec.rb +47 -0
  224. data/spec/models/relay_proxy_config_spec.rb +83 -0
  225. data/spec/models/relay_proxy_configs_spec.rb +41 -0
  226. data/spec/models/role_spec.rb +1 -1
  227. data/spec/models/rollout_spec.rb +1 -1
  228. data/spec/models/rule_spec.rb +1 -1
  229. data/spec/models/scheduled_changes_feature_flag_conflict_spec.rb +47 -0
  230. data/spec/models/{semantic_patch_operation_instructions_spec.rb → semantic_patch_instruction_inner_spec.rb} +7 -7
  231. data/spec/models/semantic_patch_instruction_spec.rb +35 -0
  232. data/spec/models/semantic_patch_operation_spec.rb +1 -1
  233. data/spec/models/site_spec.rb +1 -1
  234. data/spec/models/statement_spec.rb +1 -1
  235. data/spec/models/stream_by_sdk_links_metadata_spec.rb +1 -1
  236. data/spec/models/stream_by_sdk_links_spec.rb +1 -1
  237. data/spec/models/stream_by_sdk_spec.rb +1 -1
  238. data/spec/models/stream_links_spec.rb +1 -1
  239. data/spec/models/stream_sdk_version_data_spec.rb +1 -1
  240. data/spec/models/stream_sdk_version_spec.rb +1 -1
  241. data/spec/models/stream_spec.rb +1 -1
  242. data/spec/models/stream_usage_error_spec.rb +1 -1
  243. data/spec/models/stream_usage_links_spec.rb +1 -1
  244. data/spec/models/stream_usage_metadata_spec.rb +1 -1
  245. data/spec/models/stream_usage_series_spec.rb +1 -1
  246. data/spec/models/streams_spec.rb +1 -1
  247. data/spec/models/target_spec.rb +1 -1
  248. data/spec/models/token_body_spec.rb +1 -1
  249. data/spec/models/token_spec.rb +1 -1
  250. data/spec/models/tokens_spec.rb +1 -1
  251. data/spec/models/unbounded_segment_target_changes_spec.rb +47 -0
  252. data/spec/models/unbounded_segment_targets_body_spec.rb +47 -0
  253. data/spec/models/usage_error_spec.rb +1 -1
  254. data/spec/models/usage_links_spec.rb +1 -1
  255. data/spec/models/usage_spec.rb +1 -1
  256. data/spec/models/user_flag_setting_spec.rb +1 -1
  257. data/spec/models/user_flag_settings_spec.rb +1 -1
  258. data/spec/models/user_record_spec.rb +1 -1
  259. data/spec/models/user_segment_body_spec.rb +7 -1
  260. data/spec/models/user_segment_rule_spec.rb +1 -1
  261. data/spec/models/user_segment_spec.rb +7 -1
  262. data/spec/models/user_segments_spec.rb +1 -1
  263. data/spec/models/user_settings_body_spec.rb +1 -1
  264. data/spec/models/user_spec.rb +1 -1
  265. data/spec/models/user_targeting_expiration_for_flag_spec.rb +1 -1
  266. data/spec/models/user_targeting_expiration_for_flags_spec.rb +1 -1
  267. data/spec/models/user_targeting_expiration_for_segment_spec.rb +1 -1
  268. data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +1 -1
  269. data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +1 -1
  270. data/spec/models/users_spec.rb +1 -1
  271. data/spec/models/variation_spec.rb +1 -1
  272. data/spec/models/webhook_body_spec.rb +1 -1
  273. data/spec/models/webhook_spec.rb +1 -1
  274. data/spec/models/webhooks_spec.rb +1 -1
  275. data/spec/models/weighted_variation_spec.rb +1 -1
  276. data/spec/spec_helper.rb +1 -1
  277. metadata +142 -94
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Build custom integrations with the LaunchDarkly REST API
5
5
 
6
- OpenAPI spec version: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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: 3.5.0
6
+ OpenAPI spec version: 3.6.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 = '3.5.0'
14
+ VERSION = '3.6.0'
15
15
  end
@@ -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: 3.5.0
13
+ version: 3.6.0
14
14
  host: app.launchdarkly.com
15
15
  basePath: /api/v2
16
16
  schemes:
@@ -528,6 +528,24 @@ paths:
528
528
  $ref: '#/responses/Standard409'
529
529
  tags:
530
530
  - User segments
531
+ '/segments/{projectKey}/{environmentKey}/{userSegmentKey}/unbounded-users':
532
+ post:
533
+ summary: Update targets included or excluded in an unbounded segment
534
+ operationId: updatedUnboundedSegmentTargets
535
+ parameters:
536
+ - $ref: '#/parameters/ProjectKey'
537
+ - $ref: '#/parameters/EnvironmentKey'
538
+ - $ref: '#/parameters/UserSegmentKey'
539
+ - $ref: '#/parameters/UnboundedSegmentTargetsPostRequest'
540
+ responses:
541
+ '204':
542
+ $ref: '#/responses/Standard204'
543
+ '400':
544
+ $ref: '#/responses/Standard400'
545
+ '401':
546
+ $ref: '#/responses/Standard401'
547
+ tags:
548
+ - User segments
531
549
  '/users/{projectKey}/{environmentKey}':
532
550
  get:
533
551
  summary: >-
@@ -1291,7 +1309,7 @@ paths:
1291
1309
  tags:
1292
1310
  - Access tokens
1293
1311
  patch:
1294
- summary: Modify an access tokenby ID.
1312
+ summary: Modify an access token by ID.
1295
1313
  operationId: patchToken
1296
1314
  parameters:
1297
1315
  - $ref: '#/parameters/TokenId'
@@ -1341,6 +1359,95 @@ paths:
1341
1359
  $ref: '#/responses/Standard401'
1342
1360
  tags:
1343
1361
  - Access tokens
1362
+ /account/relay-auto-configs:
1363
+ get:
1364
+ summary: Returns a list of relay proxy configurations in the account.
1365
+ operationId: getRelayProxyConfigs
1366
+ responses:
1367
+ '200':
1368
+ description: Relay proxy configs response.
1369
+ schema:
1370
+ $ref: '#/definitions/RelayProxyConfigs'
1371
+ tags:
1372
+ - Relay proxy configurations
1373
+ post:
1374
+ summary: Create a new relay proxy config.
1375
+ operationId: postRelayAutoConfig
1376
+ parameters:
1377
+ - $ref: '#/parameters/RelayProxyConfigPostRequest'
1378
+ responses:
1379
+ '201':
1380
+ description: Relay proxy config response.
1381
+ schema:
1382
+ $ref: '#/definitions/RelayProxyConfig'
1383
+ '400':
1384
+ $ref: '#/responses/Standard400'
1385
+ '403':
1386
+ $ref: '#/responses/Standard403'
1387
+ tags:
1388
+ - Relay proxy configurations
1389
+ '/account/relay-auto-configs/{id}':
1390
+ get:
1391
+ summary: Get a single relay proxy configuration by ID.
1392
+ operationId: getRelayProxyConfig
1393
+ parameters:
1394
+ - $ref: '#/parameters/RelayProxyConfigId'
1395
+ responses:
1396
+ '200':
1397
+ $ref: '#/responses/RelayProxyConfig2xx'
1398
+ '404':
1399
+ $ref: '#/responses/Standard404'
1400
+ tags:
1401
+ - Relay proxy configurations
1402
+ patch:
1403
+ summary: Modify a relay proxy configuration by ID.
1404
+ operationId: patchRelayProxyConfig
1405
+ parameters:
1406
+ - $ref: '#/parameters/RelayProxyConfigId'
1407
+ - $ref: '#/parameters/PatchRequest'
1408
+ responses:
1409
+ '200':
1410
+ $ref: '#/responses/RelayProxyConfig2xx'
1411
+ '400':
1412
+ $ref: '#/responses/Standard400'
1413
+ '404':
1414
+ $ref: '#/responses/Standard404'
1415
+ '409':
1416
+ $ref: '#/responses/Standard409'
1417
+ tags:
1418
+ - Relay proxy configurations
1419
+ delete:
1420
+ summary: Delete a relay proxy configuration by ID.
1421
+ operationId: deleteRelayProxyConfig
1422
+ parameters:
1423
+ - $ref: '#/parameters/RelayProxyConfigId'
1424
+ responses:
1425
+ '204':
1426
+ $ref: '#/responses/Standard204'
1427
+ '400':
1428
+ $ref: '#/responses/Standard400'
1429
+ '404':
1430
+ $ref: '#/responses/Standard404'
1431
+ tags:
1432
+ - Relay proxy configurations
1433
+ '/account/relay-auto-configs/{id}/reset':
1434
+ post:
1435
+ summary: >-
1436
+ Reset a relay proxy configuration's secret key with an optional expiry
1437
+ time for the old key.
1438
+ operationId: resetRelayProxyConfig
1439
+ parameters:
1440
+ - $ref: '#/parameters/RelayProxyConfigId'
1441
+ - $ref: '#/parameters/RelayProxyConfigsExpiry'
1442
+ responses:
1443
+ '200':
1444
+ $ref: '#/responses/RelayProxyConfig2xx'
1445
+ '400':
1446
+ $ref: '#/responses/Standard400'
1447
+ '404':
1448
+ $ref: '#/responses/Standard404'
1449
+ tags:
1450
+ - Relay proxy configurations
1344
1451
  /:
1345
1452
  get:
1346
1453
  description: >-
@@ -1723,6 +1830,55 @@ definitions:
1723
1830
  type: string
1724
1831
  variation:
1725
1832
  type: integer
1833
+ FeatureFlagScheduledChanges:
1834
+ type: object
1835
+ properties:
1836
+ _links:
1837
+ $ref: '#/definitions/Links'
1838
+ items:
1839
+ type: array
1840
+ items:
1841
+ $ref: '#/definitions/FeatureFlagScheduledChange'
1842
+ FeatureFlagScheduledChange:
1843
+ type: object
1844
+ properties:
1845
+ executionDate:
1846
+ type: integer
1847
+ description: >-
1848
+ A unix epoch time in milliseconds specifying the date the scheduled
1849
+ changes will be applied
1850
+ _version:
1851
+ type: integer
1852
+ _id:
1853
+ type: string
1854
+ instructions:
1855
+ $ref: '#/definitions/SemanticPatchInstruction'
1856
+ FeatureFlagScheduledChangesConflicts:
1857
+ type: object
1858
+ properties:
1859
+ instructions:
1860
+ type: array
1861
+ items:
1862
+ properties:
1863
+ kind:
1864
+ type: string
1865
+ example: removeUserTargets
1866
+ description: >-
1867
+ The name of the modification you would like to perform on a
1868
+ resource.
1869
+ conflicts:
1870
+ type: array
1871
+ items:
1872
+ $ref: '#/definitions/ScheduledChangesFeatureFlagConflict'
1873
+ ScheduledChangesFeatureFlagConflict:
1874
+ type: object
1875
+ properties:
1876
+ _id:
1877
+ type: string
1878
+ description: Feature flag scheduled change id this change will conflict with
1879
+ reason:
1880
+ type: string
1881
+ description: Feature flag scheduled change conflict reason
1726
1882
  ClientSideAvailability:
1727
1883
  type: object
1728
1884
  properties:
@@ -1952,6 +2108,13 @@ definitions:
1952
2108
  description: >-
1953
2109
  An array of rules that can cause a user to be included in this
1954
2110
  segment.
2111
+ unbounded:
2112
+ type: boolean
2113
+ example: false
2114
+ description: >-
2115
+ Controls whether this segment can support unlimited numbers of users.
2116
+ Requires the beta API and additional setup. Include/exclude lists in
2117
+ this payload are not used in unbounded segments.
1955
2118
  version:
1956
2119
  type: integer
1957
2120
  _links:
@@ -1981,6 +2144,22 @@ definitions:
1981
2144
  type: array
1982
2145
  items:
1983
2146
  $ref: '#/definitions/UserSegment'
2147
+ UnboundedSegmentTargetChanges:
2148
+ type: object
2149
+ properties:
2150
+ add:
2151
+ type: array
2152
+ example:
2153
+ - user@launchdarkly.com
2154
+ items:
2155
+ type: string
2156
+ description: Users to add to this list of targets
2157
+ remove:
2158
+ type: array
2159
+ example: []
2160
+ items:
2161
+ type: string
2162
+ description: Users to remove from this list of targets
1984
2163
  Project:
1985
2164
  type: object
1986
2165
  properties:
@@ -2516,17 +2695,19 @@ definitions:
2516
2695
  type: string
2517
2696
  example: This is a comment string
2518
2697
  instructions:
2519
- type: array
2520
- items:
2521
- properties:
2522
- kind:
2523
- type: string
2524
- example: removeUserTargets
2525
- description: >-
2526
- The name of the modification you would like to perform on a
2527
- resource.
2698
+ $ref: '#/definitions/SemanticPatchInstruction'
2528
2699
  required:
2529
2700
  - instructions
2701
+ SemanticPatchInstruction:
2702
+ type: array
2703
+ items:
2704
+ properties:
2705
+ kind:
2706
+ type: string
2707
+ example: removeUserTargets
2708
+ description: >-
2709
+ The name of the modification you would like to perform on a
2710
+ resource.
2530
2711
  CustomProperty:
2531
2712
  type: object
2532
2713
  description: A name and value describing a custom property.
@@ -2866,6 +3047,62 @@ definitions:
2866
3047
  defaultApiVersion:
2867
3048
  type: integer
2868
3049
  description: The default API version for this token
3050
+ RelayProxyConfigs:
3051
+ type: object
3052
+ properties:
3053
+ items:
3054
+ type: array
3055
+ items:
3056
+ $ref: '#/definitions/RelayProxyConfig'
3057
+ RelayProxyConfig:
3058
+ type: object
3059
+ properties:
3060
+ _id:
3061
+ $ref: '#/definitions/Id'
3062
+ _creator:
3063
+ $ref: '#/definitions/Member'
3064
+ name:
3065
+ type: string
3066
+ description: A human-friendly name for the relay proxy configuration
3067
+ example: My relay proxy config
3068
+ policy:
3069
+ type: array
3070
+ items:
3071
+ $ref: '#/definitions/Policy'
3072
+ fullKey:
3073
+ type: string
3074
+ example: rel-8a3a773d-b75e-48eb-a850-492cda9266eo
3075
+ description: >-
3076
+ Full secret key. Only included if creating or resetting the relay
3077
+ proxy configuration
3078
+ displayKey:
3079
+ type: string
3080
+ example: 66eo
3081
+ description: >-
3082
+ The last 4 digits of the unique secret key for this relay proxy
3083
+ configuration
3084
+ creationDate:
3085
+ type: integer
3086
+ format: int64
3087
+ description: >-
3088
+ A unix epoch time in milliseconds specifying the creation time of this
3089
+ relay proxy configuration
3090
+ example: 1443652232590
3091
+ lastModified:
3092
+ type: integer
3093
+ format: int64
3094
+ example: 1469326565348
3095
+ description: >-
3096
+ A unix epoch time in milliseconds specifying the last time this relay
3097
+ proxy configuration was modified
3098
+ required:
3099
+ - _id
3100
+ - _creator
3101
+ - name
3102
+ - policy
3103
+ - displayKey
3104
+ - creationDate
3105
+ - lastModified
2869
3106
  responses:
2870
3107
  Standard201:
2871
3108
  description: Resource created.
@@ -2875,6 +3112,8 @@ responses:
2875
3112
  description: Invalid request body.
2876
3113
  Standard401:
2877
3114
  description: Invalid access token.
3115
+ Standard403:
3116
+ description: Access to the requested resource was denied.
2878
3117
  Standard404:
2879
3118
  description: Invalid resource specifier.
2880
3119
  Standard409:
@@ -2929,6 +3168,10 @@ responses:
2929
3168
  description: Token response.
2930
3169
  schema:
2931
3170
  $ref: '#/definitions/Token'
3171
+ RelayProxyConfig2xx:
3172
+ description: Relay proxy config response.
3173
+ schema:
3174
+ $ref: '#/definitions/RelayProxyConfig'
2932
3175
  parameters:
2933
3176
  ResourceId:
2934
3177
  name: resourceId
@@ -3056,6 +3299,21 @@ parameters:
3056
3299
  - name
3057
3300
  - key
3058
3301
  - variations
3302
+ ScheduledFeatureFlagChangesPostRequest:
3303
+ name: scheduledFeatureFlagChangesBody
3304
+ in: body
3305
+ required: true
3306
+ description: Create scheduled changes on a feature flag.
3307
+ schema:
3308
+ type: object
3309
+ properties:
3310
+ executionDate:
3311
+ type: integer
3312
+ description: >-
3313
+ A unix epoch time in milliseconds specifying the date the scheduled
3314
+ changes will be applied
3315
+ instructions:
3316
+ $ref: '#/definitions/SemanticPatchInstruction'
3059
3317
  DestinationPostRequest:
3060
3318
  name: destinationBody
3061
3319
  in: body
@@ -3115,6 +3373,13 @@ parameters:
3115
3373
  type: string
3116
3374
  description: A description for the user segment.
3117
3375
  example: Users in this segment will have access to beta features.
3376
+ unbounded:
3377
+ type: boolean
3378
+ example: false
3379
+ description: >-
3380
+ Controls whether this segment can support unlimited numbers of
3381
+ users. Requires the beta API and additional setup. Include/exclude
3382
+ lists in this payload are not used in unbounded segments.
3118
3383
  tags:
3119
3384
  type: array
3120
3385
  items:
@@ -3124,6 +3389,20 @@ parameters:
3124
3389
  required:
3125
3390
  - name
3126
3391
  - key
3392
+ UnboundedSegmentTargetsPostRequest:
3393
+ name: unboundedSegmentTargetsBody
3394
+ in: body
3395
+ required: true
3396
+ description: >-
3397
+ Add or remove user targets to the included or excluded lists on an
3398
+ unbounded segment
3399
+ schema:
3400
+ type: object
3401
+ properties:
3402
+ included:
3403
+ $ref: '#/definitions/UnboundedSegmentTargetChanges'
3404
+ excluded:
3405
+ $ref: '#/definitions/UnboundedSegmentTargetChanges'
3127
3406
  ProjectPostRequest:
3128
3407
  name: projectBody
3129
3408
  in: body
@@ -3579,4 +3858,36 @@ parameters:
3579
3858
  description: >-
3580
3859
  An expiration time for the old token key, expressed as a Unix epoch time
3581
3860
  in milliseconds. By default, the token will expire immediately.
3861
+ RelayProxyConfigPostRequest:
3862
+ name: relayProxyConfigBody
3863
+ in: body
3864
+ required: true
3865
+ description: Create a new relay proxy configuration
3866
+ schema:
3867
+ type: object
3868
+ properties:
3869
+ name:
3870
+ type: string
3871
+ description: A human-friendly name for the relay proxy configuration
3872
+ example: My relay proxy config
3873
+ policy:
3874
+ type: array
3875
+ items:
3876
+ $ref: '#/definitions/Policy'
3877
+ RelayProxyConfigId:
3878
+ name: id
3879
+ in: path
3880
+ required: true
3881
+ description: The relay proxy configuration ID
3882
+ type: string
3883
+ RelayProxyConfigsExpiry:
3884
+ name: expiry
3885
+ in: query
3886
+ required: false
3887
+ type: integer
3888
+ format: int64
3889
+ description: >-
3890
+ An expiration time for the old relay proxy configuration key, expressed as
3891
+ a Unix epoch time in milliseconds. By default, the relay proxy
3892
+ configuration will expire immediately
3582
3893