skoppu22 commented on code in PR #144:
URL: https://github.com/apache/cassandra-sidecar/pull/144#discussion_r1840755415


##########
client-common/src/main/java/org/apache/cassandra/sidecar/common/ApiEndpointsV1.java:
##########
@@ -111,6 +111,10 @@ public final class ApiEndpointsV1
 
     public static final String CONNECTED_CLIENT_STATS_ROUTE = API_V1 + 
CASSANDRA + "/stats/connected-clients";
 
+    public static final String LIST_JOBS_ROUTE = API_V1 + CASSANDRA + "/jobs";
+    public static final String JOB_STATUS_ROUTE = API_V1 + CASSANDRA + 
"/jobs/" + JOB_ID_PATH_PARAM + "/status";
+    public static final String NODE_DECOMMISSION_ROUTE = API_V1 + CASSANDRA + 
"/node/decommission";

Review Comment:
   We are using `management` in the prefix, for example 
/api/v1/cassandra/management/node/decommission for JMX and nodetool operations. 
IIRC, we discussed this during Sidecar's JMX APIs design meeting



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

Reply via email to