GitLab API - Repo Information Show Fork

Is there a way in the API to find whether or not a repo was created from a fork?

I hope I was able to help. If I answered your question, please mark my reply as the solution. Else, provide more information, so we can resolve your problem.

Thanks! It was the “parent_id” attribute I needed.

1 Like