yifan-c commented on code in PR #198: URL: https://github.com/apache/cassandra-sidecar/pull/198#discussion_r1987779473
########## client-common/src/main/java/org/apache/cassandra/sidecar/common/ApiEndpointsV1.java: ########## @@ -121,13 +121,16 @@ public final class ApiEndpointsV1 public static final String LIST_CDC_SEGMENTS_ROUTE = API_V1 + CDC_PATH + "/segments"; public static final String STREAM_CDC_SEGMENTS_ROUTE = LIST_CDC_SEGMENTS_ROUTE + "/" + SEGMENT_PATH_PARAM; + // Schema Reporting + private static final String REPORT_SCHEMA = "/report-schema"; + public static final String REPORT_SCHEMA_ROUTE = API_V1 + REPORT_SCHEMA; Review Comment: The `schema_reporting` in sidecar.yml is to configure the scheduled task, which is different from the API. IMO, `PUT .../schemas` means publishing to the `schemas` resource already. The `publishing` portion is redundant. Having the same term in the configuration and API is not a goal and might be impractical to achieve, since the API scheme and ymal are unrelated. -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org