We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7352540 commit 8e3e3e3Copy full SHA for 8e3e3e3
lib/Gitlab/Api/Groups.php
@@ -24,4 +24,9 @@ public function create($name, $path)
24
'path' => $path
25
));
26
}
27
+
28
+ public function transfer($id, $project_id)
29
+ {
30
+ return $this->post('groups/'.urlencode($id).'/projects/'.urlencode($project_id));
31
+ }
32
lib/Gitlab/Model/Group.php
@@ -49,4 +49,11 @@ public function show()
49
50
return Group::fromArray($this->getClient(), $data);
51
52
53
+ public function transfer($project_id)
54
55
+ $data = $this->api('groups')->transfer($this->id, $project_id);
56
57
+ return Group::fromArray($this->getClient(), $data);
58
59
0 commit comments