renaming _cat/transform to _cat/transforms for uniformity with the other _cat apis.
This commit is contained in:
parent
268e512f0b
commit
415d73c27d
|
@ -269,4 +269,4 @@ include::cat/thread_pool.asciidoc[]
|
|||
|
||||
include::cat/trainedmodel.asciidoc[]
|
||||
|
||||
include::cat/transform.asciidoc[]
|
||||
include::cat/transforms.asciidoc[]
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
[[cat-transform]]
|
||||
=== cat transform API
|
||||
++++
|
||||
<titleabbrev>cat transform</titleabbrev>
|
||||
++++
|
||||
|
||||
Returns configuration and usage information about {transforms}.
|
||||
|
||||
|
||||
[[cat-transform-api-request]]
|
||||
==== {api-request-title}
|
||||
|
||||
`GET /_cat/transform`
|
||||
|
||||
|
||||
//[[cat-transform-api-desc]]
|
||||
//==== {api-description-title}
|
||||
|
||||
|
||||
//[[cat-transform-api-query-params]]
|
||||
//==== {api-query-parms-title}
|
||||
|
||||
|
||||
//[[cat-transform-api-response-codes]]
|
||||
//==== {api-response-codes-title}
|
||||
|
||||
//[[cat-transform-api-examples]]
|
||||
//==== {api-examples-title}
|
|
@ -0,0 +1,28 @@
|
|||
[[cat-transforms]]
|
||||
=== cat {transforms} API
|
||||
++++
|
||||
<titleabbrev>cat transforms</titleabbrev>
|
||||
++++
|
||||
|
||||
Returns configuration and usage information about {transforms}.
|
||||
|
||||
|
||||
[[cat-transforms-api-request]]
|
||||
==== {api-request-title}
|
||||
|
||||
`GET /_cat/transforms`
|
||||
|
||||
|
||||
//[[cat-transforms-api-desc]]
|
||||
//==== {api-description-title}
|
||||
|
||||
|
||||
//[[cat-transforms-api-query-params]]
|
||||
//==== {api-query-parms-title}
|
||||
|
||||
|
||||
//[[cat-transforms-api-response-codes]]
|
||||
//==== {api-response-codes-title}
|
||||
|
||||
//[[cat-transforms-api-examples]]
|
||||
//==== {api-examples-title}
|
|
@ -607,3 +607,8 @@ See <<ccs-gateway-seed-nodes>> and <<ccs-min-roundtrips>>.
|
|||
=== Asynchronous search
|
||||
|
||||
coming::[7.x]
|
||||
|
||||
[role="exclude",id="cat-transform"]
|
||||
=== cat transform API
|
||||
|
||||
See <<cat-transforms>>.
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"transform.cat_transform":{
|
||||
"documentation":{
|
||||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transform.html"
|
||||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html"
|
||||
},
|
||||
"stability":"stable",
|
||||
"url":{
|
||||
"paths":[
|
||||
{
|
||||
"path":"/_cat/transform",
|
||||
"path":"/_cat/transforms",
|
||||
"methods":[
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path":"/_cat/transform/{transform_id}",
|
||||
"path":"/_cat/transforms/{transform_id}",
|
||||
"methods":[
|
||||
"GET"
|
||||
],
|
||||
|
|
|
@ -43,8 +43,8 @@ public class RestCatTransformAction extends AbstractCatAction {
|
|||
@Override
|
||||
public List<Route> routes() {
|
||||
return unmodifiableList(asList(
|
||||
new Route(GET, "_cat/transform"),
|
||||
new Route(GET, "_cat/transform/{" + TransformField.TRANSFORM_ID + "}")));
|
||||
new Route(GET, "_cat/transforms"),
|
||||
new Route(GET, "_cat/transforms/{" + TransformField.TRANSFORM_ID + "}")));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -91,8 +91,8 @@ public class RestCatTransformAction extends AbstractCatAction {
|
|||
|
||||
@Override
|
||||
protected void documentation(StringBuilder sb) {
|
||||
sb.append("/_cat/transform\n");
|
||||
sb.append("/_cat/transform/{" + TransformField.TRANSFORM_ID + "}\n");
|
||||
sb.append("/_cat/transforms\n");
|
||||
sb.append("/_cat/transforms/{" + TransformField.TRANSFORM_ID + "}\n");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue