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 5e50619 commit 3d46851Copy full SHA for 3d46851
lib/Gitlab/Api/Projects.php
@@ -127,6 +127,18 @@ public function remove($project_id)
127
return $this->delete('projects/'.$this->encodePath($project_id));
128
}
129
130
+ /**
131
+ * @param int $project_id
132
+ * @param array $scope
133
+ * @return mixed
134
+ */
135
+ public function builds($project_id, $scope = null)
136
+ {
137
+ return $this->get($this->getProjectPath($project_id, 'builds'), array(
138
+ 'scope' => (array) $scope,
139
+ ));
140
+ }
141
+
142
/**
143
* @param int $project_id
144
* @param string $username_query
0 commit comments