Conversation
|
Thanks for tackling this @akhmerov I don't think this is the best way to implement this feature though. I believe that you could use the existing Do you want to have a look at this? |
|
I agree, my PR is mostly to illustrate what is missing, a custom class is a better solution. Unfortunately after looking the codebase and not quite understanding what goes where, I believe it will take me too long time to implement a custom class adhering to the API, sorry. That is unless you have some specific pointers that I could straightforwardly adapt and adjust. |
|
@akhmerov thank you for your answer No problem, I will take care of the implementation of the listing. I didn't want to take other this change before making sure it was OK with you. Thanks again! |
|
Hi, has this feature ever been implemented? Thanks |
|
Yes this has been there since a few years. I guess, we're missing documentation: gl.users.get(<id>).projects.list() |
|
I guess, we have some documentation in the projects api section about it. There is an example: user_project = alice.projects.create({'name': 'project'})
user_projects = alice.projects.list() |
|
Thank you very much Max-wittig |
|
This is incorrect. Creating a project via Edit: never mind, the API I have liked is only for administrators, please ignore this comment. |
This is a proposal for accessing
GET /users/:id/projects. Note that it isn't strictly backwards compatible because I renamedgitlab.user.projectsintogitlab.user.projectand usedgitlab.user.projectsfor the new endpoint.Closes #403