@@ -16,15 +16,15 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
1616 transform . getTransforms = ca ( {
1717 urls : [
1818 {
19- fmt : '/_data_frame/transforms /<%=transformId%>' ,
19+ fmt : '/_transform /<%=transformId%>' ,
2020 req : {
2121 transformId : {
2222 type : 'string' ,
2323 } ,
2424 } ,
2525 } ,
2626 {
27- fmt : '/_data_frame/transforms /_all?size=1000' ,
27+ fmt : '/_transform /_all?size=1000' ,
2828 } ,
2929 ] ,
3030 method : 'GET' ,
@@ -33,7 +33,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
3333 transform . getTransformsStats = ca ( {
3434 urls : [
3535 {
36- fmt : '/_data_frame/transforms /<%=transformId%>/_stats' ,
36+ fmt : '/_transform /<%=transformId%>/_stats' ,
3737 req : {
3838 transformId : {
3939 type : 'string' ,
@@ -44,7 +44,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
4444 // Currently the endpoint uses a default size of 100 unless a size is supplied.
4545 // So until paging is supported in the UI, explicitly supply a size of 1000
4646 // to match the max number of docs that the endpoint can return.
47- fmt : '/_data_frame/transforms /_all/_stats?size=1000' ,
47+ fmt : '/_transform /_all/_stats?size=1000' ,
4848 } ,
4949 ] ,
5050 method : 'GET' ,
@@ -53,7 +53,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
5353 transform . createTransform = ca ( {
5454 urls : [
5555 {
56- fmt : '/_data_frame/transforms /<%=transformId%>' ,
56+ fmt : '/_transform /<%=transformId%>' ,
5757 req : {
5858 transformId : {
5959 type : 'string' ,
@@ -68,7 +68,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
6868 transform . deleteTransform = ca ( {
6969 urls : [
7070 {
71- fmt : '/_data_frame/transforms /<%=transformId%>' ,
71+ fmt : '/_transform /<%=transformId%>' ,
7272 req : {
7373 transformId : {
7474 type : 'string' ,
@@ -82,7 +82,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
8282 transform . getTransformsPreview = ca ( {
8383 urls : [
8484 {
85- fmt : '/_data_frame/transforms /_preview' ,
85+ fmt : '/_transform /_preview' ,
8686 } ,
8787 ] ,
8888 needBody : true ,
@@ -92,7 +92,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
9292 transform . startTransform = ca ( {
9393 urls : [
9494 {
95- fmt : '/_data_frame/transforms /<%=transformId%>/_start' ,
95+ fmt : '/_transform /<%=transformId%>/_start' ,
9696 req : {
9797 transformId : {
9898 type : 'string' ,
@@ -107,7 +107,7 @@ export const elasticsearchJsPlugin = (Client: any, config: any, components: any)
107107 urls : [
108108 {
109109 fmt :
110- '/_data_frame/transforms /<%=transformId%>/_stop?&force=<%=force%>&wait_for_completion=<%waitForCompletion%>' ,
110+ '/_transform /<%=transformId%>/_stop?&force=<%=force%>&wait_for_completion=<%waitForCompletion%>' ,
111111 req : {
112112 transformId : {
113113 type : 'string' ,
0 commit comments