File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -717,4 +717,24 @@ public function deployment($project_id, $deployment_id)
717
717
{
718
718
return $ this ->get ($ this ->getProjectPath ($ project_id , 'deployments/ ' .$ this ->encodePath ($ deployment_id )));
719
719
}
720
+
721
+ /**
722
+ * @param mixed $project_id
723
+ * @param array $params
724
+ * @return mixed
725
+ */
726
+ public function addShare ($ project_id , array $ params = array ())
727
+ {
728
+ return $ this ->post ($ this ->getProjectPath ($ project_id , 'share ' ), $ params );
729
+ }
730
+
731
+ /**
732
+ * @param mixed $project_id
733
+ * @param int $group_id
734
+ * @return mixed
735
+ */
736
+ public function removeShare ($ project_id , $ group_id )
737
+ {
738
+ return $ this ->delete ($ this ->getProjectPath ($ project_id , 'services/ ' .$ group_id ));
739
+ }
720
740
}
You can’t perform that action at this time.
0 commit comments