module Gitlab::Client::Projects
def create_fork(id, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about the forked project.
Options Hash:
(**options)
-
:sudo
(String
) -- The username the project will be forked for
Parameters:
-
options
(Hash
) -- A customizable set of options. -
project
(Integer, String
) -- The ID or path of a project.
def create_fork(id, options = {}) post("/projects/#{url_encode id}/fork", body: options) end