From c39c0cc9f23259773a86708d310133871bf19682 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Mon, 25 Nov 2019 09:30:26 -0500 Subject: [PATCH 1/2] [DOCS] Remove individual task retrieval from cat/tasks API --- docs/reference/cat/tasks.asciidoc | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/docs/reference/cat/tasks.asciidoc b/docs/reference/cat/tasks.asciidoc index cc30486859c6b..103fb74389521 100644 --- a/docs/reference/cat/tasks.asciidoc +++ b/docs/reference/cat/tasks.asciidoc @@ -13,8 +13,6 @@ similar to the <> API. [[cat-tasks-api-request]] ==== {api-request-title} -`GET /_cat/_tasks/` - `GET /_cat/_tasks` @@ -28,12 +26,6 @@ It is a more compact view of the JSON <> API. -[[cat-tasks-api-path-params]] -==== {api-path-parms-title} - -include::{docdir}/rest-api/common-parms.asciidoc[tag=task-id] - - [[cat-tasks-api-query-params]] ==== {api-query-parms-title} @@ -71,27 +63,6 @@ include::{docdir}/cluster/tasks.asciidoc[tag=tasks-api-404] [[cat-tasks-api-examples]] ==== {api-examples-title} - -[[cat-tasks-api-specific-ex]] -===== Get information for a specific task - -[source,console] ----- -GET _cat/tasks/oTUltX4IQMOUUVeiohTt8A:124?v ----- -// TEST[skip:No tasks to retrieve] - -The API returns the following response: - -[source,txt] ----- -action task_id parent_task_id type start_time timestamp running_time ip node -cluster:monitor/tasks/lists[n] oTUltX4IQMOUUVeiohTt8A:124 oTUltX4IQMOUUVeiohTt8A:123 direct 1458585884904 01:48:24 44.1micros 127.0.0.1:9300 oTUltX4IQMOUUVeiohTt8A ----- -// TESTRESPONSE[skip:No tasks to retrieve] -// TESTRESPONSE[non_json] - - [[cat-tasks-api-all-ex]] ===== Get information for all tasks in a cluster From 73ecbcf0aa3833029d7e0d328e7b4f7f9c9939ca Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Mon, 25 Nov 2019 09:41:15 -0500 Subject: [PATCH 2/2] remove header --- docs/reference/cat/tasks.asciidoc | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/reference/cat/tasks.asciidoc b/docs/reference/cat/tasks.asciidoc index d721cbf9b9397..9f15abe3ffcf4 100644 --- a/docs/reference/cat/tasks.asciidoc +++ b/docs/reference/cat/tasks.asciidoc @@ -63,9 +63,6 @@ include::{docdir}/cluster/tasks.asciidoc[tag=tasks-api-404] [[cat-tasks-api-examples]] ==== {api-examples-title} -[[cat-tasks-api-all-ex]] -===== Get information for all tasks in a cluster - [source,console] ---- GET _cat/tasks?v