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

MergeRequest API - invalid option for approved_by_ids #617

Closed
enp-bwrona opened this issue Jan 24, 2021 · 3 comments
Closed

MergeRequest API - invalid option for approved_by_ids #617

enp-bwrona opened this issue Jan 24, 2021 · 3 comments
Labels

Comments

@enp-bwrona
Copy link

https://docs.gitlab.com/ee/api/merge_requests.html#list-project-merge-requests

approved_by_ids | integer array | no | Returns merge requests which have been approved by all the users with the given ids (Max: 5). None returns merge requests with no approvals. Any returns merge requests with an approval.

approved_by_ids should accept "none" and "any" values. Not just array.

@GrahamCampbell
Copy link
Member

Do they mean to pass the literal string values None and Any?

@enp-bwrona
Copy link
Author

enp-bwrona commented Jan 24, 2021

Yes, you can pass None, Any or array of integers

@enp-bwrona enp-bwrona changed the title MergeRequest API - inwavalid option for approved_by_ids MergeRequest API - invalid option for approved_by_ids Jan 25, 2021
@stale
Copy link

stale bot commented May 27, 2021

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 May 27, 2021
@stale stale bot closed this as completed Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants