From 1855b74c709cc30f49b2d9be44bfd9ae8a97f9b0 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Tue, 23 Sep 2025 04:07:40 +0000 Subject: [PATCH] Update rest-api-spec --- output/schema/schema.json | 28 +++++++++++++++++++ .../_json_spec/security.get_stats.json | 23 +++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 specification/_json_spec/security.get_stats.json diff --git a/output/schema/schema.json b/output/schema/schema.json index 59afa0a176..43433ac3cb 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -19866,6 +19866,34 @@ } ] }, + { + "availability": { + "stack": { + "stability": "stable", + "visibility": "public" + } + }, + "description": "Get security statistics for all nodes", + "docUrl": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-stats", + "name": "security.get_stats", + "request": null, + "requestBodyRequired": false, + "requestMediaType": [ + "application/json" + ], + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/_security/stats" + } + ] + }, { "availability": { "serverless": { diff --git a/specification/_json_spec/security.get_stats.json b/specification/_json_spec/security.get_stats.json new file mode 100644 index 0000000000..fa0f6e8b51 --- /dev/null +++ b/specification/_json_spec/security.get_stats.json @@ -0,0 +1,23 @@ +{ + "security.get_stats": { + "documentation": { + "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-stats", + "description": "Get security statistics for all nodes" + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_security/stats", + "methods": ["GET"] + } + ] + }, + "params": {} + } +}