Commit 754f0bd0 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'projects-queries-api-v4'

a49b1c22 gitlab: update project methods for API v4
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Brad King's avatarBrad King <brad.king@kitware.com>
Merge-request: !98
parents 40a9c531 a49b1c22
Pipeline #64408 passed with stage
in 0 seconds
......@@ -132,14 +132,7 @@ impl Gitlab {
/// Get all owned projects.
pub fn owned_projects(&self) -> Result<Vec<Project>> {
self._get_paged("projects/owned")
}
/// Get all projects.
///
/// Requires administrator privileges.
pub fn all_projects(&self) -> Result<Vec<Project>> {
self._get_paged("projects/all")
self._get_paged_with_param("projects", &[("owned", "true")])
}
/// Find a project by id.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment