auth0 6.3.0 → 6.4.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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +5 -4
  3. data/.fern/replay.lock +7 -1
  4. data/.version +1 -1
  5. data/CHANGELOG.md +6 -0
  6. data/examples/ruby-api/Gemfile.lock +1 -1
  7. data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
  8. data/lib/auth0/experimentation/client.rb +10 -0
  9. data/lib/auth0/experimentation/experiments/client.rb +304 -0
  10. data/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb +27 -0
  11. data/lib/auth0/experimentation/experiments/types/list_experiments_request_parameters.rb +21 -0
  12. data/lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb +25 -0
  13. data/lib/auth0/experimentation/experiments/types/update_experiment_status_request_content.rb +15 -0
  14. data/lib/auth0/experimentation/feature_flags/client.rb +280 -0
  15. data/lib/auth0/experimentation/feature_flags/types/create_feature_flag_request_content.rb +17 -0
  16. data/lib/auth0/experimentation/feature_flags/types/list_feature_flags_request_parameters.rb +19 -0
  17. data/lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb +19 -0
  18. data/lib/auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content.rb +15 -0
  19. data/lib/auth0/experimentation/feature_flags/variations/client.rb +230 -0
  20. data/lib/auth0/experimentation/feature_flags/variations/types/create_variation_request_content.rb +21 -0
  21. data/lib/auth0/experimentation/feature_flags/variations/types/update_variation_request_content.rb +23 -0
  22. data/lib/auth0/experimentation/segments/client.rb +228 -0
  23. data/lib/auth0/experimentation/segments/types/create_segment_request_content.rb +17 -0
  24. data/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb +17 -0
  25. data/lib/auth0/experimentation/segments/types/update_segment_request_content.rb +19 -0
  26. data/lib/auth0/organizations/client.rb +0 -5
  27. data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +2 -0
  28. data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +2 -0
  29. data/lib/auth0/types/allocation_item.rb +27 -0
  30. data/lib/auth0/types/allocation_request_item.rb +19 -0
  31. data/lib/auth0/types/{connection_deletion_behavior_enum.rb → allocation_strategy_enum.rb} +3 -3
  32. data/lib/auth0/types/async_approval_notifications_channels_enum.rb +1 -0
  33. data/lib/auth0/types/authentication_flow_enum.rb +16 -0
  34. data/lib/auth0/types/client_oidc_backchannel_logout_initiators_enum.rb +1 -0
  35. data/lib/auth0/types/client_oidc_support_allowed_scopes_enum.rb +14 -0
  36. data/lib/auth0/types/client_oidc_support_post.rb +15 -0
  37. data/lib/auth0/types/create_experiment_response_content.rb +45 -0
  38. data/lib/auth0/types/create_feature_flag_parameters.rb +23 -0
  39. data/lib/auth0/types/create_feature_flag_response_content.rb +23 -0
  40. data/lib/auth0/types/create_resource_server_response_content.rb +2 -0
  41. data/lib/auth0/types/create_segment_response_content.rb +21 -0
  42. data/lib/auth0/types/create_variation_response_content.rb +21 -0
  43. data/lib/auth0/types/{organization_deletion_behavior_enum.rb → default_config_enum.rb} +3 -3
  44. data/lib/auth0/types/experiment_list_item.rb +45 -0
  45. data/lib/auth0/types/experiment_status_enum.rb +15 -0
  46. data/lib/auth0/types/experiment_transition_status_enum.rb +14 -0
  47. data/lib/auth0/types/experiment_validation_error.rb +11 -0
  48. data/lib/auth0/types/feature_flag.rb +23 -0
  49. data/lib/auth0/types/feature_flag_config_param.rb +13 -0
  50. data/lib/auth0/types/feature_flag_config_param_type_enum.rb +15 -0
  51. data/lib/auth0/types/feature_flag_config_params.rb +23 -0
  52. data/lib/auth0/types/feature_flag_status_enum.rb +13 -0
  53. data/lib/auth0/types/feature_flag_type_enum.rb +12 -0
  54. data/lib/auth0/types/get_experiment_response_content.rb +45 -0
  55. data/lib/auth0/types/get_feature_flag_response_content.rb +23 -0
  56. data/lib/auth0/types/get_resource_server_response_content.rb +2 -0
  57. data/lib/auth0/types/get_segment_response_content.rb +21 -0
  58. data/lib/auth0/types/get_variation_response_content.rb +21 -0
  59. data/lib/auth0/types/list_experiments_response_content.rb +11 -0
  60. data/lib/auth0/types/list_feature_flags_response_content.rb +11 -0
  61. data/lib/auth0/types/list_segments_response_content.rb +11 -0
  62. data/lib/auth0/types/list_variations_response_content.rb +9 -0
  63. data/lib/auth0/types/oauth_scope.rb +3 -1
  64. data/lib/auth0/types/resource_server.rb +2 -0
  65. data/lib/auth0/types/resource_server_search_response.rb +2 -0
  66. data/lib/auth0/types/segment.rb +21 -0
  67. data/lib/auth0/types/segment_contains_expression.rb +9 -0
  68. data/lib/auth0/types/segment_ends_with_expression.rb +9 -0
  69. data/lib/auth0/types/segment_exists_expression.rb +9 -0
  70. data/lib/auth0/types/segment_match_conditions.rb +30 -0
  71. data/lib/auth0/types/segment_match_expression.rb +19 -0
  72. data/lib/auth0/types/segment_not_match_conditions.rb +30 -0
  73. data/lib/auth0/types/segment_rule.rb +11 -0
  74. data/lib/auth0/types/segment_starts_with_expression.rb +9 -0
  75. data/lib/auth0/types/segment_type_enum.rb +12 -0
  76. data/lib/auth0/types/segment_type_filter_enum.rb +12 -0
  77. data/lib/auth0/types/update_experiment_response_content.rb +45 -0
  78. data/lib/auth0/types/update_experiment_status_response_content.rb +45 -0
  79. data/lib/auth0/types/update_feature_flag_parameters.rb +23 -0
  80. data/lib/auth0/types/update_feature_flag_response_content.rb +23 -0
  81. data/lib/auth0/types/update_feature_flag_status_response_content.rb +23 -0
  82. data/lib/auth0/types/update_resource_server_response_content.rb +2 -0
  83. data/lib/auth0/types/update_segment_response_content.rb +21 -0
  84. data/lib/auth0/types/update_variation_overrides_map.rb +23 -0
  85. data/lib/auth0/types/update_variation_response_content.rb +21 -0
  86. data/lib/auth0/types/validate_experiment_response_content.rb +11 -0
  87. data/lib/auth0/types/variation.rb +21 -0
  88. data/lib/auth0/types/variation_overrides_map.rb +23 -0
  89. data/lib/auth0/users/client.rb +24 -17
  90. data/lib/auth0/version.rb +1 -1
  91. data/lib/auth0.rb +68 -9
  92. data/wiremock/wiremock-mappings.json +861 -123
  93. metadata +70 -11
  94. data/lib/auth0/organizations/organization_template/client.rb +0 -132
  95. data/lib/auth0/types/organization_template.rb +0 -39
  96. data/lib/auth0/types/organization_template_allowed_strategy_enum.rb +0 -17
  97. data/lib/auth0/types/organization_template_role_visibility_enum.rb +0 -13
  98. data/lib/auth0/types/organization_template_role_visibility_override.rb +0 -12
  99. data/lib/auth0/types/organization_template_role_visibility_policy.rb +0 -12
  100. data/lib/auth0/types/organization_template_use_for_organization_discovery.rb +0 -12
