Skip to content

Conversation

@pquentin
Copy link
Member

In GET /_component_template/{name} queries, the name is just a name, comma-separated values are not accepted, only wildcard expressions. I've tested it manually: GET _component_template/synthetics* returns many templates, while GET _component_template/synthetics@mappings,synthetics-mappings fails with "component template matching [synthetics@mappings,synthetics-mappings] not found". Source code:

@pquentin pquentin added >non-issue :Data Management/Indices APIs APIs to create and manage indices and templates auto-backport Automatically create backport pull requests when merged branch:9.2 branch:9.1 branch:8.19 labels Nov 19, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

"path": "/_component_template/{name}",
"methods": [
"GET"
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be amazing to also update spec, similarly to this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Yes, this is planned.

@pquentin pquentin merged commit 0ec3f85 into elastic:main Nov 20, 2025
34 checks passed
pquentin added a commit to pquentin/elasticsearch that referenced this pull request Nov 20, 2025
pquentin added a commit to pquentin/elasticsearch that referenced this pull request Nov 20, 2025
pquentin added a commit to pquentin/elasticsearch that referenced this pull request Nov 20, 2025
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.2
8.19
9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Data Management/Indices APIs APIs to create and manage indices and templates >non-issue Team:Data Management Meta label for data/management team v8.19.8 v9.1.8 v9.2.2 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants