include timeline ids in tenant details response

This commit is contained in:
Christian Schwarz
2023-12-13 14:03:12 +00:00
parent fae3e01522
commit d2d1432a65
4 changed files with 34 additions and 6 deletions

View File

@@ -371,6 +371,14 @@ pub struct TenantInfo {
pub generation: Option<u32>,
}
#[derive(Serialize, Deserialize, Clone)]
pub struct TenantDetails {
#[serde(flatten)]
pub tenant_info: TenantInfo,
pub timelines: Vec<TimelineId>,
}
/// This represents the output of the "timeline_detail" and "timeline_list" API calls.
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct TimelineInfo {