surekhasaharan commented on a change in pull request #6094: Introduce SystemSchema tables (#5989) URL: https://github.com/apache/incubator-druid/pull/6094#discussion_r219657778
########## File path: server/src/main/java/org/apache/druid/server/http/MetadataResource.java ########## @@ -136,6 +137,23 @@ public Response getDatabaseSegmentDataSource( return Response.status(Response.Status.OK).entity(dataSource).build(); } + @GET + @Path("/segments") + @Produces(MediaType.APPLICATION_JSON) + @ResourceFilters(DatasourceResourceFilter.class) + public Response getDatabaseSegmentSegments() Review comment: yes, that looks better ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org