POST
/druid/coordinator/v1/config/compaction
+`POST` `/druid/coordinator/v1/config/compaction`
#### Responses
@@ -132,7 +132,7 @@ Removes the automatic compaction configuration for a datasource. This updates th
#### URL
-DELETE
/druid/coordinator/v1/config/compaction/:dataSource
+`DELETE` `/druid/coordinator/v1/config/compaction/{dataSource}`
#### Responses
@@ -190,7 +190,7 @@ Note that while the max compaction tasks can theoretically be set to 2147483647,
#### URL
-POST
/druid/coordinator/v1/config/compaction/taskslots
+`POST` `/druid/coordinator/v1/config/compaction/taskslots`
#### Query parameters
@@ -262,7 +262,7 @@ You can use this endpoint to retrieve `compactionTaskSlotRatio` and `maxCompacti
#### URL
-GET
/druid/coordinator/v1/config/compaction
+`GET` `/druid/coordinator/v1/config/compaction`
#### Responses
@@ -304,7 +304,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/coordinator/v1/config/compaction/:dataSource
+`GET` `/druid/coordinator/v1/config/compaction/{dataSource}`
#### Responses
@@ -461,7 +461,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/coordinator/v1/config/compaction/:dataSource/history
+`GET` `/druid/coordinator/v1/config/compaction/{dataSource}/history`
#### Query parameters
* `interval` (optional)
@@ -579,7 +579,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/coordinator/v1/compaction/progress?dataSource=:dataSource
+`GET` `/druid/coordinator/v1/compaction/progress?dataSource={dataSource}`
#### Query parameter
* `dataSource` (required)
@@ -738,7 +738,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/coordinator/v1/compaction/status
+`GET` `/druid/coordinator/v1/compaction/status`
#### Query parameters
* `dataSource` (optional)
@@ -813,7 +813,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
DELETE
/druid/coordinator/v1/datasources/:datasource/segments/:segmentId
+`DELETE` `/druid/coordinator/v1/datasources/{datasource}/segments/{segmentId}`
#### Header
@@ -119,7 +119,7 @@ Accept: application/json, text/plain
#### Sample response
POST
/druid/coordinator/v1/datasources/segments/:segmentId
+`POST` `/druid/coordinator/v1/datasources/segments/{segmentId}`
#### Header
@@ -191,7 +191,7 @@ Accept: application/json, text/plain
#### Sample response
POST
/druid/coordinator/v1/datasources/:datasource/markUnused
+`POST` `/druid/coordinator/v1/datasources/{datasource}/markUnused`
#### Request body
@@ -293,7 +293,7 @@ Content-Length: 230
#### Sample response
POST
/druid/coordinator/v1/datasources/:datasource/markUsed
+`POST` `/druid/coordinator/v1/datasources/{datasource}/markUsed`
#### Request body
@@ -395,7 +395,7 @@ Content-Length: 230
#### Sample response
DELETE
/druid/coordinator/v1/datasources/:datasource
+`DELETE` `/druid/coordinator/v1/datasources/{datasource}`
#### Responses
@@ -455,7 +455,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/coordinator/v1/datasources/:datasource
+`POST` `/druid/coordinator/v1/datasources/{datasource}`
#### Header
@@ -483,6 +483,7 @@ The following headers are required for this request:
Content-Type: application/json
Accept: application/json, text/plain
```
+
#### Responses
DELETE
/druid/coordinator/v1/datasources/:datasource/intervals/:interval
+`DELETE` `/druid/coordinator/v1/datasources/{datasource}/intervals/{interval}`
#### Responses
diff --git a/docs/api-reference/dynamic-configuration-api.md b/docs/api-reference/dynamic-configuration-api.md
index 00d49cd5a31..85c7dcf5e49 100644
--- a/docs/api-reference/dynamic-configuration-api.md
+++ b/docs/api-reference/dynamic-configuration-api.md
@@ -44,7 +44,7 @@ Retrieves the current Coordinator dynamic configuration. Returns a JSON object w
#### URL
-GET
/druid/coordinator/v1/config
+`GET` `/druid/coordinator/v1/config`
#### Responses
@@ -86,7 +86,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/coordinator/v1/config
+`POST` `/druid/coordinator/v1/config`
#### Header parameters
@@ -226,7 +226,7 @@ Retrieves the history of changes to Coordinator dynamic configuration over an in
#### URL
-GET
/druid/coordinator/v1/config/history
+`GET` `/druid/coordinator/v1/config/history`
#### Query parameters
@@ -283,7 +283,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/worker
+`GET` `/druid/indexer/v1/worker`
#### Responses
@@ -355,7 +355,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/worker
+`POST` `/druid/indexer/v1/worker`
#### Header parameters
@@ -466,8 +466,7 @@ Retrieves the history of changes to Overlord dynamic configuration over an inter
#### URL
-GET
/druid/indexer/v1/worker/history
-
+`GET` `/druid/indexer/v1/worker/history`
#### Query parameters
@@ -523,7 +522,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/workers
+`GET` `/druid/indexer/v1/workers`
#### Responses
@@ -589,7 +588,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/scaling
+`GET` `/druid/indexer/v1/scaling`
#### Responses
diff --git a/docs/api-reference/json-querying-api.md b/docs/api-reference/json-querying-api.md
index 633a04d1ac6..5d03ec8b316 100644
--- a/docs/api-reference/json-querying-api.md
+++ b/docs/api-reference/json-querying-api.md
@@ -44,7 +44,7 @@ For additional properties based on your query type or use case, see [available n
### URL
-POST
/druid/v2/
+`POST` `/druid/v2`
### Query parameters
@@ -148,7 +148,7 @@ Content-Length: 336
#### Example response: `topN`
POST
/druid/v2/candidates/
+`POST` `/druid/v2/candidates`
### Query parameters
+
* `pretty` (optional)
* Druid returns the response in a pretty-printed format using indentation and line breaks.
@@ -330,6 +331,7 @@ Retrieves an array that contains objects with segment information, including the
"host": "The host on which the error occurred."
}
```
+
For more information on possible error messages, see [query execution failures](../querying/querying.md#query-execution-failures).
@@ -404,7 +406,7 @@ Content-Length: 336
### Sample response
POST
/druid/coordinator/v1/rules/:dataSource
+`POST` `/druid/coordinator/v1/rules/{dataSource}`
### Header parameters
@@ -156,7 +156,7 @@ This request overwrites any existing rules for all datasources. To remove defaul
### URL
-POST
/druid/coordinator/v1/rules/_default
+`POST` `/druid/coordinator/v1/rules/_default`
### Header parameters
@@ -244,7 +244,7 @@ Retrieves all current retention rules in the cluster including the default reten
### URL
-GET
/druid/coordinator/v1/rules
+`GET` `/druid/coordinator/v1/rules`
### Responses
@@ -286,7 +286,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
### Sample response
GET
/druid/coordinator/v1/rules/:dataSource
+`GET` `/druid/coordinator/v1/rules/{dataSource}`
### Query parameters
@@ -366,7 +366,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
### Sample response
GET
/druid/coordinator/v1/rules/history
+`GET` `/druid/coordinator/v1/rules/history`
### Query parameters
@@ -465,7 +465,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
### Sample response
GET
/status
+`GET` `/status`
#### Responses
@@ -99,7 +99,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/status/health
+`GET` `/status/health`
#### Responses
@@ -249,7 +249,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/status/properties
+`GET` `/status/properties`
#### Responses
@@ -308,7 +308,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/status/selfDiscovered/status
+`GET` `/status/selfDiscovered/status`
#### Responses
@@ -461,7 +460,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/status/selfDiscovered
+`GET` `/status/selfDiscovered`
#### Responses
@@ -538,7 +537,7 @@ Retrieves the address of the current leader Coordinator of the cluster. If any r
#### URL
-GET
/druid/coordinator/v1/leader
+`GET` `/druid/coordinator/v1/leader`
#### Responses
@@ -582,7 +581,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/coordinator/v1/isLeader
+`GET` `/druid/coordinator/v1/isLeader`
#### Responses
@@ -650,7 +649,7 @@ Host: http://COORDINATOR_IP:COORDINATOR_PORT
#### Sample response
GET
/druid/indexer/v1/leader
+`GET` `/druid/indexer/v1/leader`
#### Responses
@@ -712,7 +711,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/isLeader
+`GET` `/druid/indexer/v1/isLeader`
#### Responses
@@ -781,7 +780,7 @@ Host: http://OVERLORD_IP:OVERLORD_PORT
#### Sample response
GET
/druid/worker/v1/enabled
+`GET` `/druid/worker/v1/enabled`
#### Responses
@@ -844,7 +843,7 @@ Host: http://MIDDLEMANAGER_IP:MIDDLEMANAGER_PORT
#### Sample response
GET
/druid/worker/v1/tasks
+`GET` `/druid/worker/v1/tasks`
#### Responses
@@ -904,7 +903,7 @@ Host: http://MIDDLEMANAGER_IP:MIDDLEMANAGER_PORT
#### Sample response
GET
/druid/worker/v1/task/:taskId/log
+`GET` `/druid/worker/v1/task/{taskId}/log`
### Shut down running task
-Shuts down a running task by ID. For normal usage, you should use the `/druid/indexer/v1/task/:taskId/shutdown`
+Shuts down a running task by ID. For normal usage, you should use the `/druid/indexer/v1/task/{taskId}/shutdown`
[Tasks API](./tasks-api.md) endpoint instead.
#### URL
-POST
/druid/worker/v1/task/:taskId/shutdown
+`POST` `/druid/worker/v1/task/{taskId}/shutdown`
#### Responses
POST
/druid/worker/v1/disable
+`POST` `/druid/worker/v1/disable`
#### Responses
@@ -1034,7 +1033,7 @@ Host: http://MIDDLEMANAGER_IP:MIDDLEMANAGER_PORT
#### Sample response
POST
/druid/worker/v1/enable
+`POST` `/druid/worker/v1/enable`
#### Responses
@@ -1093,7 +1091,7 @@ Host: http://MIDDLEMANAGER_IP:MIDDLEMANAGER_PORT
#### Sample response
GET
/druid/historical/v1/loadstatus
+`GET` `/druid/historical/v1/loadstatus`
#### Responses
@@ -1155,7 +1153,7 @@ Host: http://HISTORICAL_IP:HISTORICAL_PORT
#### Sample response
GET
/druid/historical/v1/readiness
+`GET` `/druid/historical/v1/readiness`
#### Responses
@@ -1230,7 +1228,7 @@ Retrieves a flag indicating if the Broker knows about all segments in the cluste
#### URL
-GET
/druid/broker/v1/loadstatus
+`GET` `/druid/broker/v1/loadstatus`
#### Responses
@@ -1272,7 +1270,7 @@ Host: http://GET
/druid/broker/v1/readiness
+`GET` `/druid/broker/v1/readiness`
#### Responses
@@ -1337,6 +1335,4 @@ Host: http://BROKER_IP:BROKER_PORT
#### Sample response
-A successful response to this endpoint results in an empty response body.
-
-
+A successful response to this endpoint results in an empty response body.
\ No newline at end of file
diff --git a/docs/api-reference/sql-api.md b/docs/api-reference/sql-api.md
index 8cc17bc0641..bf58d236426 100644
--- a/docs/api-reference/sql-api.md
+++ b/docs/api-reference/sql-api.md
@@ -44,7 +44,7 @@ Each query has an associated SQL query ID. You can set this ID manually using th
#### URL
-POST
/druid/v2/sql
+`POST` `/druid/v2/sql`
#### Request body
@@ -198,7 +198,7 @@ Content-Length: 192
#### Sample response
DELETE
/druid/v2/sql/:sqlQueryId
+`DELETE` `/druid/v2/sql/{sqlQueryId}`
#### Responses
@@ -417,7 +417,7 @@ Note that at least part of a datasource must be available on a Historical proces
#### URL
-POST
/druid/v2/sql/statements
+`POST` `/druid/v2/sql/statements`
#### Request body
@@ -505,7 +505,7 @@ Content-Length: 134
#### Sample response
GET
/druid/v2/sql/statements/:queryId
+`GET` `/druid/v2/sql/statements/{queryId}`
#### Responses
@@ -690,7 +690,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/v2/sql/statements/:queryId/results
+`GET` `/druid/v2/sql/statements/{queryId}/results`
#### Query parameters
* `page` (optional)
@@ -944,7 +943,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
DELETE
/druid/v2/sql/statements/:queryId
+`DELETE` `/druid/v2/sql/statements/{queryId}`
#### Responses
diff --git a/docs/api-reference/sql-ingestion-api.md b/docs/api-reference/sql-ingestion-api.md
index 67a6ccf9588..1b587cf4bac 100644
--- a/docs/api-reference/sql-ingestion-api.md
+++ b/docs/api-reference/sql-ingestion-api.md
@@ -31,41 +31,87 @@ import TabItem from '@theme/TabItem';
ingestion method is right for you.
:::
-The **Query** view in the web console provides a friendly experience for the multi-stage query task engine (MSQ task
-engine) and multi-stage query architecture. We recommend using the web console if you do not need a programmatic
-interface.
+The **Query** view in the web console provides a friendly experience for the multi-stage query task engine (MSQ task engine) and multi-stage query architecture. We recommend using the web console if you don't need a programmatic interface.
When using the API for the MSQ task engine, the action you want to take determines the endpoint you use:
-- `/druid/v2/sql/task` endpoint: Submit a query for ingestion.
-- `/druid/indexer/v1/task` endpoint: Interact with a query, including getting its status, getting its details, or canceling it. This page describes a few of the Overlord Task APIs that you can use with the MSQ task engine. For information about Druid APIs, see the [API reference for Druid](../ingestion/tasks.md).
+- `/druid/v2/sql/task`: Submit a query for ingestion.
+- `/druid/indexer/v1/task`: Interact with a query, including getting its status or details, or canceling the query. This page describes a few of the Overlord Task APIs that you can use with the MSQ task engine. For information about Druid APIs, see the [API reference for Druid](../ingestion/tasks.md).
+
+In this topic, `http://ROUTER_IP:ROUTER_PORT` is a placeholder for your Router service address and port. Replace it with the information for your deployment. For example, use `http://localhost:8888` for quickstart deployments.
## Submit a query
-You submit queries to the MSQ task engine using the `POST /druid/v2/sql/task/` endpoint.
+Submits queries to the MSQ task engine.
-#### Request
+The `/druid/v2/sql/task` endpoint accepts the following:
-The SQL task endpoint accepts [SQL requests in the JSON-over-HTTP form](sql-api.md#request-body) using the
-`query`, `context`, and `parameters` fields, but ignoring the `resultFormat`, `header`, `typesHeader`, and
-`sqlTypesHeader` fields.
+- [SQL requests in the JSON-over-HTTP form](sql-api.md#request-body) using the
+`query`, `context`, and `parameters` fields. The endpoint ignores the `resultFormat`, `header`, `typesHeader`, and `sqlTypesHeader` fields.
+- [INSERT](../multi-stage-query/reference.md#insert) and [REPLACE](../multi-stage-query/reference.md#replace) statements.
+- SELECT queries (experimental feature). SELECT query results are collected from workers by the controller, and written into the [task report](#get-the-report-for-a-query-task) as an array of arrays. The behavior and result format of plain SELECT queries (without INSERT or REPLACE) is subject to change.
-This endpoint accepts [INSERT](../multi-stage-query/reference.md#insert) and [REPLACE](../multi-stage-query/reference.md#replace) statements.
+### URL
-As an experimental feature, this endpoint also accepts SELECT queries. SELECT query results are collected from workers
-by the controller, and written into the [task report](#get-the-report-for-a-query-task) as an array of arrays. The
-behavior and result format of plain SELECT queries (without INSERT or REPLACE) is subject to change.
+`POST` `/druid/v2/sql/task`
+
+### Responses
-
GET
/druid/indexer/v1/supervisor
+`GET` `/druid/indexer/v1/supervisor`
#### Responses
@@ -90,7 +90,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor?full
+`GET` `/druid/indexer/v1/supervisor?full`
#### Responses
@@ -148,7 +148,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor?state=true
+`GET` `/druid/indexer/v1/supervisor?state=true`
#### Responses
@@ -816,7 +816,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor/:supervisorId
+`GET` `/druid/indexer/v1/supervisor/{supervisorId}`
#### Responses
@@ -896,7 +896,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor/:supervisorId/status
+`GET` `/druid/indexer/v1/supervisor/{supervisorId}/status`
#### Responses
@@ -1259,7 +1259,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor/:supervisorId/health
+`GET` `/druid/indexer/v1/supervisor/{supervisorId}/health`
#### Responses
@@ -1367,7 +1367,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor/:supervisorId/stats
+`GET` `/druid/indexer/v1/supervisor/{supervisorId}/stats`
#### Responses
@@ -1432,7 +1432,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor/history
+`GET` `/druid/indexer/v1/supervisor/history`
#### Responses
@@ -1530,7 +1530,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/supervisor/:supervisorId/history
+`GET` `/druid/indexer/v1/supervisor/{supervisorId}/history`
#### Responses
@@ -1899,7 +1899,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor
+`POST` `/druid/indexer/v1/supervisor`
#### Responses
@@ -2385,7 +2385,7 @@ Content-Length: 1359
#### Sample response
POST
/druid/indexer/v1/supervisor/:supervisorId/suspend
+
+`POST` `/druid/indexer/v1/supervisor/{supervisorId}/suspend`
#### Responses
@@ -2456,7 +2457,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/suspendAll
+
+`POST` `/druid/indexer/v1/supervisor/suspendAll`
#### Responses
@@ -2808,7 +2810,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/:supervisorId/resume
+`POST` `/druid/indexer/v1/supervisor/{supervisorId}/resume`
#### Responses
@@ -2879,7 +2881,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/resumeAll
+`POST` `/druid/indexer/v1/supervisor/resumeAll`
#### Responses
@@ -3232,7 +3234,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/:supervisorId/reset
+`POST` `/druid/indexer/v1/supervisor/{supervisorId}/reset`
#### Responses
@@ -3305,7 +3307,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/:supervisorId/resetOffsets
+`POST` `/druid/indexer/v1/supervisor/{supervisorId}/resetOffsets`
#### Responses
@@ -3416,7 +3418,7 @@ when the supervisor's tasks restart, they resume reading from `{"0": 100, "1": 1
#### Sample response
POST
/druid/indexer/v1/supervisor/:supervisorId/terminate
+`POST` `/druid/indexer/v1/supervisor/{supervisorId}/terminate`
#### Responses
@@ -3481,7 +3483,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/terminateAll
+`POST` `/druid/indexer/v1/supervisor/terminateAll`
#### Responses
@@ -3538,7 +3540,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/supervisor/:supervisorId/shutdown
+`POST` `/druid/indexer/v1/supervisor/{supervisorId}/shutdown`
diff --git a/docs/api-reference/tasks-api.md b/docs/api-reference/tasks-api.md
index 4856e6ddf90..b5f56434654 100644
--- a/docs/api-reference/tasks-api.md
+++ b/docs/api-reference/tasks-api.md
@@ -39,7 +39,7 @@ Retrieves an array of all tasks in the Druid cluster. Each task object includes
#### URL
-GET
/druid/indexer/v1/tasks
+`GET` `/druid/indexer/v1/tasks`
#### Query parameters
@@ -118,7 +118,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/completeTasks
+`GET` `/druid/indexer/v1/completeTasks`
#### Query parameters
@@ -250,7 +250,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/runningTasks
+`GET` `/druid/indexer/v1/runningTasks`
#### Query parameters
@@ -357,7 +357,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/waitingTasks
+`GET` `/druid/indexer/v1/waitingTasks`
#### Query parameters
@@ -445,7 +445,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/pendingTasks
+`GET` `/druid/indexer/v1/pendingTasks`
#### Query parameters
@@ -569,7 +569,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/task/:taskId
+`GET` `/druid/indexer/v1/task/{taskId}`
#### Responses
@@ -675,7 +675,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/task/:taskId/status
+`GET` `/druid/indexer/v1/task/{taskId}/status`
#### Responses
@@ -890,7 +890,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/task/:taskId/segments
+`GET` `/druid/indexer/v1/task/{taskId}/segments`
#### Responses
@@ -981,11 +981,7 @@ Task logs are automatically retrieved from the Middle Manager/Indexer or in long
#### URL
-GET
/druid/indexer/v1/task/:taskId/log
-
-#### URL
-
-GET
/druid/indexer/v1/task/:taskId/log
+`GET` `/druid/indexer/v1/task/{taskId}/log`
#### Query parameters
@@ -1037,7 +1033,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
GET
/druid/indexer/v1/task/:taskId/reports
+`GET` `/druid/indexer/v1/task/{taskId}/reports`
#### Responses
@@ -1155,7 +1151,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/task
+`POST` `/druid/indexer/v1/task`
#### Responses
@@ -1355,7 +1351,7 @@ Content-Length: 952
#### Sample response
POST
/druid/indexer/v1/task/:taskId/shutdown
+`POST` `/druid/indexer/v1/task/{taskId}/shutdown`
#### Responses
@@ -1425,7 +1421,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/datasources/:datasource/shutdownAllTasks
+`POST` `/druid/indexer/v1/datasources/{datasource}/shutdownAllTasks`
#### Responses
@@ -1495,7 +1491,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response
POST
/druid/indexer/v1/taskStatus
+`POST` `/druid/indexer/v1/taskStatus`
#### Responses
@@ -1574,7 +1570,7 @@ Content-Length: 134
#### Sample response
DELETE
/druid/indexer/v1/pendingSegments/:datasource
+`DELETE` `/druid/indexer/v1/pendingSegments/{datasource}`
#### Responses
@@ -1660,7 +1656,7 @@ Host: http://ROUTER_IP:ROUTER_PORT
#### Sample response