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

Add pagination endpoint for deployments #14077

Merged
merged 7 commits into from
Jun 18, 2024
Merged

Conversation

pleek91
Copy link
Contributor

@pleek91 pleek91 commented Jun 17, 2024

Description

Adds a new "paginate" endpoint for deployments which follows the same pattern as the new flow and flow run pagination endpoints.

This new deployments/paginate endpoint returns a dictionary like

{
  "results": [...],
  "limit": 200, // returns whatever limit was passed as part of the request or what default limit was used
  "page": 1,
  "pages": 10,
  "count": 100,
}

@pleek91 pleek91 added the enhancement An improvement of an existing feature label Jun 17, 2024
@pleek91 pleek91 requested review from zangell44 and a team as code owners June 17, 2024 15:27
@pleek91 pleek91 added the 3.x label Jun 17, 2024
@chrisguidry chrisguidry requested a review from a team as a code owner June 17, 2024 19:03
@pleek91 pleek91 enabled auto-merge (squash) June 17, 2024 20:16
@pleek91 pleek91 merged commit d615611 into main Jun 18, 2024
26 checks passed
@pleek91 pleek91 deleted the deployment-pagination-endpoint branch June 18, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants