mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(router): add /retrieve api for relay (#6918)
This commit is contained in:
@ -84,9 +84,20 @@ pub struct RelayRetrieveRequest {
|
||||
#[serde(default)]
|
||||
pub force_sync: bool,
|
||||
/// The unique identifier for the Relay
|
||||
pub id: String,
|
||||
pub id: common_utils::id_type::RelayId,
|
||||
}
|
||||
|
||||
#[derive(Debug, ToSchema, Clone, Deserialize, Serialize)]
|
||||
pub struct RelayRetrieveBody {
|
||||
/// The unique identifier for the Relay
|
||||
#[serde(default)]
|
||||
pub force_sync: bool,
|
||||
}
|
||||
|
||||
impl common_utils::events::ApiEventMetric for RelayRequest {}
|
||||
|
||||
impl common_utils::events::ApiEventMetric for RelayResponse {}
|
||||
|
||||
impl common_utils::events::ApiEventMetric for RelayRetrieveRequest {}
|
||||
|
||||
impl common_utils::events::ApiEventMetric for RelayRetrieveBody {}
|
||||
|
||||
Reference in New Issue
Block a user