include timeline ids in tenant details response

This commit is contained in:
Christian Schwarz
2023-12-13 14:03:12 +00:00
parent 33cb9a68f7
commit 4a6dfb0ccb
4 changed files with 33 additions and 5 deletions

View File

@@ -369,6 +369,14 @@ pub struct TenantInfo {
pub attachment_status: TenantAttachmentStatus,
}
#[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 {