@@ -4532,7 +4532,7 @@
4532
4532
  },
4533
4533
  "response": {
4534
4534
  "status": 200,
4535
- "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ]\n}",
4535
+ "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ]\n}",
4536
4536
  "headers": {
4537
4537
  "Content-Type": "application/json"
4538
4538
  }
@@ -4564,7 +4564,7 @@
4564
4564
  },
4565
4565
  "response": {
4566
4566
  "status": 201,
4567
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
4567
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
4568
4568
  "headers": {
4569
4569
  "Content-Type": "application/json"
4570
4570
  }
@@ -4618,7 +4618,7 @@
4618
4618
  },
4619
4619
  "response": {
4620
4620
  "status": 200,
4621
- "body": "{\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}",
4621
+ "body": "{\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}",
4622
4622
  "headers": {
4623
4623
  "Content-Type": "application/json"
4624
4624
  }
@@ -4660,7 +4660,7 @@
4660
4660
  },
4661
4661
  "response": {
4662
4662
  "status": 200,
4663
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
4663
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
4664
4664
  "headers": {
4665
4665
  "Content-Type": "application/json"
4666
4666
  }
@@ -4732,7 +4732,7 @@
4732
4732
  },
4733
4733
  "response": {
4734
4734
  "status": 201,
4735
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
4735
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"require_consent_non_repudiation\": true,\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
4736
4736
  "headers": {
4737
4737
  "Content-Type": "application/json"
4738
4738
  }
@@ -10061,11 +10061,746 @@
10061
10061
  }
10062
10062
  }
10063
10063
  },
