Skip to content

Commit 25ffce9

Browse files
authored
[DOCS] Remove individual task retrieval from cat/tasks API (#49550)
1 parent 1542a72 commit 25ffce9

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

docs/reference/cat/tasks.asciidoc

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ similar to the <<tasks,task management>> API.
1313
[[cat-tasks-api-request]]
1414
==== {api-request-title}
1515

16-
`GET /_cat/tasks/<task_id>`
17-
1816
`GET /_cat/tasks`
1917

2018

@@ -28,12 +26,6 @@ It is a more compact view
2826
of the JSON <<tasks,task management>> API.
2927

3028

31-
[[cat-tasks-api-path-params]]
32-
==== {api-path-parms-title}
33-
34-
include::{docdir}/rest-api/common-parms.asciidoc[tag=task-id]
35-
36-
3729
[[cat-tasks-api-query-params]]
3830
==== {api-query-parms-title}
3931

@@ -71,30 +63,6 @@ include::{docdir}/cluster/tasks.asciidoc[tag=tasks-api-404]
7163
[[cat-tasks-api-examples]]
7264
==== {api-examples-title}
7365

74-
75-
[[cat-tasks-api-specific-ex]]
76-
===== Get information for a specific task
77-
78-
[source,console]
79-
----
80-
GET _cat/tasks/oTUltX4IQMOUUVeiohTt8A:124?v
81-
----
82-
// TEST[skip:No tasks to retrieve]
83-
84-
The API returns the following response:
85-
86-
[source,txt]
87-
----
88-
action task_id parent_task_id type start_time timestamp running_time ip node
89-
cluster:monitor/tasks/lists[n] oTUltX4IQMOUUVeiohTt8A:124 oTUltX4IQMOUUVeiohTt8A:123 direct 1458585884904 01:48:24 44.1micros 127.0.0.1:9300 oTUltX4IQMOUUVeiohTt8A
90-
----
91-
// TESTRESPONSE[skip:No tasks to retrieve]
92-
// TESTRESPONSE[non_json]
93-
94-
95-
[[cat-tasks-api-all-ex]]
96-
===== Get information for all tasks in a cluster
97-
9866
[source,console]
9967
----
10068
GET _cat/tasks?v

0 commit comments

Comments
 (0)