Skip to content

Commit 76a228c

Browse files
committed
feat(query): add arguments SideloadConf to /v1/query
1 parent fc8987a commit 76a228c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/query/service/src/servers/http/v1/query/http_query.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ pub struct HttpQueryRequest {
5959
pub pagination: PaginationConf,
6060
#[serde(default = "default_as_true")]
6161
pub string_fields: bool,
62+
pub sideload: Option<SideloadConf>,
6263
}
6364

6465
const DEFAULT_MAX_ROWS_IN_BUFFER: usize = 5 * 1000 * 1000;
@@ -141,6 +142,12 @@ impl HttpSessionConf {
141142
}
142143
}
143144

145+
#[derive(Deserialize, Debug, Clone)]
146+
pub struct SideloadConf {
147+
pub(crate) stage: Option<String>,
148+
pub(crate) url: Option<String>,
149+
}
150+
144151
#[derive(Debug, Clone)]
145152
pub struct ResponseState {
146153
pub running_time_ms: f64,

0 commit comments

Comments
 (0)