|
|
@ -222,6 +222,12 @@ class Gitlab::Client
|
|
|
|
delete("/projects/#{project}/hooks/#{id}")
|
|
|
|
delete("/projects/#{project}/hooks/#{id}")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Forks a project into the user namespace of the authenticated user.
|
|
|
|
|
|
|
|
# @param [Integer] - The ID of the project to be forked
|
|
|
|
|
|
|
|
def fork(id)
|
|
|
|
|
|
|
|
post("/projects/fork/#{id}")
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# Mark this project as forked from the other
|
|
|
|
# Mark this project as forked from the other
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# @example
|
|
|
|
# @example
|
|
|
|