|
1 | 1 | [[cat-pending-tasks]]
|
2 | 2 | === cat pending tasks
|
3 | 3 |
|
4 |
| -`pending_tasks` provides the same information as the |
5 |
| -<<cluster-pending,`/_cluster/pending_tasks`>> API in a |
6 |
| -convenient tabular format. For example: |
| 4 | +Returns cluster-level changes that have not yet been executed, similar to the |
| 5 | +<<cluster-pending, pending cluster tasks>> API. |
| 6 | + |
| 7 | +[[cat-pending-tasks-api-request]] |
| 8 | +==== {api-request-title} |
| 9 | + |
| 10 | +`GET /_cat/pending_tasks` |
| 11 | + |
| 12 | +[[cat-pending-tasks-api-query-params]] |
| 13 | +==== {api-query-parms-title} |
| 14 | + |
| 15 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format] |
| 16 | + |
| 17 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h] |
| 18 | + |
| 19 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=help] |
| 20 | + |
| 21 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=local] |
| 22 | + |
| 23 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=master-timeout] |
| 24 | + |
| 25 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s] |
| 26 | + |
| 27 | +include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v] |
| 28 | + |
| 29 | + |
| 30 | +[[cat-pending-tasks-api-example]] |
| 31 | +==== {api-examples-title} |
7 | 32 |
|
8 | 33 | [source,js]
|
9 | 34 | --------------------------------------------------
|
10 | 35 | GET /_cat/pending_tasks?v
|
11 | 36 | --------------------------------------------------
|
12 | 37 | // CONSOLE
|
13 | 38 |
|
14 |
| -Might look like: |
| 39 | +The API returns the following response: |
15 | 40 |
|
16 | 41 | [source,txt]
|
17 | 42 | --------------------------------------------------
|
|
0 commit comments