diff --git a/common/client-libs/validator-client/src/rest_requests/active_topology_get.rs b/common/client-libs/validator-client/src/rest_requests/active_topology_get.rs index f4563b0db7..1973cea1d8 100644 --- a/common/client-libs/validator-client/src/rest_requests/active_topology_get.rs +++ b/common/client-libs/validator-client/src/rest_requests/active_topology_get.rs @@ -31,7 +31,7 @@ pub(crate) enum Response { impl RESTRequest for Request { const METHOD: Method = Method::GET; - const RELATIVE_PATH: &'static str = "/api/presence/topology/active"; + const RELATIVE_PATH: &'static str = "/api/mixmining/topology/active"; type JsonPayload = (); type ExpectedJsonResponse = Response; diff --git a/common/client-libs/validator-client/src/rest_requests/gateway_register_post.rs b/common/client-libs/validator-client/src/rest_requests/gateway_register_post.rs index 0daf0ceb99..a2ba865bee 100644 --- a/common/client-libs/validator-client/src/rest_requests/gateway_register_post.rs +++ b/common/client-libs/validator-client/src/rest_requests/gateway_register_post.rs @@ -24,7 +24,7 @@ pub struct Request { impl RESTRequest for Request { const METHOD: Method = Method::POST; - const RELATIVE_PATH: &'static str = "/api/presence/gateway"; + const RELATIVE_PATH: &'static str = "/api/mixmining/register/gateway"; type JsonPayload = GatewayRegistrationInfo; type ExpectedJsonResponse = DefaultRESTResponse; diff --git a/common/client-libs/validator-client/src/rest_requests/mix_register_post.rs b/common/client-libs/validator-client/src/rest_requests/mix_register_post.rs index 4ab560ea87..4a0c477a1a 100644 --- a/common/client-libs/validator-client/src/rest_requests/mix_register_post.rs +++ b/common/client-libs/validator-client/src/rest_requests/mix_register_post.rs @@ -24,7 +24,7 @@ pub struct Request { impl RESTRequest for Request { const METHOD: Method = Method::POST; - const RELATIVE_PATH: &'static str = "/api/presence/mix"; + const RELATIVE_PATH: &'static str = "/api/mixmining/register/mix"; type JsonPayload = MixRegistrationInfo; type ExpectedJsonResponse = DefaultRESTResponse; diff --git a/common/client-libs/validator-client/src/rest_requests/node_unregister_delete.rs b/common/client-libs/validator-client/src/rest_requests/node_unregister_delete.rs index bae8a87307..a899724b0e 100644 --- a/common/client-libs/validator-client/src/rest_requests/node_unregister_delete.rs +++ b/common/client-libs/validator-client/src/rest_requests/node_unregister_delete.rs @@ -22,7 +22,7 @@ pub struct Request { impl RESTRequest for Request { const METHOD: Method = Method::DELETE; - const RELATIVE_PATH: &'static str = "/api/presence"; + const RELATIVE_PATH: &'static str = "/api/mixmining/register"; type JsonPayload = (); type ExpectedJsonResponse = DefaultRESTResponse; @@ -37,7 +37,7 @@ impl RESTRequest for Request { if path_params.len() != 1 { return Err(RESTRequestError::InvalidPathParams); } - // /api/presence/{id} + // /api/mixmining/register/{id} let base = format!("{}{}/{}", base_url, Self::RELATIVE_PATH, path_params[0]); let url = diff --git a/common/client-libs/validator-client/src/rest_requests/set_reputation_patch.rs b/common/client-libs/validator-client/src/rest_requests/set_reputation_patch.rs index 177ad8380f..3307fcccba 100644 --- a/common/client-libs/validator-client/src/rest_requests/set_reputation_patch.rs +++ b/common/client-libs/validator-client/src/rest_requests/set_reputation_patch.rs @@ -22,7 +22,7 @@ pub struct Request { impl RESTRequest for Request { const METHOD: Method = Method::PATCH; - const RELATIVE_PATH: &'static str = "/api/presence/reputation"; + const RELATIVE_PATH: &'static str = "/api/mixmining/reputation"; type JsonPayload = (); type ExpectedJsonResponse = DefaultRESTResponse; @@ -44,7 +44,7 @@ impl RESTRequest for Request { return Err(RESTRequestError::InvalidQueryParams); } - // /api/presence/reputation/{id} + // /api/mixmining/reputation/{id} let base = format!("{}{}/{}", base_url, Self::RELATIVE_PATH, path_params[0]); let url = Url::parse_with_params(&base, query_params) diff --git a/common/client-libs/validator-client/src/rest_requests/topology_get.rs b/common/client-libs/validator-client/src/rest_requests/topology_get.rs index 17db32cf3f..71f5ed8b1b 100644 --- a/common/client-libs/validator-client/src/rest_requests/topology_get.rs +++ b/common/client-libs/validator-client/src/rest_requests/topology_get.rs @@ -31,7 +31,7 @@ pub(crate) enum Response { impl RESTRequest for Request { const METHOD: Method = Method::GET; - const RELATIVE_PATH: &'static str = "/api/presence/topology"; + const RELATIVE_PATH: &'static str = "/api/mixmining/topology"; type JsonPayload = (); type ExpectedJsonResponse = Response;