Skip to content

Commit

Permalink
fix(api): update fetch stream url (#236)
Browse files Browse the repository at this point in the history
* fix(api): update fetch stream url
  • Loading branch information
joe-prosser authored Nov 1, 2023
1 parent 3e94d53 commit 45cb013
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased
- Fix url used for fetching streams
- Return `is_end_sequence` on stream fetch

## v0.20.0

- Add ability to get dataset stats
Expand Down
2 changes: 2 additions & 0 deletions api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,9 @@ impl Endpoints {
"v1",
"datasets",
&stream_name.dataset.0,
"streams",
&stream_name.stream.0,
"fetch",
],
)
}
Expand Down
1 change: 1 addition & 0 deletions api/src/resources/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ pub struct Batch {
pub results: Vec<StreamResult>,
pub filtered: u32,
pub sequence_id: SequenceId,
pub is_end_sequence: bool,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down

0 comments on commit 45cb013

Please sign in to comment.