Skip to content

Commit bcc1230

Browse files
authored
Add project_routing param to _project/tags (#5730)
* Add project_routing param to _project/tags
1 parent c8b7c21 commit bcc1230

File tree

5 files changed

+98
-20
lines changed

5 files changed

+98
-20
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 59 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 23 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/project.tags.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@
1313
"paths": [
1414
{
1515
"path": "/_project/tags",
16-
"methods": ["GET"]
16+
"methods": ["GET", "POST"]
1717
}
1818
]
19+
},
20+
"params": {
21+
"project_routing": {
22+
"type": "string",
23+
"description": "A Lucene query using project metadata tags used to filter which projects are returned in the response, such as _alias:_origin or _alias:*pr*."
24+
}
1925
}
2026
}
2127
}

specification/project/tags/TagsRequest.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ export interface Request extends RequestBase {
3333
urls: [
3434
{
3535
path: '/_project/tags'
36-
methods: ['GET']
36+
methods: ['GET', 'POST']
3737
}
3838
]
39+
query_parameters: {
40+
/**
41+
* A Lucene query using project metadata tags used to filter which projects are returned in the response, such as _alias:_origin or _alias:*pr*.
42+
* @availability serverless stability=experimental visibility=public
43+
*/
44+
project_routing?: string
45+
}
3946
}

0 commit comments

Comments
 (0)