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

Add function to get a users starred projects #2683

Closed
2 tasks done
JulesRenz opened this issue Sep 8, 2022 · 1 comment · Fixed by #2258
Closed
2 tasks done

Add function to get a users starred projects #2683

JulesRenz opened this issue Sep 8, 2022 · 1 comment · Fixed by #2258
Labels
awaiting upstream released This issue/pull request has been released. type:feature Changes add a new feature

Comments

@JulesRenz
Copy link

JulesRenz commented Sep 8, 2022

Description

Today, gitbeaker already has the ability to get a users projects via Gitlab.Users.projects(). This calls the GitLab API endpoint at /users/:user_id/projects, see here

What I miss is the functionality to also get the starred projects of a user, that is expose very similarly by the GitLab API /users/:user_id/starred_projects, see here

Proposal

I propose to implement this as a function Gitlab.Users.starredProjects() very similarly as it is done in Gitlab.Users.projects() but calling the appropriate endpoint /users/:user_id/starred_project instead.
Also, I'm willing to contribute this if you agree, that this is a feature, that should be in gitbeaker

Checklist

  • I have checked that this is not a duplicate issue.
  • I have read the documentation.
@jdalrymple
Copy link
Owner

🚀 Issue was released in 37.0.0 🚀

@jdalrymple jdalrymple added the released This issue/pull request has been released. label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting upstream released This issue/pull request has been released. type:feature Changes add a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants