Jackie-Jiang opened a new pull request #4806: Refactor segments admin rest APIs
URL: https://github.com/apache/incubator-pinot/pull/4806
 
 
   - Segment toggle APIs are removed (backward-incompatible change)
   - Move the APIs under the Segment API tag
   - Refactor the APIs to match the uri semantic
   
   GET requests:
   - "/segments/{tableName}": get all segment names
   - "/segments/{tableName}/servers": get the map from server to segments
   - "/segments/{tableName}/crc": get the map from segment to CRC
   - "/segments/{tableName}/{segmentName}/metadata: get the segment metadata
   
   POST requests:
   - "/segments/{tableName}/{segmentName}/reload": reload a segment
   - "/segments/{tableName}/reload": reload all segments
   
   DELETE requests:
   - "/segments/{tableName}/{segmentName}": delete a segment
   - "/segments/{tableName}: delete all segments
   
   Deprecated APIs:
   - "GET /tables/{tableName}/segments"
   - "GET /tables/{tableName}/segments/metadata"
   - "GET /tables/{tableName}/segments/crc"
   - "GET /tables/{tableName}/segments/{segmentName}"
   - "GET /tables/{tableName}/segments/{segmentName}/metadata"
   - "GET /tables/{tableName}/segments/{segmentName}/reload"
   - "POST /tables/{tableName}/segments/{segmentName}/reload"
   - "GET /tables/{tableName}/segments/reload"
   - "POST /tables/{tableName}/segments/reload"
   
   Deprecated APIs are subject to be removed in the next release
   All APIs are manually tested

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