diff --git a/output/schema/schema.json b/output/schema/schema.json index 04a1ea577e..2ff0f73e85 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -8249,6 +8249,31 @@ } ] }, + { + "availability": { + "stack": { + "stability": "experimental", + "visibility": "public" + } + }, + "description": "Get random sample of ingested data", + "docUrl": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-sample", + "name": "indices.get_sample", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/{index}/_sample" + } + ] + }, { "availability": { "serverless": { diff --git a/specification/_json_spec/indices.get_sample.json b/specification/_json_spec/indices.get_sample.json new file mode 100644 index 0000000000..51e783e1ea --- /dev/null +++ b/specification/_json_spec/indices.get_sample.json @@ -0,0 +1,27 @@ +{ + "indices.get_sample": { + "documentation": { + "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-sample", + "description": "Get random sample of ingested data" + }, + "stability": "experimental", + "visibility": "public", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/{index}/_sample", + "methods": ["GET"], + "parts": { + "index": { + "type": "string", + "description": "The name of a data stream or index" + } + } + } + ] + } + } +} diff --git a/specification/_json_spec/project.tags.json b/specification/_json_spec/project.tags.json index 290c755903..5647ab285a 100644 --- a/specification/_json_spec/project.tags.json +++ b/specification/_json_spec/project.tags.json @@ -1,7 +1,7 @@ { "project.tags": { "documentation": { - "url": "", + "url": null, "description": "Return tags defined for the project" }, "stability": "experimental",