f030ee846e
This change adds POST /projects/fork/:id to the API for forking a project into the namespace of the authenticated user, like the "create fork" link in the GUI does. It also calls the same code. Failure and permission checks (except for conflict) are already implemented and handled in ForkService and the API, so the added code is simple and does not alter anything. |
||
---|---|---|
.. | ||
api.rb | ||
branches.rb | ||
commits.rb | ||
deploy_keys.rb | ||
entities.rb | ||
files.rb | ||
groups.rb | ||
helpers.rb | ||
internal.rb | ||
issues.rb | ||
labels.rb | ||
merge_requests.rb | ||
milestones.rb | ||
namespaces.rb | ||
notes.rb | ||
project_hooks.rb | ||
project_members.rb | ||
project_snippets.rb | ||
projects.rb | ||
repositories.rb | ||
services.rb | ||
session.rb | ||
system_hooks.rb | ||
users.rb |