Skip to content

Commit

Permalink
Update rest-api-spec main (#2672)
Browse files Browse the repository at this point in the history
Co-authored-by: delvedor <[email protected]>
  • Loading branch information
github-actions[bot] and delvedor authored Jul 4, 2024
1 parent cdb84fa commit d555c1a
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 0 deletions.
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
}
}
}

0 comments on commit d555c1a

Please sign in to comment.