dampcake commented on a change in pull request #7490: Add reload by interval API
URL: https://github.com/apache/incubator-druid/pull/7490#discussion_r277028168
 
 

 ##########
 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"|
 
 Review comment:
   I was trying not to use mark as `used` even though that is the name of the 
API as it's inconsistent with the descriptions in the other enable APIs. Does 
this update make more sense?

----------------------------------------------------------------
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]

Reply via email to