10064
+ {
10065
+ "id": "bd75bcab-7889-4be2-8450-869b365b3fd6",
10066
+ "name": "List experiments for the tenant. - default",
10067
+ "request": {
10068
+ "urlPathTemplate": "/experimentation/experiments",
10069
+ "method": "GET",
10070
+ "headers": {
10071
+ "Authorization": {
10072
+ "matches": "Bearer .+"
10073
+ }
10074
+ },
10075
+ "queryParameters": {
10076
+ "from": {
10077
+ "equalTo": "from"
10078
+ },
10079
+ "take": {
10080
+ "equalTo": "1"
10081
+ },
10082
+ "status": {
10083
+ "equalTo": "draft"
10084
+ },
10085
+ "authentication_flow": {
10086
+ "equalTo": "authentication_flow"
10087
+ },
10088
+ "feature_flag_id": {
10089
+ "equalTo": "feature_flag_id"
10090
+ }
10091
+ }
10092
+ },
10093
+ "response": {
10094
+ "status": 200,
10095
+ "body": "{\n \"experiments\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {}\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}",
10096
+ "headers": {
10097
+ "Content-Type": "application/json"
10098
+ }
10099
+ },
10100
+ "uuid": "bd75bcab-7889-4be2-8450-869b365b3fd6",
10101
+ "persistent": true,
10102
+ "priority": 3,
10103
+ "metadata": {
10104
+ "mocklab": {
10105
+ "created": {
10106
+ "at": "2020-01-01T00:00:00.000Z",
10107
+ "via": "SYSTEM"
10108
+ }
10109
+ }
10110
+ },
10111
+ "postServeActions": []
10112
+ },
10113
+ {
10114
+ "id": "8134b9b9-4d8a-4951-a430-6287adc0df07",
10115
+ "name": "Create an experiment for the Experiment Center. - default",
10116
+ "request": {
10117
+ "urlPathTemplate": "/experimentation/experiments",
10118
+ "method": "POST",
10119
+ "headers": {
10120
+ "Authorization": {
10121
+ "matches": "Bearer .+"
10122
+ }
10123
+ }
10124
+ },
10125
+ "response": {
10126
+ "status": 201,
10127
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10128
+ "headers": {
10129
+ "Content-Type": "application/json"
10130
+ }
10131
+ },
10132
+ "uuid": "8134b9b9-4d8a-4951-a430-6287adc0df07",
10133
+ "persistent": true,
10134
+ "priority": 3,
10135
+ "metadata": {
10136
+ "mocklab": {
10137
+ "created": {
10138
+ "at": "2020-01-01T00:00:00.000Z",
10139
+ "via": "SYSTEM"
10140
+ }
10141
+ }
10142
+ }
10143
+ },
10144
+ {
10145
+ "id": "274d4dba-dc33-4e37-8a85-e46845e575b9",
10146
+ "name": "Get an experiment by ID. - default",
10147
+ "request": {
10148
+ "urlPathTemplate": "/experimentation/experiments/{id}",
10149
+ "method": "GET",
10150
+ "headers": {
10151
+ "Authorization": {
10152
+ "matches": "Bearer .+"
10153
+ }
10154
+ },
10155
+ "pathParameters": {
10156
+ "id": {
10157
+ "equalTo": "id"
10158
+ }
10159
+ }
10160
+ },
10161
+ "response": {
10162
+ "status": 200,
10163
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10164
+ "headers": {
10165
+ "Content-Type": "application/json"
10166
+ }
10167
+ },
10168
+ "uuid": "274d4dba-dc33-4e37-8a85-e46845e575b9",
10169
+ "persistent": true,
10170
+ "priority": 3,
10171
+ "metadata": {
10172
+ "mocklab": {
10173
+ "created": {
10174
+ "at": "2020-01-01T00:00:00.000Z",
10175
+ "via": "SYSTEM"
10176
+ }
10177
+ }
10178
+ }
10179
+ },
10180
+ {
10181
+ "id": "0029389e-1345-4549-9a99-7244a9975ed8",
10182
+ "name": "Delete an experiment. - default",
10183
+ "request": {
10184
+ "urlPathTemplate": "/experimentation/experiments/{id}",
10185
+ "method": "DELETE",
10186
+ "headers": {
10187
+ "Authorization": {
10188
+ "matches": "Bearer .+"
10189
+ }
10190
+ },
10191
+ "pathParameters": {
10192
+ "id": {
10193
+ "equalTo": "id"
10194
+ }
10195
+ }
10196
+ },
10197
+ "response": {
10198
+ "status": 200,
10199
+ "body": "\"\"",
10200
+ "headers": {
10201
+ "Content-Type": "application/json"
10202
+ }
10203
+ },
10204
+ "uuid": "0029389e-1345-4549-9a99-7244a9975ed8",
10205
+ "persistent": true,
10206
+ "priority": 3,
10207
+ "metadata": {
10208
+ "mocklab": {
10209
+ "created": {
10210
+ "at": "2020-01-01T00:00:00.000Z",
10211
+ "via": "SYSTEM"
10212
+ }
10213
+ }
10214
+ }
10215
+ },
10216
+ {
10217
+ "id": "2f052315-dd21-4094-b6d2-095774dabfe2",
10218
+ "name": "Update an experiment. - default",
10219
+ "request": {
10220
+ "urlPathTemplate": "/experimentation/experiments/{id}",
10221
+ "method": "PATCH",
10222
+ "headers": {
10223
+ "Authorization": {
10224
+ "matches": "Bearer .+"
10225
+ }
10226
+ },
10227
+ "pathParameters": {
10228
+ "id": {
10229
+ "equalTo": "id"
10230
+ }
10231
+ }
10232
+ },
10233
+ "response": {
10234
+ "status": 200,
10235
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10236
+ "headers": {
10237
+ "Content-Type": "application/json"
10238
+ }
10239
+ },
10240
+ "uuid": "2f052315-dd21-4094-b6d2-095774dabfe2",
10241
+ "persistent": true,
10242
+ "priority": 3,
10243
+ "metadata": {
10244
+ "mocklab": {
10245
+ "created": {
10246
+ "at": "2020-01-01T00:00:00.000Z",
10247
+ "via": "SYSTEM"
10248
+ }
10249
+ }
10250
+ }
10251
+ },
10064
10252
  {
10065
10253
  "id": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3",
10066
10254
  "name": "Advance the rollout level of a ramp experiment. - default",
10067
10255
  "request": {
10068
- "urlPathTemplate": "/experimentation/experiments/{id}/advance-ramp",
10256
+ "urlPathTemplate": "/experimentation/experiments/{id}/advance-ramp",
10257
+ "method": "POST",
10258
+ "headers": {
10259
+ "Authorization": {
10260
+ "matches": "Bearer .+"
10261
+ }
10262
+ },
10263
+ "pathParameters": {
10264
+ "id": {
10265
+ "equalTo": "id"
10266
+ }
10267
+ }
10268
+ },
10269
+ "response": {
10270
+ "status": 201,
10271
+ "body": "{\n \"experiment_id\": \"experiment_id\",\n \"from_level\": 1,\n \"to_level\": 1,\n \"current_level\": 1\n}",
10272
+ "headers": {
10273
+ "Content-Type": "application/json"
10274
+ }
10275
+ },
10276
+ "uuid": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3",
10277
+ "persistent": true,
10278
+ "priority": 3,
10279
+ "metadata": {
10280
+ "mocklab": {
10281
+ "created": {
10282
+ "at": "2020-01-01T00:00:00.000Z",
10283
+ "via": "SYSTEM"
10284
+ }
10285
+ }
10286
+ }
10287
+ },
10288
+ {
10289
+ "id": "bad7af9d-5e89-4f47-b2d5-36b3d3560d91",
10290
+ "name": "Transition an experiment to a new status. - default",
10291
+ "request": {
10292
+ "urlPathTemplate": "/experimentation/experiments/{id}/status",
10293
+ "method": "POST",
10294
+ "headers": {
10295
+ "Authorization": {
10296
+ "matches": "Bearer .+"
10297
+ }
10298
+ },
10299
+ "pathParameters": {
10300
+ "id": {
10301
+ "equalTo": "id"
10302
+ }
10303
+ }
10304
+ },
10305
+ "response": {
10306
+ "status": 200,
10307
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10308
+ "headers": {
10309
+ "Content-Type": "application/json"
10310
+ }
10311
+ },
10312
+ "uuid": "bad7af9d-5e89-4f47-b2d5-36b3d3560d91",
10313
+ "persistent": true,
10314
+ "priority": 3,
10315
+ "metadata": {
10316
+ "mocklab": {
10317
+ "created": {
10318
+ "at": "2020-01-01T00:00:00.000Z",
10319
+ "via": "SYSTEM"
10320
+ }
10321
+ }
10322
+ }
10323
+ },
10324
+ {
10325
+ "id": "20ae6e00-fdf5-43c3-a259-bcdbc0129c9d",
10326
+ "name": "Validate an experiment. - default",
10327
+ "request": {
10328
+ "urlPathTemplate": "/experimentation/experiments/{id}/validate",
10329
+ "method": "POST",
10330
+ "headers": {
10331
+ "Authorization": {
10332
+ "matches": "Bearer .+"
10333
+ }
10334
+ },
10335
+ "pathParameters": {
10336
+ "id": {
10337
+ "equalTo": "id"
10338
+ }
10339
+ }
10340
+ },
10341
+ "response": {
10342
+ "status": 200,
10343
+ "body": "{\n \"is_valid\": true,\n \"errors\": [\n {\n \"code\": \"code\",\n \"message\": \"message\"\n }\n ]\n}",
10344
+ "headers": {
10345
+ "Content-Type": "application/json"
10346
+ }
10347
+ },
10348
+ "uuid": "20ae6e00-fdf5-43c3-a259-bcdbc0129c9d",
10349
+ "persistent": true,
10350
+ "priority": 3,
10351
+ "metadata": {
10352
+ "mocklab": {
10353
+ "created": {
10354
+ "at": "2020-01-01T00:00:00.000Z",
10355
+ "via": "SYSTEM"
10356
+ }
10357
+ }
10358
+ }
10359
+ },
10360
+ {
10361
+ "id": "c7a5a02e-7595-4d10-b58d-5a96d5a3f7c8",
10362
+ "name": "List feature flags for the tenant. - default",
10363
+ "request": {
10364
+ "urlPathTemplate": "/experimentation/feature-flags",
10365
+ "method": "GET",
10366
+ "headers": {
10367
+ "Authorization": {
10368
+ "matches": "Bearer .+"
10369
+ }
10370
+ },
10371
+ "queryParameters": {
10372
+ "from": {
10373
+ "equalTo": "from"
10374
+ },
10375
+ "take": {
10376
+ "equalTo": "1"
10377
+ },
10378
+ "type": {
10379
+ "equalTo": "auth0"
10380
+ },
10381
+ "status": {
10382
+ "equalTo": "draft"
10383
+ }
10384
+ }
10385
+ },
10386
+ "response": {
10387
+ "status": 200,
10388
+ "body": "{\n \"feature_flags\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}",
10389
+ "headers": {
10390
+ "Content-Type": "application/json"
10391
+ }
10392
+ },
10393
+ "uuid": "c7a5a02e-7595-4d10-b58d-5a96d5a3f7c8",
10394
+ "persistent": true,
10395
+ "priority": 3,
10396
+ "metadata": {
10397
+ "mocklab": {
10398
+ "created": {
10399
+ "at": "2020-01-01T00:00:00.000Z",
10400
+ "via": "SYSTEM"
10401
+ }
10402
+ }
10403
+ },
10404
+ "postServeActions": []
10405
+ },
10406
+ {
10407
+ "id": "5b965deb-f921-4ef0-b7db-7ba8c30d1fef",
10408
+ "name": "Create a feature flag for the Experiment Center. - default",
10409
+ "request": {
10410
+ "urlPathTemplate": "/experimentation/feature-flags",
10411
+ "method": "POST",
10412
+ "headers": {
10413
+ "Authorization": {
10414
+ "matches": "Bearer .+"
10415
+ }
10416
+ }
10417
+ },
10418
+ "response": {
10419
+ "status": 201,
10420
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10421
+ "headers": {
10422
+ "Content-Type": "application/json"
10423
+ }
10424
+ },
10425
+ "uuid": "5b965deb-f921-4ef0-b7db-7ba8c30d1fef",
10426
+ "persistent": true,
10427
+ "priority": 3,
10428
+ "metadata": {
10429
+ "mocklab": {
10430
+ "created": {
10431
+ "at": "2020-01-01T00:00:00.000Z",
10432
+ "via": "SYSTEM"
10433
+ }
10434
+ }
10435
+ }
10436
+ },
10437
+ {
10438
+ "id": "d67c44c6-dd70-4a7a-a203-566a40f7970f",
10439
+ "name": "Get a feature flag by ID. - default",
10440
+ "request": {
10441
+ "urlPathTemplate": "/experimentation/feature-flags/{id}",
10442
+ "method": "GET",
10443
+ "headers": {
10444
+ "Authorization": {
10445
+ "matches": "Bearer .+"
10446
+ }
10447
+ },
10448
+ "pathParameters": {
10449
+ "id": {
10450
+ "equalTo": "id"
10451
+ }
10452
+ }
10453
+ },
10454
+ "response": {
10455
+ "status": 200,
10456
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10457
+ "headers": {
10458
+ "Content-Type": "application/json"
10459
+ }
10460
+ },
10461
+ "uuid": "d67c44c6-dd70-4a7a-a203-566a40f7970f",
10462
+ "persistent": true,
10463
+ "priority": 3,
10464
+ "metadata": {
10465
+ "mocklab": {
10466
+ "created": {
10467
+ "at": "2020-01-01T00:00:00.000Z",
10468
+ "via": "SYSTEM"
10469
+ }
10470
+ }
10471
+ }
10472
+ },
10473
+ {
10474
+ "id": "94fc1535-b1de-4f15-a050-e0db73d2031d",
10475
+ "name": "Delete a feature flag. - default",
10476
+ "request": {
10477
+ "urlPathTemplate": "/experimentation/feature-flags/{id}",
10478
+ "method": "DELETE",
10479
+ "headers": {
10480
+ "Authorization": {
10481
+ "matches": "Bearer .+"
10482
+ }
10483
+ },
10484
+ "pathParameters": {
10485
+ "id": {
10486
+ "equalTo": "id"
10487
+ }
10488
+ }
10489
+ },
10490
+ "response": {
10491
+ "status": 200,
10492
+ "body": "\"\"",
10493
+ "headers": {
10494
+ "Content-Type": "application/json"
10495
+ }
10496
+ },
10497
+ "uuid": "94fc1535-b1de-4f15-a050-e0db73d2031d",
10498
+ "persistent": true,
10499
+ "priority": 3,
10500
+ "metadata": {
10501
+ "mocklab": {
10502
+ "created": {
10503
+ "at": "2020-01-01T00:00:00.000Z",
10504
+ "via": "SYSTEM"
10505
+ }
10506
+ }
10507
+ }
10508
+ },
10509
+ {
10510
+ "id": "fca842b6-3f36-4dfb-ae90-568e68695c8c",
10511
+ "name": "Update a feature flag. - default",
10512
+ "request": {
10513
+ "urlPathTemplate": "/experimentation/feature-flags/{id}",
10514
+ "method": "PATCH",
10515
+ "headers": {
10516
+ "Authorization": {
10517
+ "matches": "Bearer .+"
10518
+ }
10519
+ },
10520
+ "pathParameters": {
10521
+ "id": {
10522
+ "equalTo": "id"
10523
+ }
10524
+ }
10525
+ },
10526
+ "response": {
10527
+ "status": 200,
10528
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10529
+ "headers": {
10530
+ "Content-Type": "application/json"
10531
+ }
10532
+ },
10533
+ "uuid": "fca842b6-3f36-4dfb-ae90-568e68695c8c",
10534
+ "persistent": true,
10535
+ "priority": 3,
10536
+ "metadata": {
10537
+ "mocklab": {
10538
+ "created": {
10539
+ "at": "2020-01-01T00:00:00.000Z",
10540
+ "via": "SYSTEM"
10541
+ }
10542
+ }
10543
+ }
10544
+ },
10545
+ {
10546
+ "id": "e8918863-9064-44c0-a1b7-db3c423377a1",
10547
+ "name": "Transition a feature flag to a new status. - default",
10548
+ "request": {
10549
+ "urlPathTemplate": "/experimentation/feature-flags/{id}/status",
10550
+ "method": "POST",
10551
+ "headers": {
10552
+ "Authorization": {
10553
+ "matches": "Bearer .+"
10554
+ }
10555
+ },
10556
+ "pathParameters": {
10557
+ "id": {
10558
+ "equalTo": "id"
10559
+ }
10560
+ }
10561
+ },
10562
+ "response": {
10563
+ "status": 200,
10564
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10565
+ "headers": {
10566
+ "Content-Type": "application/json"
10567
+ }
10568
+ },
10569
+ "uuid": "e8918863-9064-44c0-a1b7-db3c423377a1",
10570
+ "persistent": true,
10571
+ "priority": 3,
10572
+ "metadata": {
10573
+ "mocklab": {
10574
+ "created": {
10575
+ "at": "2020-01-01T00:00:00.000Z",
10576
+ "via": "SYSTEM"
10577
+ }
10578
+ }
10579
+ }
10580
+ },
10581
+ {
10582
+ "id": "f3d101fb-cdd6-4ae1-9613-a72ab8cb6207",
10583
+ "name": "List segments for the tenant. - default",
10584
+ "request": {
10585
+ "urlPathTemplate": "/experimentation/segments",
10586
+ "method": "GET",
10587
+ "headers": {
10588
+ "Authorization": {
10589
+ "matches": "Bearer .+"
10590
+ }
10591
+ },
10592
+ "queryParameters": {
10593
+ "from": {
10594
+ "equalTo": "from"
10595
+ },
10596
+ "take": {
10597
+ "equalTo": "1"
10598
+ },
10599
+ "type": {
10600
+ "equalTo": "auth0"
10601
+ }
10602
+ }
10603
+ },
10604
+ "response": {
10605
+ "status": 200,
10606
+ "body": "{\n \"segments\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}",
10607
+ "headers": {
10608
+ "Content-Type": "application/json"
10609
+ }
10610
+ },
10611
+ "uuid": "f3d101fb-cdd6-4ae1-9613-a72ab8cb6207",
10612
+ "persistent": true,
10613
+ "priority": 3,
10614
+ "metadata": {
10615
+ "mocklab": {
10616
+ "created": {
10617
+ "at": "2020-01-01T00:00:00.000Z",
10618
+ "via": "SYSTEM"
10619
+ }
10620
+ }
10621
+ },
10622
+ "postServeActions": []
10623
+ },
10624
+ {
10625
+ "id": "d8d193b6-8822-4d36-8044-479bd24483e1",
10626
+ "name": "Create a segment for the Experiment Center. - default",
10627
+ "request": {
10628
+ "urlPathTemplate": "/experimentation/segments",
10629
+ "method": "POST",
10630
+ "headers": {
10631
+ "Authorization": {
10632
+ "matches": "Bearer .+"
10633
+ }
10634
+ }
10635
+ },
10636
+ "response": {
10637
+ "status": 201,
10638
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10639
+ "headers": {
10640
+ "Content-Type": "application/json"
10641
+ }
10642
+ },
10643
+ "uuid": "d8d193b6-8822-4d36-8044-479bd24483e1",
10644
+ "persistent": true,
10645
+ "priority": 3,
10646
+ "metadata": {
10647
+ "mocklab": {
10648
+ "created": {
10649
+ "at": "2020-01-01T00:00:00.000Z",
10650
+ "via": "SYSTEM"
10651
+ }
10652
+ }
10653
+ }
10654
+ },
10655
+ {
10656
+ "id": "f205ed84-327b-4abc-9154-889fab0fb681",
10657
+ "name": "Get a segment by ID. - default",
10658
+ "request": {
10659
+ "urlPathTemplate": "/experimentation/segments/{id}",
10660
+ "method": "GET",
10661
+ "headers": {
10662
+ "Authorization": {
10663
+ "matches": "Bearer .+"
10664
+ }
10665
+ },
10666
+ "pathParameters": {
10667
+ "id": {
10668
+ "equalTo": "id"
10669
+ }
10670
+ }
10671
+ },
10672
+ "response": {
10673
+ "status": 200,
10674
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10675
+ "headers": {
10676
+ "Content-Type": "application/json"
10677
+ }
10678
+ },
10679
+ "uuid": "f205ed84-327b-4abc-9154-889fab0fb681",
10680
+ "persistent": true,
10681
+ "priority": 3,
10682
+ "metadata": {
10683
+ "mocklab": {
10684
+ "created": {
10685
+ "at": "2020-01-01T00:00:00.000Z",
10686
+ "via": "SYSTEM"
10687
+ }
10688
+ }
10689
+ }
10690
+ },
10691
+ {
10692
+ "id": "1f1e87b3-9fdc-4b26-8ac2-537a57b6d8ae",
10693
+ "name": "Delete a segment. - default",
10694
+ "request": {
10695
+ "urlPathTemplate": "/experimentation/segments/{id}",
10696
+ "method": "DELETE",
10697
+ "headers": {
10698
+ "Authorization": {
10699
+ "matches": "Bearer .+"
10700
+ }
10701
+ },
10702
+ "pathParameters": {
10703
+ "id": {
10704
+ "equalTo": "id"
10705
+ }
10706
+ }
10707
+ },
10708
+ "response": {
10709
+ "status": 200,
10710
+ "body": "\"\"",
10711
+ "headers": {
10712
+ "Content-Type": "application/json"
10713
+ }
10714
+ },
10715
+ "uuid": "1f1e87b3-9fdc-4b26-8ac2-537a57b6d8ae",
10716
+ "persistent": true,
10717
+ "priority": 3,
10718
+ "metadata": {
10719
+ "mocklab": {
10720
+ "created": {
10721
+ "at": "2020-01-01T00:00:00.000Z",
10722
+ "via": "SYSTEM"
10723
+ }
10724
+ }
10725
+ }
10726
+ },
10727
+ {
10728
+ "id": "e2397c3e-6009-45bf-8ebd-62d6d9ccc2bd",
10729
+ "name": "Update a segment. - default",
10730
+ "request": {
10731
+ "urlPathTemplate": "/experimentation/segments/{id}",
10732
+ "method": "PATCH",
10733
+ "headers": {
10734
+ "Authorization": {
10735
+ "matches": "Bearer .+"
10736
+ }
10737
+ },
10738
+ "pathParameters": {
10739
+ "id": {
10740
+ "equalTo": "id"
10741
+ }
10742
+ }
10743
+ },
10744
+ "response": {
10745
+ "status": 200,
10746
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10747
+ "headers": {
10748
+ "Content-Type": "application/json"
10749
+ }
10750
+ },
10751
+ "uuid": "e2397c3e-6009-45bf-8ebd-62d6d9ccc2bd",
10752
+ "persistent": true,
10753
+ "priority": 3,
10754
+ "metadata": {
10755
+ "mocklab": {
10756
+ "created": {
10757
+ "at": "2020-01-01T00:00:00.000Z",
10758
+ "via": "SYSTEM"
10759
+ }
10760
+ }
10761
+ }
10762
+ },
10763
+ {
10764
+ "id": "1abb2607-78fd-4896-bc90-9384a36aafdc",
10765
+ "name": "List all variations for a feature flag. - default",
10766
+ "request": {
10767
+ "urlPathTemplate": "/experimentation/feature-flags/{id}/variations",
10768
+ "method": "GET",
10769
+ "headers": {
10770
+ "Authorization": {
10771
+ "matches": "Bearer .+"
10772
+ }
10773
+ },
10774
+ "pathParameters": {
10775
+ "id": {
10776
+ "equalTo": "id"
10777
+ }
10778
+ }
10779
+ },
10780
+ "response": {
10781
+ "status": 200,
10782
+ "body": "{\n \"variations\": [\n {\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}",
10783
+ "headers": {
10784
+ "Content-Type": "application/json"
10785
+ }
10786
+ },
10787
+ "uuid": "1abb2607-78fd-4896-bc90-9384a36aafdc",
10788
+ "persistent": true,
10789
+ "priority": 3,
10790
+ "metadata": {
10791
+ "mocklab": {
10792
+ "created": {
10793
+ "at": "2020-01-01T00:00:00.000Z",
10794
+ "via": "SYSTEM"
10795
+ }
10796
+ }
10797
+ }
10798
+ },
10799
+ {
10800
+ "id": "c9d939f1-99ea-420a-a6ad-0f672876141b",
10801
+ "name": "Create a variation for a feature flag. - default",
10802
+ "request": {
10803
+ "urlPathTemplate": "/experimentation/feature-flags/{id}/variations",
10069
10804
  "method": "POST",
10070
10805
  "headers": {
10071
10806
  "Authorization": {
@@ -10080,12 +10815,129 @@
10080
10815
  },
10081
10816
  "response": {
10082
10817
  "status": 201,
10083
- "body": "{\n \"experiment_id\": \"experiment_id\",\n \"from_level\": 1,\n \"to_level\": 1,\n \"current_level\": 1\n}",
10818
+ "body": "{\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10084
10819
  "headers": {
10085
10820
  "Content-Type": "application/json"
10086
10821
  }
10087
10822
  },
10088
- "uuid": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3",
10823
+ "uuid": "c9d939f1-99ea-420a-a6ad-0f672876141b",
10824
+ "persistent": true,
10825
+ "priority": 3,
10826
+ "metadata": {
10827
+ "mocklab": {
10828
+ "created": {
10829
+ "at": "2020-01-01T00:00:00.000Z",
10830
+ "via": "SYSTEM"
10831
+ }
10832
+ }
10833
+ }
10834
+ },
10835
+ {
10836
+ "id": "e2d62924-fd55-44bd-a420-b2af14221ab3",
10837
+ "name": "Get a variation by ID. - default",
10838
+ "request": {
10839
+ "urlPathTemplate": "/experimentation/feature-flags/{id}/variations/{vid}",
10840
+ "method": "GET",
10841
+ "headers": {
10842
+ "Authorization": {
10843
+ "matches": "Bearer .+"
10844
+ }
10845
+ },
10846
+ "pathParameters": {
10847
+ "id": {
10848
+ "equalTo": "id"
10849
+ },
10850
+ "vid": {
10851
+ "equalTo": "vid"
10852
+ }
10853
+ }
10854
+ },
10855
+ "response": {
10856
+ "status": 200,
10857
+ "body": "{\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10858
+ "headers": {
10859
+ "Content-Type": "application/json"
10860
+ }
10861
+ },
10862
+ "uuid": "e2d62924-fd55-44bd-a420-b2af14221ab3",
10863
+ "persistent": true,
10864
+ "priority": 3,
10865
+ "metadata": {
10866
+ "mocklab": {
10867
+ "created": {
10868
+ "at": "2020-01-01T00:00:00.000Z",
10869
+ "via": "SYSTEM"
10870
+ }
10871
+ }
10872
+ }
10873
+ },
10874
+ {
10875
+ "id": "c581e83f-a6d2-4f3f-b7c3-fd93c5d99b1b",
10876
+ "name": "Delete a variation. - default",
10877
+ "request": {
10878
+ "urlPathTemplate": "/experimentation/feature-flags/{id}/variations/{vid}",
10879
+ "method": "DELETE",
10880
+ "headers": {
10881
+ "Authorization": {
10882
+ "matches": "Bearer .+"
10883
+ }
10884
+ },
10885
+ "pathParameters": {
10886
+ "id": {
10887
+ "equalTo": "id"
10888
+ },
10889
+ "vid": {
10890
+ "equalTo": "vid"
10891
+ }
10892
+ }
10893
+ },
10894
+ "response": {
10895
+ "status": 200,
10896
+ "body": "\"\"",
10897
+ "headers": {
10898
+ "Content-Type": "application/json"
10899
+ }
10900
+ },
10901
+ "uuid": "c581e83f-a6d2-4f3f-b7c3-fd93c5d99b1b",
10902
+ "persistent": true,
10903
+ "priority": 3,
10904
+ "metadata": {
10905
+ "mocklab": {
10906
+ "created": {
10907
+ "at": "2020-01-01T00:00:00.000Z",
10908
+ "via": "SYSTEM"
10909
+ }
10910
+ }
10911
+ }
10912
+ },
10913
+ {
10914
+ "id": "f2b8f79d-6aa1-47c2-8894-b917b3dea8e3",
10915
+ "name": "Update a variation. - default",
10916
+ "request": {
10917
+ "urlPathTemplate": "/experimentation/feature-flags/{id}/variations/{vid}",
10918
+ "method": "PATCH",
10919
+ "headers": {
10920
+ "Authorization": {
10921
+ "matches": "Bearer .+"
10922
+ }
10923
+ },
10924
+ "pathParameters": {
10925
+ "id": {
10926
+ "equalTo": "id"
10927
+ },
10928
+ "vid": {
10929
+ "equalTo": "vid"
10930
+ }
10931
+ }
10932
+ },
10933
+ "response": {
10934
+ "status": 200,
10935
+ "body": "{\n \"id\": \"id\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"overrides\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
10936
+ "headers": {
10937
+ "Content-Type": "application/json"
10938
+ }
10939
+ },
10940
+ "uuid": "f2b8f79d-6aa1-47c2-8894-b917b3dea8e3",
10089
10941
  "persistent": true,
10090
10942
  "priority": 3,
10091
10943
  "metadata": {
@@ -14006,120 +14858,6 @@
14006
14858
  }
14007
14859
  }
14008
14860
  },
14009
- {
14010
- "id": "c2f5ec1c-5df7-4f2c-9343-e5e3f3f637ef",
14011
- "name": "Get organization template for organization - default",
14012
- "request": {
14013
- "urlPathTemplate": "/organizations/{id}/organization-templates",
14014
- "method": "GET",
14015
- "headers": {
14016
- "Authorization": {
14017
- "matches": "Bearer .+"
14018
- }
14019
- },
14020
- "pathParameters": {
14021
- "id": {
14022
- "equalTo": "id"
14023
- }
14024
- }
14025
- },
14026
- "response": {
14027
- "status": 200,
14028
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_default\": true,\n \"organization_deletion_behavior\": \"allow\",\n \"connection_deletion_behavior\": \"allow\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true,\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"adfs\"\n ],\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"admin_roles_assignment\": [\n \"admin_roles_assignment\"\n ],\n \"use_for_organization_discovery\": {\n \"default_value\": true,\n \"allowed_values\": [\n true\n ]\n },\n \"role_visibility_policy\": {\n \"default_value\": \"write\",\n \"overrides\": [\n {\n \"role_id\": \"role_id\",\n \"access\": \"write\"\n }\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
14029
- "headers": {
14030
- "Content-Type": "application/json"
14031
- }
14032
- },
14033
- "uuid": "c2f5ec1c-5df7-4f2c-9343-e5e3f3f637ef",
14034
- "persistent": true,
14035
- "priority": 3,
14036
- "metadata": {
14037
- "mocklab": {
14038
- "created": {
14039
- "at": "2020-01-01T00:00:00.000Z",
14040
- "via": "SYSTEM"
14041
- }
14042
- }
14043
- }
14044
- },
14045
- {
14046
- "id": "50ff1eeb-7359-44c1-94f5-552cd5844704",
14047
- "name": "Assign an organization template to an organization - default",
14048
- "request": {
14049
- "urlPathTemplate": "/organizations/{id}/organization-templates/{template_id}",
14050
- "method": "PUT",
14051
- "headers": {
14052
- "Authorization": {
14053
- "matches": "Bearer .+"
14054
- }
14055
- },
14056
- "pathParameters": {
14057
- "id": {
14058
- "equalTo": "id"
14059
- },
14060
- "template_id": {
14061
- "equalTo": "template_id"
14062
- }
14063
- }
14064
- },
14065
- "response": {
14066
- "status": 200,
14067
- "body": "\"\"",
14068
- "headers": {
14069
- "Content-Type": "application/json"
14070
- }
14071
- },
14072
- "uuid": "50ff1eeb-7359-44c1-94f5-552cd5844704",
14073
- "persistent": true,
14074
- "priority": 3,
14075
- "metadata": {
14076
- "mocklab": {
14077
- "created": {
14078
- "at": "2020-01-01T00:00:00.000Z",
14079
- "via": "SYSTEM"
14080
- }
14081
- }
14082
- }
14083
- },
14084
- {
14085
- "id": "f4cc26a9-f247-4729-96f3-d61861a61351",
14086
- "name": "Unassign an organization template from an organization - default",
14087
- "request": {
14088
- "urlPathTemplate": "/organizations/{id}/organization-templates/{template_id}",
14089
- "method": "DELETE",
14090
- "headers": {
14091
- "Authorization": {
14092
- "matches": "Bearer .+"
14093
- }
14094
- },
14095
- "pathParameters": {
14096
- "id": {
14097
- "equalTo": "id"
14098
- },
14099
- "template_id": {
14100
- "equalTo": "template_id"
14101
- }
14102
- }
14103
- },
14104
- "response": {
14105
- "status": 200,
14106
- "body": "\"\"",
14107
- "headers": {
14108
- "Content-Type": "application/json"
14109
- }
14110
- },
14111
- "uuid": "f4cc26a9-f247-4729-96f3-d61861a61351",
14112
- "persistent": true,
14113
- "priority": 3,
14114
- "metadata": {
14115
- "mocklab": {
14116
- "created": {
14117
- "at": "2020-01-01T00:00:00.000Z",
14118
- "via": "SYSTEM"
14119
- }
14120
- }
14121
- }
14122
- },
14123
14861
  {
14124
14862
  "id": "6d9e3ba1-00dd-4040-89c3-a856e4b77da2",
14125
14863
  "name": "List the groups that are assigned to the organization. - default",
@@ -17105,6 +17843,6 @@
17105
17843
  }
17106
17844
  ],
17107
17845
  "meta": {
17108
- "total": 457
17846
+ "total": 477
17109
17847
  }
17110
17848
  }