@@ -21,62 +21,45 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Requests;
2121
2222internal static class ApiUrlLookup
2323{
24- internal static ApiUrls AsyncSearchStatus = new ApiUrls ( new [ ] { "_async_search/status/{id}" } ) ;
2524 internal static ApiUrls AsyncSearchDelete = new ApiUrls ( new [ ] { "_async_search/{id}" } ) ;
2625 internal static ApiUrls AsyncSearchGet = new ApiUrls ( new [ ] { "_async_search/{id}" } ) ;
26+ internal static ApiUrls AsyncSearchStatus = new ApiUrls ( new [ ] { "_async_search/status/{id}" } ) ;
2727 internal static ApiUrls AsyncSearchSubmit = new ApiUrls ( new [ ] { "_async_search" , "{index}/_async_search" } ) ;
28- internal static ApiUrls NoNamespaceBulk = new ApiUrls ( new [ ] { "_bulk" , "{index}/_bulk" } ) ;
29- internal static ApiUrls NoNamespaceClearScroll = new ApiUrls ( new [ ] { "_search/scroll" } ) ;
30- internal static ApiUrls NoNamespaceClosePointInTime = new ApiUrls ( new [ ] { "_pit" } ) ;
3128 internal static ApiUrls ClusterAllocationExplain = new ApiUrls ( new [ ] { "_cluster/allocation/explain" } ) ;
32- internal static ApiUrls ClusterStats = new ApiUrls ( new [ ] { "_cluster/stats" , "_cluster/stats/nodes/{node_id}" } ) ;
3329 internal static ApiUrls ClusterGetSettings = new ApiUrls ( new [ ] { "_cluster/settings" } ) ;
3430 internal static ApiUrls ClusterHealth = new ApiUrls ( new [ ] { "_cluster/health" , "_cluster/health/{index}" } ) ;
3531 internal static ApiUrls ClusterPendingTasks = new ApiUrls ( new [ ] { "_cluster/pending_tasks" } ) ;
36- internal static ApiUrls NoNamespaceCount = new ApiUrls ( new [ ] { "_count" , "{index}/_count" } ) ;
37- internal static ApiUrls NoNamespaceCreate = new ApiUrls ( new [ ] { "{index}/_create/{id}" } ) ;
38- internal static ApiUrls NoNamespaceDeleteByQuery = new ApiUrls ( new [ ] { "{index}/_delete_by_query" } ) ;
39- internal static ApiUrls NoNamespaceDeleteByQueryRethrottle = new ApiUrls ( new [ ] { "_delete_by_query/{task_id}/_rethrottle" } ) ;
40- internal static ApiUrls NoNamespaceDelete = new ApiUrls ( new [ ] { "{index}/_doc/{id}" } ) ;
41- internal static ApiUrls NoNamespaceDeleteScript = new ApiUrls ( new [ ] { "_scripts/{id}" } ) ;
32+ internal static ApiUrls ClusterStats = new ApiUrls ( new [ ] { "_cluster/stats" , "_cluster/stats/nodes/{node_id}" } ) ;
4233 internal static ApiUrls EnrichDeletePolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}" } ) ;
43- internal static ApiUrls EnrichStats = new ApiUrls ( new [ ] { "_enrich/_stats" } ) ;
4434 internal static ApiUrls EnrichExecutePolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}/_execute" } ) ;
4535 internal static ApiUrls EnrichGetPolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}" , "_enrich/policy" } ) ;
4636 internal static ApiUrls EnrichPutPolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}" } ) ;
37+ internal static ApiUrls EnrichStats = new ApiUrls ( new [ ] { "_enrich/_stats" } ) ;
4738 internal static ApiUrls EqlDelete = new ApiUrls ( new [ ] { "_eql/search/{id}" } ) ;
4839 internal static ApiUrls EqlGet = new ApiUrls ( new [ ] { "_eql/search/{id}" } ) ;
49- internal static ApiUrls EqlSearch = new ApiUrls ( new [ ] { "{index}/_eql/search" } ) ;
5040 internal static ApiUrls EqlGetStatus = new ApiUrls ( new [ ] { "_eql/search/status/{id}" } ) ;
51- internal static ApiUrls NoNamespaceExists = new ApiUrls ( new [ ] { "{index}/_doc/{id}" } ) ;
52- internal static ApiUrls NoNamespaceExistsSource = new ApiUrls ( new [ ] { "{index}/_source/{id}" } ) ;
53- internal static ApiUrls NoNamespaceExplain = new ApiUrls ( new [ ] { "{index}/_explain/{id}" } ) ;
54- internal static ApiUrls NoNamespaceFieldCaps = new ApiUrls ( new [ ] { "_field_caps" , "{index}/_field_caps" } ) ;
55- internal static ApiUrls NoNamespaceGet = new ApiUrls ( new [ ] { "{index}/_doc/{id}" } ) ;
56- internal static ApiUrls NoNamespaceGetScript = new ApiUrls ( new [ ] { "_scripts/{id}" } ) ;
57- internal static ApiUrls NoNamespaceGetSource = new ApiUrls ( new [ ] { "{index}/_source/{id}" } ) ;
41+ internal static ApiUrls EqlSearch = new ApiUrls ( new [ ] { "{index}/_eql/search" } ) ;
5842 internal static ApiUrls GraphExplore = new ApiUrls ( new [ ] { "{index}/_graph/explore" } ) ;
5943 internal static ApiUrls IndexManagementClose = new ApiUrls ( new [ ] { "{index}/_close" } ) ;
60- internal static ApiUrls IndexManagementCreateDataStream = new ApiUrls ( new [ ] { "_data_stream/{name}" } ) ;
6144 internal static ApiUrls IndexManagementCreate = new ApiUrls ( new [ ] { "{index}" } ) ;
45+ internal static ApiUrls IndexManagementCreateDataStream = new ApiUrls ( new [ ] { "_data_stream/{name}" } ) ;
46+ internal static ApiUrls IndexManagementDelete = new ApiUrls ( new [ ] { "{index}" } ) ;
6247 internal static ApiUrls IndexManagementDeleteAlias = new ApiUrls ( new [ ] { "{index}/_alias/{name}" } ) ;
6348 internal static ApiUrls IndexManagementDeleteDataLifecycle = new ApiUrls ( new [ ] { "_data_stream/{name}/_lifecycle" } ) ;
6449 internal static ApiUrls IndexManagementDeleteDataStream = new ApiUrls ( new [ ] { "_data_stream/{name}" } ) ;
65- internal static ApiUrls IndexManagementDelete = new ApiUrls ( new [ ] { "{index}" } ) ;
6650 internal static ApiUrls IndexManagementDeleteIndexTemplate = new ApiUrls ( new [ ] { "_index_template/{name}" } ) ;
51+ internal static ApiUrls IndexManagementExists = new ApiUrls ( new [ ] { "{index}" } ) ;
6752 internal static ApiUrls IndexManagementExistsAlias = new ApiUrls ( new [ ] { "_alias/{name}" , "{index}/_alias/{name}" } ) ;
6853 internal static ApiUrls IndexManagementExistsIndexTemplate = new ApiUrls ( new [ ] { "_index_template/{name}" } ) ;
69- internal static ApiUrls IndexManagementExists = new ApiUrls ( new [ ] { "{index}" } ) ;
7054 internal static ApiUrls IndexManagementExplainDataLifecycle = new ApiUrls ( new [ ] { "{index}/_lifecycle/explain" } ) ;
7155 internal static ApiUrls IndexManagementFlush = new ApiUrls ( new [ ] { "_flush" , "{index}/_flush" } ) ;
7256 internal static ApiUrls IndexManagementForcemerge = new ApiUrls ( new [ ] { "_forcemerge" , "{index}/_forcemerge" } ) ;
57+ internal static ApiUrls IndexManagementGet = new ApiUrls ( new [ ] { "{index}" } ) ;
7358 internal static ApiUrls IndexManagementGetAlias = new ApiUrls ( new [ ] { "_alias" , "_alias/{name}" , "{index}/_alias/{name}" , "{index}/_alias" } ) ;
7459 internal static ApiUrls IndexManagementGetDataLifecycle = new ApiUrls ( new [ ] { "_data_stream/{name}/_lifecycle" } ) ;
7560 internal static ApiUrls IndexManagementGetDataStream = new ApiUrls ( new [ ] { "_data_stream" , "_data_stream/{name}" } ) ;
76- internal static ApiUrls IndexManagementGet = new ApiUrls ( new [ ] { "{index}" } ) ;
7761 internal static ApiUrls IndexManagementGetIndexTemplate = new ApiUrls ( new [ ] { "_index_template" , "_index_template/{name}" } ) ;
7862 internal static ApiUrls IndexManagementGetMapping = new ApiUrls ( new [ ] { "_mapping" , "{index}/_mapping" } ) ;
79- internal static ApiUrls IndexManagementStats = new ApiUrls ( new [ ] { "_stats" , "_stats/{metric}" , "{index}/_stats" , "{index}/_stats/{metric}" } ) ;
8063 internal static ApiUrls IndexManagementMigrateToDataStream = new ApiUrls ( new [ ] { "_data_stream/_migrate/{name}" } ) ;
8164 internal static ApiUrls IndexManagementOpen = new ApiUrls ( new [ ] { "{index}/_open" } ) ;
8265 internal static ApiUrls IndexManagementPutAlias = new ApiUrls ( new [ ] { "{index}/_alias/{name}" } ) ;
@@ -88,15 +71,32 @@ internal static class ApiUrlLookup
8871 internal static ApiUrls IndexManagementRollover = new ApiUrls ( new [ ] { "{alias}/_rollover" , "{alias}/_rollover/{new_index}" } ) ;
8972 internal static ApiUrls IndexManagementSimulateIndexTemplate = new ApiUrls ( new [ ] { "_index_template/_simulate_index/{name}" } ) ;
9073 internal static ApiUrls IndexManagementSimulateTemplate = new ApiUrls ( new [ ] { "_index_template/_simulate" , "_index_template/_simulate/{name}" } ) ;
74+ internal static ApiUrls IndexManagementStats = new ApiUrls ( new [ ] { "_stats" , "_stats/{metric}" , "{index}/_stats" , "{index}/_stats/{metric}" } ) ;
9175 internal static ApiUrls IndexManagementUpdateAliases = new ApiUrls ( new [ ] { "_aliases" } ) ;
92- internal static ApiUrls NoNamespaceIndex = new ApiUrls ( new [ ] { "{index}/_doc/{id}" , "{index}/_doc" } ) ;
93- internal static ApiUrls NoNamespaceInfo = new ApiUrls ( new [ ] { "" } ) ;
9476 internal static ApiUrls IngestDeletePipeline = new ApiUrls ( new [ ] { "_ingest/pipeline/{id}" } ) ;
9577 internal static ApiUrls IngestGeoIpStats = new ApiUrls ( new [ ] { "_ingest/geoip/stats" } ) ;
9678 internal static ApiUrls IngestGetPipeline = new ApiUrls ( new [ ] { "_ingest/pipeline" , "_ingest/pipeline/{id}" } ) ;
9779 internal static ApiUrls IngestProcessorGrok = new ApiUrls ( new [ ] { "_ingest/processor/grok" } ) ;
9880 internal static ApiUrls IngestPutPipeline = new ApiUrls ( new [ ] { "_ingest/pipeline/{id}" } ) ;
9981 internal static ApiUrls IngestSimulate = new ApiUrls ( new [ ] { "_ingest/pipeline/_simulate" , "_ingest/pipeline/{id}/_simulate" } ) ;
82+ internal static ApiUrls NoNamespaceBulk = new ApiUrls ( new [ ] { "_bulk" , "{index}/_bulk" } ) ;
83+ internal static ApiUrls NoNamespaceClearScroll = new ApiUrls ( new [ ] { "_search/scroll" } ) ;
84+ internal static ApiUrls NoNamespaceClosePointInTime = new ApiUrls ( new [ ] { "_pit" } ) ;
85+ internal static ApiUrls NoNamespaceCount = new ApiUrls ( new [ ] { "_count" , "{index}/_count" } ) ;
86+ internal static ApiUrls NoNamespaceCreate = new ApiUrls ( new [ ] { "{index}/_create/{id}" } ) ;
87+ internal static ApiUrls NoNamespaceDelete = new ApiUrls ( new [ ] { "{index}/_doc/{id}" } ) ;
88+ internal static ApiUrls NoNamespaceDeleteByQuery = new ApiUrls ( new [ ] { "{index}/_delete_by_query" } ) ;
89+ internal static ApiUrls NoNamespaceDeleteByQueryRethrottle = new ApiUrls ( new [ ] { "_delete_by_query/{task_id}/_rethrottle" } ) ;
90+ internal static ApiUrls NoNamespaceDeleteScript = new ApiUrls ( new [ ] { "_scripts/{id}" } ) ;
91+ internal static ApiUrls NoNamespaceExists = new ApiUrls ( new [ ] { "{index}/_doc/{id}" } ) ;
92+ internal static ApiUrls NoNamespaceExistsSource = new ApiUrls ( new [ ] { "{index}/_source/{id}" } ) ;
93+ internal static ApiUrls NoNamespaceExplain = new ApiUrls ( new [ ] { "{index}/_explain/{id}" } ) ;
94+ internal static ApiUrls NoNamespaceFieldCaps = new ApiUrls ( new [ ] { "_field_caps" , "{index}/_field_caps" } ) ;
95+ internal static ApiUrls NoNamespaceGet = new ApiUrls ( new [ ] { "{index}/_doc/{id}" } ) ;
96+ internal static ApiUrls NoNamespaceGetScript = new ApiUrls ( new [ ] { "_scripts/{id}" } ) ;
97+ internal static ApiUrls NoNamespaceGetSource = new ApiUrls ( new [ ] { "{index}/_source/{id}" } ) ;
98+ internal static ApiUrls NoNamespaceIndex = new ApiUrls ( new [ ] { "{index}/_doc/{id}" , "{index}/_doc" } ) ;
99+ internal static ApiUrls NoNamespaceInfo = new ApiUrls ( new [ ] { "" } ) ;
100100 internal static ApiUrls NoNamespaceMget = new ApiUrls ( new [ ] { "_mget" , "{index}/_mget" } ) ;
101101 internal static ApiUrls NoNamespaceMsearch = new ApiUrls ( new [ ] { "_msearch" , "{index}/_msearch" } ) ;
102102 internal static ApiUrls NoNamespaceMsearchTemplate = new ApiUrls ( new [ ] { "_msearch/template" , "{index}/_msearch/template" } ) ;
@@ -111,6 +111,11 @@ internal static class ApiUrlLookup
111111 internal static ApiUrls NoNamespaceScroll = new ApiUrls ( new [ ] { "_search/scroll" } ) ;
112112 internal static ApiUrls NoNamespaceSearch = new ApiUrls ( new [ ] { "_search" , "{index}/_search" } ) ;
113113 internal static ApiUrls NoNamespaceSearchTemplate = new ApiUrls ( new [ ] { "_search/template" , "{index}/_search/template" } ) ;
114+ internal static ApiUrls NoNamespaceTermsEnum = new ApiUrls ( new [ ] { "{index}/_terms_enum" } ) ;
115+ internal static ApiUrls NoNamespaceTermvectors = new ApiUrls ( new [ ] { "{index}/_termvectors/{id}" , "{index}/_termvectors" } ) ;
116+ internal static ApiUrls NoNamespaceUpdate = new ApiUrls ( new [ ] { "{index}/_update/{id}" } ) ;
117+ internal static ApiUrls NoNamespaceUpdateByQuery = new ApiUrls ( new [ ] { "{index}/_update_by_query" } ) ;
118+ internal static ApiUrls NoNamespaceUpdateByQueryRethrottle = new ApiUrls ( new [ ] { "_update_by_query/{task_id}/_rethrottle" } ) ;
114119 internal static ApiUrls SqlClearCursor = new ApiUrls ( new [ ] { "_sql/close" } ) ;
115120 internal static ApiUrls SqlDeleteAsync = new ApiUrls ( new [ ] { "_sql/async/delete/{id}" } ) ;
116121 internal static ApiUrls SqlGetAsync = new ApiUrls ( new [ ] { "_sql/async/{id}" } ) ;
@@ -119,9 +124,4 @@ internal static class ApiUrlLookup
119124 internal static ApiUrls TasksCancel = new ApiUrls ( new [ ] { "_tasks/_cancel" , "_tasks/{task_id}/_cancel" } ) ;
120125 internal static ApiUrls TasksGet = new ApiUrls ( new [ ] { "_tasks/{task_id}" } ) ;
121126 internal static ApiUrls TasksList = new ApiUrls ( new [ ] { "_tasks" } ) ;
122- internal static ApiUrls NoNamespaceTermsEnum = new ApiUrls ( new [ ] { "{index}/_terms_enum" } ) ;
123- internal static ApiUrls NoNamespaceTermvectors = new ApiUrls ( new [ ] { "{index}/_termvectors/{id}" , "{index}/_termvectors" } ) ;
124- internal static ApiUrls NoNamespaceUpdateByQuery = new ApiUrls ( new [ ] { "{index}/_update_by_query" } ) ;
125- internal static ApiUrls NoNamespaceUpdateByQueryRethrottle = new ApiUrls ( new [ ] { "_update_by_query/{task_id}/_rethrottle" } ) ;
126- internal static ApiUrls NoNamespaceUpdate = new ApiUrls ( new [ ] { "{index}/_update/{id}" } ) ;
127127}
0 commit comments