Support for GitLab api v4
dev-rowbot opened this issue · 4 comments
From GitLab 11 support for v3 API has been removed - https://docs.gitlab.com/ee/api/v3_to_v4.html
I hit this issue when attempting to use client.projects.search()
, this fails because searching projects has changed:
- Removed
GET /projects/:search
(use:GET /projects?search=x
)
Hi @dev-rowbot,
I've hit this issue as well. Any luck working around it? We are using node-red-contrib-gitlab and it uses this package to integrate GitLab into NodeRed. Currently, I'm looking for alternatives.
@smorrisfv unfortunately I was I not able to use this package and ending up writing my own gitlab api module. I only needed a small subset of the API though so I just used requests and called the endpoints directly.
@dev-rowbot Is your module available anywhere? In the in term, I ended up creating some simple subflows that wrap HTTP requests that act the same as the models provided in this package. They will work for now until I have time to work out a more permanent solution.
@smorrisfv sorry but its not available anywhere. It's not the entire API so I didn't think it would be of much use to anyone :-)