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. |
Beta Was this translation helpful? Give feedback.
-
Sorry, this is the endpoint |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
I tested on my local environment with your PR and it works. Thanks for the quick PR. |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions