Skip to content

Update rest-api-spec main #1758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions specification/_json_spec/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand Down
3 changes: 1 addition & 2 deletions specification/_json_spec/security.get_user_profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down