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

Enhancement - make projects endpoints configurable #2028

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kolluria
Copy link

@kolluria kolluria commented Oct 10, 2024

We have GitLab deployed on prem and the URLs are slightly different from what is mentioned in the API specification. For instance, to get a list of projects the user contributed to, instead of invoking https://gitlab.example.com/api/v4/users/5/contributed_projects we have to invoke https://gitlab.example.com/api/v4/users/5/contributed.

This change accommodates these discrepancies by exporting the endpoints so that users can configure then if they so need it.

@kolluria kolluria changed the title Enhancement - make user contributed projects endpoint configurable Enhancement - make user contributed projects endpoint configurable Oct 10, 2024
@kolluria kolluria changed the title Enhancement - make user contributed projects endpoint configurable Enhancement - make projects endpoints configurable Oct 10, 2024
@svanharmelen
Copy link
Member

Hmm... Interesting. Are there any docs that explain why these differences exist and/or describe what differences exist for which endpoints? I.e. are these the only two endpoints that are different?

@kolluria
Copy link
Author

@svanharmelen I might have spoken too soon. I investigated further and turns out some specific endpoints are not working on our on prem deployment like /api/v4/users/5/contributed_projects. Let me probe further and see if this change even makes sense.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants