You need to sign in or sign up before continuing.
API Request : Find a fork by forked project ID
Problem to solve
Given I want to check if I have already forked a GitLab project, as of today, I have to search project by name in my namespace, which is fine for now, but could lead to collisions depending on the project name.
Further details
Being able to find my existing fork giving the project ID I want to fork will secure the result as working with ID avoid any kind of collisions.
Proposal
What does success look like, and how can we measure that?
Success here looks like a new API method which receives a project ID, for which we want to get a fork or a nil
. This should also be a performance improvement compared to search by name and namespace.