diff --git a/output/schema/schema.json b/output/schema/schema.json index 7174adab5a..5362072d14 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -10088,7 +10088,6 @@ { "description": "Creates or updates the user profile on behalf of another user.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.activate_user_profile", "request": { "name": "Request", @@ -10115,7 +10114,7 @@ "path": "/_security/profile/_activate" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Enables authentication as a user and retrieve information about the authenticated user.", @@ -10563,7 +10562,6 @@ { "description": "Disables a user profile so it's not visible in user profile searches.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-disable-user-profile.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.disable_user_profile", "request": { "name": "Request", @@ -10588,7 +10586,7 @@ "path": "/_security/profile/{uid}/_disable" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Enables users in the native realm.", @@ -10622,7 +10620,6 @@ { "description": "Enables a user profile so it's visible in user profile searches.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enable-user-profile.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.enable_user_profile", "request": { "name": "Request", @@ -10647,7 +10644,7 @@ "path": "/_security/profile/{uid}/_enable" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster.", @@ -11059,7 +11056,6 @@ { "description": "Retrieves user profile for the given unique ID.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-profile.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.get_user_profile", "request": { "name": "Request", @@ -11083,7 +11079,7 @@ "path": "/_security/profile/{uid}" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Creates an API key on behalf of another user.", @@ -11158,7 +11154,6 @@ { "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.has_privileges_user_profile", "request": null, "requestBodyRequired": true, @@ -11179,7 +11174,7 @@ "path": "/_security/profile/_has_privileges" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Invalidates one or more API keys.", @@ -11669,7 +11664,6 @@ { "description": "Get suggestions for user profiles that match specified search criteria.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.suggest_user_profiles", "request": { "name": "Request", @@ -11697,12 +11691,11 @@ "path": "/_security/profile/_suggest" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Update application specific data for the user profile of the given unique ID.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html", - "featureFlag": "es.user_profile_feature_flag_enabled", "name": "security.update_user_profile_data", "request": { "name": "Request", @@ -11730,7 +11723,7 @@ "path": "/_security/profile/{uid}/_data" } ], - "visibility": "feature_flag" + "visibility": "private" }, { "description": "Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 9f453ccd15..767ce79316 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1761,7 +1761,9 @@ ] }, "search": { - "request": [], + "request": [ + "Request: missing json spec query parameter 'force_synthetic_source'" + ], "response": [ "response definition _global.search:Response / body / instance_of - Non-leaf type cannot be used here: '_global.search:ResponseBody'" ] diff --git a/specification/_json_spec/search.json b/specification/_json_spec/search.json index 39b7d74d74..a49d9214b4 100644 --- a/specification/_json_spec/search.json +++ b/specification/_json_spec/search.json @@ -68,6 +68,12 @@ "type": "number", "description": "Starting offset (default: 0)" }, + "force_synthetic_source": { + "type": "boolean", + "description": "Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.", + "visibility": "feature_flag", + "feature_flag": "es.index_mode_feature_flag_registered" + }, "ignore_unavailable": { "type": "boolean", "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)" diff --git a/specification/_json_spec/security.activate_user_profile.json b/specification/_json_spec/security.activate_user_profile.json index 9f157b0b4b..cc5c7d0bf8 100644 --- a/specification/_json_spec/security.activate_user_profile.json +++ b/specification/_json_spec/security.activate_user_profile.json @@ -5,8 +5,7 @@ "description": "Creates or updates the user profile on behalf of another user." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/security.disable_user_profile.json b/specification/_json_spec/security.disable_user_profile.json index 2522a71f22..4b4c3cb1eb 100644 --- a/specification/_json_spec/security.disable_user_profile.json +++ b/specification/_json_spec/security.disable_user_profile.json @@ -5,8 +5,7 @@ "description": "Disables a user profile so it's not visible in user profile searches." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/security.enable_user_profile.json b/specification/_json_spec/security.enable_user_profile.json index 088857f702..2bc86c2284 100644 --- a/specification/_json_spec/security.enable_user_profile.json +++ b/specification/_json_spec/security.enable_user_profile.json @@ -5,8 +5,7 @@ "description": "Enables a user profile so it's visible in user profile searches." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/security.get_user_profile.json b/specification/_json_spec/security.get_user_profile.json index 5c7b97a238..c966c0998d 100644 --- a/specification/_json_spec/security.get_user_profile.json +++ b/specification/_json_spec/security.get_user_profile.json @@ -5,8 +5,7 @@ "description": "Retrieves user profile for the given unique ID." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"] }, diff --git a/specification/_json_spec/security.has_privileges_user_profile.json b/specification/_json_spec/security.has_privileges_user_profile.json index dd67eb24e8..fc143e3b48 100644 --- a/specification/_json_spec/security.has_privileges_user_profile.json +++ b/specification/_json_spec/security.has_privileges_user_profile.json @@ -5,8 +5,7 @@ "description": "Determines whether the users associated with the specified profile IDs have all the requested privileges." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/security.suggest_user_profiles.json b/specification/_json_spec/security.suggest_user_profiles.json index 0d9adf807f..482e2c557d 100644 --- a/specification/_json_spec/security.suggest_user_profiles.json +++ b/specification/_json_spec/security.suggest_user_profiles.json @@ -5,8 +5,7 @@ "description": "Get suggestions for user profiles that match specified search criteria." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/security.update_user_profile_data.json b/specification/_json_spec/security.update_user_profile_data.json index 4b2fe4c9cf..6cd128bbfc 100644 --- a/specification/_json_spec/security.update_user_profile_data.json +++ b/specification/_json_spec/security.update_user_profile_data.json @@ -5,8 +5,7 @@ "description": "Update application specific data for the user profile of the given unique ID." }, "stability": "experimental", - "visibility": "feature_flag", - "feature_flag": "es.user_profile_feature_flag_enabled", + "visibility": "private", "headers": { "accept": ["application/json"], "content_type": ["application/json"]