Skip to content

Commit 28b8059

Browse files
committed
Merge pull request #46 from davidkuridza/feature/add-support-for-project-labels
Add support for /projects/:id/labels
2 parents 544ba36 + db83ad0 commit 28b8059

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ public function events($project_id)
160160
return $this->get('projects/'.urlencode($project_id).'/events');
161161
}
162162

163+
public function labels($project_id)
164+
{
165+
return $this->get('projects/'.urlencode($project_id).'/labels');
166+
}
167+
163168
public function search($query)
164169
{
165170
return $this->get('projects/search/'.urlencode($query));

0 commit comments

Comments
 (0)