Deployment approve/reject via python api supported? #2252
Replies: 4 comments 3 replies
|
Would be useful to have a link to the upstream GitLab API docs for what is missing. Thanks. |
|
Sorry, this is the endpoint |
|
So it looks like it is this API: And it doesn't look like there is any support for that yet in: Implementing it will look similar to how the "approve" method is done for a merge request. python-gitlab/gitlab/v4/objects/merge_requests.py Lines 263 to 290 in f67514e |
|
I tested on my local environment with your PR and it works. Thanks for the quick PR. |
Uh oh!
There was an error while loading. Please reload this page.
I was playing with deployment and gitlab python library, and notice there's no method to approve or reject a deployment? i was able to do it via REST API from my python code, but not via the python wrapper. I'm using 3.8.1 of the gitlab python library.
All reactions