@@ -21,62 +21,45 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Requests;
21
21
22
22
internal static class ApiUrlLookup
23
23
{
24
- internal static ApiUrls AsyncSearchStatus = new ApiUrls ( new [ ] { "_async_search/status/{id}" } ) ;
25
24
internal static ApiUrls AsyncSearchDelete = new ApiUrls ( new [ ] { "_async_search/{id}" } ) ;
26
25
internal static ApiUrls AsyncSearchGet = new ApiUrls ( new [ ] { "_async_search/{id}" } ) ;
26
+ internal static ApiUrls AsyncSearchStatus = new ApiUrls ( new [ ] { "_async_search/status/{id}" } ) ;
27
27
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" } ) ;
31
28
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}" } ) ;
33
29
internal static ApiUrls ClusterGetSettings = new ApiUrls ( new [ ] { "_cluster/settings" } ) ;
34
30
internal static ApiUrls ClusterHealth = new ApiUrls ( new [ ] { "_cluster/health" , "_cluster/health/{index}" } ) ;
35
31
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}" } ) ;
42
33
internal static ApiUrls EnrichDeletePolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}" } ) ;
43
- internal static ApiUrls EnrichStats = new ApiUrls ( new [ ] { "_enrich/_stats" } ) ;
44
34
internal static ApiUrls EnrichExecutePolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}/_execute" } ) ;
45
35
internal static ApiUrls EnrichGetPolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}" , "_enrich/policy" } ) ;
46
36
internal static ApiUrls EnrichPutPolicy = new ApiUrls ( new [ ] { "_enrich/policy/{name}" } ) ;
37
+ internal static ApiUrls EnrichStats = new ApiUrls ( new [ ] { "_enrich/_stats" } ) ;
47
38
internal static ApiUrls EqlDelete = new ApiUrls ( new [ ] { "_eql/search/{id}" } ) ;
48
39
internal static ApiUrls EqlGet = new ApiUrls ( new [ ] { "_eql/search/{id}" } ) ;
49
- internal static ApiUrls EqlSearch = new ApiUrls ( new [ ] { "{index}/_eql/search" } ) ;
50
40
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" } ) ;
58
42
internal static ApiUrls GraphExplore = new ApiUrls ( new [ ] { "{index}/_graph/explore" } ) ;
59
43
internal static ApiUrls IndexManagementClose = new ApiUrls ( new [ ] { "{index}/_close" } ) ;
60
- internal static ApiUrls IndexManagementCreateDataStream = new ApiUrls ( new [ ] { "_data_stream/{name}" } ) ;
61
44
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}" } ) ;
62
47
internal static ApiUrls IndexManagementDeleteAlias = new ApiUrls ( new [ ] { "{index}/_alias/{name}" } ) ;
63
48
internal static ApiUrls IndexManagementDeleteDataLifecycle = new ApiUrls ( new [ ] { "_data_stream/{name}/_lifecycle" } ) ;
64
49
internal static ApiUrls IndexManagementDeleteDataStream = new ApiUrls ( new [ ] { "_data_stream/{name}" } ) ;
65
- internal static ApiUrls IndexManagementDelete = new ApiUrls ( new [ ] { "{index}" } ) ;
66
50
internal static ApiUrls IndexManagementDeleteIndexTemplate = new ApiUrls ( new [ ] { "_index_template/{name}" } ) ;
51
+ internal static ApiUrls IndexManagementExists = new ApiUrls ( new [ ] { "{index}" } ) ;
67
52
internal static ApiUrls IndexManagementExistsAlias = new ApiUrls ( new [ ] { "_alias/{name}" , "{index}/_alias/{name}" } ) ;
68
53
internal static ApiUrls IndexManagementExistsIndexTemplate = new ApiUrls ( new [ ] { "_index_template/{name}" } ) ;
69
- internal static ApiUrls IndexManagementExists = new ApiUrls ( new [ ] { "{index}" } ) ;
70
54
internal static ApiUrls IndexManagementExplainDataLifecycle = new ApiUrls ( new [ ] { "{index}/_lifecycle/explain" } ) ;
71
55
internal static ApiUrls IndexManagementFlush = new ApiUrls ( new [ ] { "_flush" , "{index}/_flush" } ) ;
72
56
internal static ApiUrls IndexManagementForcemerge = new ApiUrls ( new [ ] { "_forcemerge" , "{index}/_forcemerge" } ) ;
57
+ internal static ApiUrls IndexManagementGet = new ApiUrls ( new [ ] { "{index}" } ) ;
73
58
internal static ApiUrls IndexManagementGetAlias = new ApiUrls ( new [ ] { "_alias" , "_alias/{name}" , "{index}/_alias/{name}" , "{index}/_alias" } ) ;
74
59
internal static ApiUrls IndexManagementGetDataLifecycle = new ApiUrls ( new [ ] { "_data_stream/{name}/_lifecycle" } ) ;
75
60
internal static ApiUrls IndexManagementGetDataStream = new ApiUrls ( new [ ] { "_data_stream" , "_data_stream/{name}" } ) ;
76
- internal static ApiUrls IndexManagementGet = new ApiUrls ( new [ ] { "{index}" } ) ;
77
61
internal static ApiUrls IndexManagementGetIndexTemplate = new ApiUrls ( new [ ] { "_index_template" , "_index_template/{name}" } ) ;
78
62
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}" } ) ;
80
63
internal static ApiUrls IndexManagementMigrateToDataStream = new ApiUrls ( new [ ] { "_data_stream/_migrate/{name}" } ) ;
81
64
internal static ApiUrls IndexManagementOpen = new ApiUrls ( new [ ] { "{index}/_open" } ) ;
82
65
internal static ApiUrls IndexManagementPutAlias = new ApiUrls ( new [ ] { "{index}/_alias/{name}" } ) ;
@@ -88,15 +71,32 @@ internal static class ApiUrlLookup
88
71
internal static ApiUrls IndexManagementRollover = new ApiUrls ( new [ ] { "{alias}/_rollover" , "{alias}/_rollover/{new_index}" } ) ;
89
72
internal static ApiUrls IndexManagementSimulateIndexTemplate = new ApiUrls ( new [ ] { "_index_template/_simulate_index/{name}" } ) ;
90
73
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}" } ) ;
91
75
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 [ ] { "" } ) ;
94
76
internal static ApiUrls IngestDeletePipeline = new ApiUrls ( new [ ] { "_ingest/pipeline/{id}" } ) ;
95
77
internal static ApiUrls IngestGeoIpStats = new ApiUrls ( new [ ] { "_ingest/geoip/stats" } ) ;
96
78
internal static ApiUrls IngestGetPipeline = new ApiUrls ( new [ ] { "_ingest/pipeline" , "_ingest/pipeline/{id}" } ) ;
97
79
internal static ApiUrls IngestProcessorGrok = new ApiUrls ( new [ ] { "_ingest/processor/grok" } ) ;
98
80
internal static ApiUrls IngestPutPipeline = new ApiUrls ( new [ ] { "_ingest/pipeline/{id}" } ) ;
99
81
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 [ ] { "" } ) ;
100
100
internal static ApiUrls NoNamespaceMget = new ApiUrls ( new [ ] { "_mget" , "{index}/_mget" } ) ;
101
101
internal static ApiUrls NoNamespaceMsearch = new ApiUrls ( new [ ] { "_msearch" , "{index}/_msearch" } ) ;
102
102
internal static ApiUrls NoNamespaceMsearchTemplate = new ApiUrls ( new [ ] { "_msearch/template" , "{index}/_msearch/template" } ) ;
@@ -111,6 +111,11 @@ internal static class ApiUrlLookup
111
111
internal static ApiUrls NoNamespaceScroll = new ApiUrls ( new [ ] { "_search/scroll" } ) ;
112
112
internal static ApiUrls NoNamespaceSearch = new ApiUrls ( new [ ] { "_search" , "{index}/_search" } ) ;
113
113
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" } ) ;
114
119
internal static ApiUrls SqlClearCursor = new ApiUrls ( new [ ] { "_sql/close" } ) ;
115
120
internal static ApiUrls SqlDeleteAsync = new ApiUrls ( new [ ] { "_sql/async/delete/{id}" } ) ;
116
121
internal static ApiUrls SqlGetAsync = new ApiUrls ( new [ ] { "_sql/async/{id}" } ) ;
@@ -119,9 +124,4 @@ internal static class ApiUrlLookup
119
124
internal static ApiUrls TasksCancel = new ApiUrls ( new [ ] { "_tasks/_cancel" , "_tasks/{task_id}/_cancel" } ) ;
120
125
internal static ApiUrls TasksGet = new ApiUrls ( new [ ] { "_tasks/{task_id}" } ) ;
121
126
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}" } ) ;
127
127
}
0 commit comments