Skip to content

[Backport 8.15] Update rest-api-spec main #2693

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
Jul 9, 2024
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
91 changes: 91 additions & 0 deletions output/schema/schema.json

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

18 changes: 18 additions & 0 deletions output/schema/validation-errors.json

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

33 changes: 33 additions & 0 deletions specification/_json_spec/security.bulk_delete_role.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"security.bulk_delete_role": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-delete-role.html",
"description": "Bulk delete roles in the native realm."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_security/role",
"methods": ["DELETE"]
}
]
},
"params": {
"refresh": {
"type": "enum",
"options": ["true", "false", "wait_for"],
"description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes."
}
},
"body": {
"description": "The roles to delete",
"required": true
}
}
}
33 changes: 33 additions & 0 deletions specification/_json_spec/security.bulk_put_role.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"security.bulk_put_role": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-put-role.html",
"description": "Bulk adds and updates roles in the native realm."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_security/role",
"methods": ["POST"]
}
]
},
"params": {
"refresh": {
"type": "enum",
"options": ["true", "false", "wait_for"],
"description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes."
}
},
"body": {
"description": "The roles to add",
"required": true
}
}
}
26 changes: 26 additions & 0 deletions specification/_json_spec/security.query_role.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"security.query_role": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-role.html",
"description": "Retrieves information for Roles using a subset of query DSL"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_security/_query/role",
"methods": ["GET", "POST"]
}
]
},
"body": {
"description": "From, size, query, sort and search_after",
"required": false
}
}
}
Loading