mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-24 16:40:38 +00:00
include timeline ids in tenant details response
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user