surekhasaharan commented on a change in pull request #7490: Add reload by
interval API
URL: https://github.com/apache/incubator-druid/pull/7490#discussion_r276848515
##########
File path: docs/content/operations/api-reference.md
##########
@@ -230,6 +230,19 @@ Enables all segments of datasource which are not
overshadowed by others.
Enables a segment of a datasource.
+##### PUT
+
+* `/druid/coordinator/v1/datasources/{dataSourceName}/markUsed`
+
+Enables segments of a datasource by interval or by an array of segment id's
passed which are not overshadowed by others.
+
+JSON Payload:
+
+|Key|Description|Example|
+|----------|-------------|---------|
+|`interval`|The interval to enable segments
for|"2015-09-12T03:00:00.000Z/2015-09-12T05:00:00.000Z"|
+|`segments`|Array of segments to enable|["segment1", "segment2"]|
Review comment:
Suggest to rename `segments` to `segmentIds` and in description also mention
"Array of segment Ids..."
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]