Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greater than/less than filter for eventId in list pipeline events endpoint #3163

Closed
tkyi opened this issue Aug 5, 2024 · 0 comments
Closed
Assignees
Milestone

Comments

@tkyi
Copy link
Member

tkyi commented Aug 5, 2024

What happened:

The way events info surround a specific event is currently displayed requires many calls to GET /pipelines/{pipelineId}/events?count=5&page={page}.

What you expected to happen:

In order to more efficiently display event info on the UI, it would be nice to have the ability to pass in greater than or less than filters for the eventId when fetching pipeline events.

Examples:
GET /v4/pipelines/{pipelineId}/events?id=lt:{eventId}&count=5&sort=ascending (less than)

GET /v4/pipelines/{pipelineId}/events?id=gt:{eventId}&count=5 (greater than)

How to reproduce it:
See API calls for https://cd.screwdriver.cd/pipelines/1/events/811641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant