diff --git a/src/Api/Projects.php b/src/Api/Projects.php index 32aa168a..c23443c5 100644 --- a/src/Api/Projects.php +++ b/src/Api/Projects.php @@ -1280,4 +1280,14 @@ public function search(int|string $id, array $parameters = []): mixed return $this->get('projects/'.self::encodePath($id).'/search', $resolver->resolve($parameters)); } + + public function remoteMirrors(int|string $project_id): mixed + { + return $this->get('projects/'.self::encodePath($project_id).'/remote_mirrors'); + } + + public function remoteMirror(int|string $project_id, int $mirror_id): mixed + { + return $this->get('projects/'.self::encodePath($project_id).'/remote_mirrors/'.self::encodePath($mirror_id)); + } }