Skip to content

Added more options for deployments endpoint#846

Open
chumanfu wants to merge 2 commits intoGitLabPHP:12.0from
chumanfu:add-more-options-to-deployments
Open

Added more options for deployments endpoint#846
chumanfu wants to merge 2 commits intoGitLabPHP:12.0from
chumanfu:add-more-options-to-deployments

Conversation

@chumanfu
Copy link

As per the docs: https://docs.gitlab.com/api/deployments/#list-project-deployments
I have added the following options for filtering:

  • updated_after
  • updated_before
  • finished_after
  • finished_before

I have also added the sort mode finished_at which needs to be set when filtering by finished_after and finished_before

When looking at the existing test I noticed the tests for project deployments was formatting the date incorrectly. I have updated this and updated the tests.

@stale
Copy link

stale bot commented Mar 7, 2026

This issue has been automatically marked as stale because there has been no recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 7, 2026
@chumanfu
Copy link
Author

chumanfu commented Mar 8, 2026

This is not stale. It just needs a maintainer to have a look.

@stale stale bot removed the stale label Mar 8, 2026
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.

1 participant