Skip to content

List the events of a chart - #284

Merged
mroloux merged 1 commit into
masterfrom
matti/seats-1872-list-the-events-of-a-chart-in-the-sdks
Oct 28, 2026
Merged

mroloux merged 1 commit into
masterfrom
matti/seats-1872-list-the-events-of-a-chart-in-the-sdks

Conversation

@mroloux

@mroloux mroloux commented Oct 28, 2026

Copy link
Copy Markdown
Member

https://linear.app/seatsio/issue/SEATS-1872/list-the-events-of-a-chart-in-the-sdks

Issue: The API can now list a chart's events, paginated (GET /charts/{chartKey}/events, SEATS-1866), but the SDK can't call it.

Fix: Add client.charts.events(chartKey), which lists a chart's events newest first and pages through them like list events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 08:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the chart-events SDK addition.

No open issues 🎉

What changed in this PR

Adds client.charts.events(chartKey) to the Java SDK, exposing the chart-events endpoint through the existing pagination utilities.

Changes:

  • Returns a Lister<Event> for events belonging to a chart.
  • Adds tests for chart filtering, newest-first ordering, and cursor-based pagination.
File Description
src/​test/​java/​seatsio/​charts/​ListEventsOfChartTest.java Tests filtering, ordering, and pagination of chart events.
src/​main/​java/​seatsio/​charts/​Charts.java Adds the events(chartKey) method using Lister and PageFetcher.

Review effort: Balanced

@mroloux
mroloux marked this pull request as ready for review October 28, 2026 08:57
@mroloux
mroloux requested a review from a team as a code owner October 28, 2026 08:57
@mroloux
mroloux merged commit be36cce into master Oct 28, 2026
3 checks passed
@mroloux
mroloux requested review from bverbeken and schaloner and removed request for a team October 28, 2026 08:57
@mroloux
mroloux deleted the matti/seats-1872-list-the-events-of-a-chart-in-the-sdks branch October 28, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants