gerlowskija commented on code in PR #1704: URL: https://github.com/apache/solr/pull/1704#discussion_r1242669416
########## solr/core/src/java/org/apache/solr/handler/admin/api/CoreReplicationAPI.java: ########## @@ -46,12 +50,24 @@ public CoreReplicationAPI(SolrCore solrCore, SolrQueryRequest req, SolrQueryResp @GET @Path("/indexversion") - @Produces({"application/json", "application/xml", BINARY_CONTENT_TYPE_V2}) + @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, BINARY_CONTENT_TYPE_V2}) @PermissionName(CORE_READ_PERM) public IndexVersionResponse fetchIndexVersion() throws IOException { return doFetchIndexVersion(); } + @GET + @Path("/files/generation/{gen}") Review Comment: This seems reasonable to me, though it might be undermined if we decide to set a default "generation" value as we discussed elsewhere on this PR. Let's consolidate discussion of this [here](https://github.com/apache/solr/pull/1704#discussion_r1238667428) -- 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. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org