However, when running this API against Serverless we get a 410 error:
>client.indices.put_template(body: {}, name: 'test')
[410] {"error":{"root_cause":[
{"type":"api_not_available_exception",
"reason":"uri [/_template/test] with method [PUT] exists but is not available when running in serverless mode"}],
"type":"api_not_available_exception",
"reason":"uri [/_template/test] with method [PUT] exists but is not available when running in serverless mode"},
"status":410}
(Elastic::Transport::Transport::Errors::Gone)
The definition for
indices.put_template
is out of sync with Serverless.The source code labels it as stable/public.
So the definition in schema.json produces:
However, when running this API against Serverless we get a 410 error: